summaryrefslogtreecommitdiff
path: root/src/client/renderingengine.cpp
Commit message (Collapse)AuthorAge
* Make logging cost free when there is no output target (#12247)paradust72022-05-04
| | | | | The logging streams now do almost no work when there is no output target for them. For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing.
* Touch UI support for desktop builds (#10729)TheBrokenRail2021-09-26
|
* Fix trivial typossfan52021-09-19
|
* Remove unused header includeshecks2021-07-21
|
* Fix build on Ubuntu 16.04 and macOSsfan52021-07-12
| | | | | | Apparently the C++ standard library is supposed to provide specializations of std::hash for enums (even in C++11) but those don't always work for whatever reason.
* Refactor video driver name retrieval (#11413)hecks2021-07-11
| | | Co-authored-by: hecktest <>
* Remove unsupported video drivers (#11395)hecks2021-06-30
| | | This completely removes any mention of the software and D3D drivers from MT, preventing the user from accidentally attempting to use them. Users who need a software renderer should be asked to install Mesa drivers which offer superior fidelity and performance over the 'burningsvideo' driver.
* Drop --videomodes, fullscreen_bpp and high_precision_fpu settingssfan52021-06-16
| | | | These have been pointless for a while.
* fix: some code tidy about includes & irr namespacesLoic Blot2021-05-03
|
* refacto: remove get_gui_env & draw_load_screen from RenderingEngine singletonLoic Blot2021-05-03
|
* refacto: RenderingEngine is now better hiddenLoic Blot2021-05-03
| | | | | | | | | | * No more access to the singleton instance from everywhere (RenderingEngine::get_instance dropped) * RenderingEngine::get_timer_time is now non static * RenderingEngine::draw_menu_scene is now non static * RenderingEngine::draw_scene is now non static * RenderingEngine::{initialize,finalize} are now non static * RenderingEngine::run is now non static * RenderingEngine::getWindowSize now have a static helper. It was mandatory to hide the global get_instance access
* refacto: hide mesh_cache inside the rendering engineLoic Blot2021-05-03
| | | | This permit cleaner access to meshCache and ensure we don't access to it from all the code
* refacto: add RenderingEngine::cleanupMeshCacheLoic Blot2021-05-03
| | | | This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
* GLES fixes (#11205)sfan52021-04-18
| | | | | * Consistently set float precision for GLES * Enable DPI scaling on Windows+GLES
* Enable Irrlicht debug logging with --tracesfan52021-03-12
|
* Restore Irrlicht 1.9 supportsfan52021-03-09
|
* Fix memory leak detected by address sanitizer (#10896)k.h.lai2021-02-02
|
* Android: add OpenGL ES 2 support (#9715)Maksim2020-04-22
| | | .. and bump gradle to 3.6.3
* Implement DPI scaling for Windows (#9586)sfan52020-04-11
|
* Overall improvements to log messages (#9598)sfan52020-04-08
| | | | Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places.
* Unify OpenGL ES supportsfan52019-08-04
|
* Add styles to most elementsrubenwardy2019-08-03
|
* Add custom colorable GUIButton implementationrubenwardy2019-08-03
|
* Fix crash if display resolution is not set (#7950)Martin Renold2018-12-08
| | | | On my wayland / gnome3 setup DisplayHeightMM() returns 0. This resulted in a misleading startup error suggesting to fix my font paths.
* Provide Xorg/net wm process ID (#7445)thoughtjigs2018-06-17
| | | | | | Adding support for _NET_WM_PID as defined in Extended Window Manager Hints Move verbose messaging to setupXorgTopLevelWindow method as Xorg messages should only occur when running in Xorg env. Irrlicht returns the XDisplay as a void* and XWindow as an unsigned long so reinterpret those as the appropriate type. Also fixed a spaces for tab formating issue
* Android build fixes for c++11stujones112018-03-11
|
* [CSM] Add basic HUD manipulation. (#6067)red-0012018-01-20
| | | | | | * [CSM] Add basic HUD manipulation. Workaround for on_connect not working right now.
* Add confirmation on new player registration (#6849)Muhammad Rifqi Priyo Susanto2018-01-13
| | | | | | | | | | | | | | * Attempt to add registration confirmation Using SRP auth mechanism, if server sent AUTH_MECHANISM_FIRST_SRP that means the player isn't exist. Also tell player about the server and chosen username. Local game has localhost as IP address of the server. Add RenderingEngine::draw_menu_scene() to draw GUI and clouds background. aborted -> connection_aborted * Rewrite information message text Client::promptConfirmRegister() -> Client::promptConfirmRegistration()
* Rewrite rendering engine (#6253)Vitaliy2017-10-31
| | | | | | | | | | | | * Clean draw_*() arguments * Split rendering core * Add anaglyph 3D * Interlaced 3D * Drop obsolete methods
* Initial Haiku support (#6568)miqlas2017-10-30
| | | | * Iitial Haiku support
* Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot2017-10-09
| | | | * Update clang from 4.0 to 5.0
* Cleanup various headers to reduce compilation times (#6255)Loïc Blot2017-08-16
| | | | * Cleanup various headers to reduce compilation times
* Modernize client code (#6250)Loïc Blot2017-08-15
| | | | | | | | * Various code style fixes * Use range based for loops * Use empty instead of empty objects * Use C++11 default keyword for trivial constructors and destructors * Drop some useless casts * Use emplace_back instead of push_back to improve performance of some vectors push
* Isolate irrlicht references and use a singleton (#6041)Loïc Blot2017-06-26
* 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