Loïc Blot b3a36f7378 Isolate irrlicht references and use a singleton (#6041)
* Add Device3D class which will contain IrrlichtDevice interface

move getSupportedVideoDrivers to Device3D

Add Device3D singleton & use it in various places

Rename Device3D to Rendering engine & add helper functions to various device pointers

More singleton work

RenderingEngine owns draw_load_screen

move draw functions to RenderingEngine

Reduce IrrlichtDevice exposure and guienvironment

RenderingEngine: Expose get_timer_time() to remove device from guiEngine

Make irrlichtdevice & scene manager less exposed

* Code style fixes

* Move porting::getVideoDriverName, getVideoDriverFriendlyName, getDisplayDensity, getDisplaySize to RenderingEngine

Fix XORG_USED macro -> RenderingEngine + create_engine_device from RenderingEngine constructor directly

* enum paralax => enum parallax
2017-06-26 20:11:17 +02:00
..
2017-06-22 13:20:20 +02:00
2017-06-17 19:11:28 +02:00
2017-04-30 00:06:13 +01:00
2017-04-23 14:35:08 +02:00
2017-04-23 14:35:08 +02:00
2017-06-26 20:03:48 +02:00
2017-06-17 19:11:28 +02:00
2015-08-25 18:33:52 -04:00
2016-12-20 17:17:38 +10:00
2015-12-07 13:51:41 -05:00
2015-10-26 15:14:22 +01:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-04-08 18:39:15 -07:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2016-12-28 14:16:39 -08:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-25 05:01:50 +01:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-02-08 00:15:55 +01:00
2017-05-10 15:29:21 +02:00
2016-06-11 23:35:17 +01:00
2016-05-01 15:32:02 +02:00
2015-12-07 13:51:41 -05:00
2015-12-07 13:51:41 -05:00
2017-01-04 19:18:40 +01:00
2017-01-04 19:18:40 +01:00
2017-05-10 15:29:21 +02:00
2017-03-18 12:37:57 +01:00
2017-03-18 12:37:57 +01:00
2017-06-14 17:21:08 +02:00
2017-06-11 13:58:26 +02:00
2017-01-18 23:21:01 +01:00