aboutsummaryrefslogtreecommitdiff
path: root/src/client/renderingengine.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix Android blank screen (#12604)ROllerozxa2022-07-311-0/+4
| | | | Hardcode the variables to 0 on Android
* Enforce limits of settings that could cause buggy behaviour (#12450)SmallJoker2022-07-091-5/+6
| | | Enforces the setting value bounds that are currently only limited by the GUI (settingtypes.txt).
* Remove remains of video mode queryingsfan52022-05-291-15/+0
|
* Make logging cost free when there is no output target (#12247)paradust72022-05-041-1/+1
| | | | | 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-261-3/+3
|
* Fix trivial typossfan52021-09-191-1/+1
|
* Remove unused header includeshecks2021-07-211-1/+0
|
* Fix build on Ubuntu 16.04 and macOSsfan52021-07-121-6/+6
| | | | | | 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-111-21/+8
| | | Co-authored-by: hecktest <>
* Remove unsupported video drivers (#11395)hecks2021-06-301-31/+23
| | | 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-161-77/+1
| | | | These have been pointless for a while.
* fix: some code tidy about includes & irr namespacesLoic Blot2021-05-031-1/+1
|
* refacto: remove get_gui_env & draw_load_screen from RenderingEngine singletonLoic Blot2021-05-031-1/+1
|
* refacto: RenderingEngine is now better hiddenLoic Blot2021-05-031-6/+6
| | | | | | | | | | * 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-031-1/+6
| | | | This permit cleaner access to meshCache and ensure we don't access to it from all the code
* refacto: add RenderingEngine::cleanupMeshCacheLoic Blot2021-05-031-0/+9
| | | | This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
* GLES fixes (#11205)sfan52021-04-181-0/+4
| | | | | * Consistently set float precision for GLES * Enable DPI scaling on Windows+GLES
* Enable Irrlicht debug logging with --tracesfan52021-03-121-0/+2
|
* Restore Irrlicht 1.9 supportsfan52021-03-091-0/+2
|
* Fix memory leak detected by address sanitizer (#10896)k.h.lai2021-02-021-1/+1
|
* Android: add OpenGL ES 2 support (#9715)Maksim2020-04-221-5/+2
| | | .. and bump gradle to 3.6.3
* Implement DPI scaling for Windows (#9586)sfan52020-04-111-17/+60
|
* Overall improvements to log messages (#9598)sfan52020-04-081-18/+2
| | | | 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-041-1/+6
|
* Add styles to most elementsrubenwardy2019-08-031-8/+8
|
* Add custom colorable GUIButton implementationrubenwardy2019-08-031-17/+47
|
* Fix crash if display resolution is not set (#7950)Martin Renold2018-12-081-12/+9
| | | | 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-171-7/+104
| | | | | | 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-111-0/+15
|
* [CSM] Add basic HUD manipulation. (#6067)red-0012018-01-201-1/+1
| | | | | | * [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-131-0/+20
| | | | | | | | | | | | | | * 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-311-558/+21
| | | | | | | | | | | | * Clean draw_*() arguments * Split rendering core * Add anaglyph 3D * Interlaced 3D * Drop obsolete methods
* Initial Haiku support (#6568)miqlas2017-10-301-1/+2
| | | | * Iitial Haiku support
* Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot2017-10-091-8/+21
| | | | * Update clang from 4.0 to 5.0
* Cleanup various headers to reduce compilation times (#6255)Loïc Blot2017-08-161-0/+2
| | | | * Cleanup various headers to reduce compilation times
* Modernize client code (#6250)Loïc Blot2017-08-151-2/+1
| | | | | | | | * 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-261-0/+1072
* 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