aboutsummaryrefslogtreecommitdiff
path: root/src/clouds.cpp
Commit message (Collapse)AuthorAge
* Move client-specific files to 'src/client' (#7902)Quentin Bazin2018-11-28
| | | | | Update Android.mk Remove 'src/client' from include_directories
* Modernize code: very last fixes (#6290)Loïc Blot2017-08-20
| | | Last modernization fixes
* clientobject, clouds, collision, clientsimpleobject: code modernization (#6260)Loïc Blot2017-08-17
| | | | | | | | | | | | * clientobject, clouds, collision, clientsimpleobject: code modernization * use range-based for loops * simplify some tests * various code style fixes * use emplace_back instead of push_back when necessary * use auto on some iterators * use default operator when needed * unroll v3s16 creation on collisionMoveSimple
* Remove cloud_height settingBen Deutsch2017-08-12
| | | | | | With the cloud API, the cloud_height setting has become obsolete and replaceable by a mod. It, and supporting code, can be removed.
* Fog effect when camera is inside cloudBen Deutsch2017-07-05
| | | | | | | | | | | | | | | | | | Fixes issue #3576 * Clouds now take camera position as 3D, not 2D * Cloud grid filling extracted to gridFilled method * Clouds detect whether camera is inside cloud * Camera in cloud changes fog by overriding sky colors with cloud color * Sun, moon and stars can be temporarily disabled with setBodiesVisible * Disabling fog also disables all "inside cloud" behaviors
* 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
* C++11 patchset 9: move hardcoded init parameters to class definitions (part ↵Loïc Blot2017-06-16
| | | | | | | | | | | | | | | | | | | | | | | | 1) (#5984) * C++11 patchset 9: move hardcoded init parameters to class definitions C++11 introduced the possibility to define the default values directly in class definitions, do it on current code Also remove some unused attributes * CollisionInfo::bouncy * collisionMoveResult::collides_xy * collisionMoveResult::standing_on_unloaded * Clouds::speed * More constructor cleanups + some variables removal * remove only write guiFormSpecMenu::m_old_tooltip * move header included inside defintions in genericobject.h * remove some unused since years exception classes * remove unused & empty debug_stacks_init * remove unused & empty content_nodemeta_serialize_legacy * remove forgotten useless bool (bouncy) in collision.cpp code
* Clouds API: Fix yellow clouds at dawn and dusk (#5707)Paramat2017-05-05
|
* Clouds: Fix reddish clouds. Add missing alpha updateparamat2017-05-04
| | | | | Fix accidental swap of red and blue components that caused reddish clouds Add missing update of alpha in remoteplayer.cpp
* Add clouds APIBen Deutsch2017-04-30
|
* v2d & aabbox3d<f32> & sky cleanupsnerzhul2016-02-11
| | | | | * Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
* Settings: pass name to callbacks by referenceest312015-07-09
| | | | Spare some copies.
* Update clouds enable_3d_clouds when setting changedest312015-07-09
|
* Cache enable_3d_clouds flagest312015-05-04
| | | | Small improvement on clouds rendering performance
* Clouds: Make cloud area radius settable in .confparamat2015-05-04
|
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-01
| | | | | | | | | | | | Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
* Improve Clouds::render mathematicsLoic Blot2015-03-07
|
* Refactor decoration-related codekwolekr2014-10-29
| | | | | Split up ModApiMapgen::l_register_decoration() Define and make use of CONTAINS() and ARRLEN() macros
* Fix rendering glitches when far from the center of the mapNovatux2014-03-04
|
* Add cloud menu background by Krisi, configurable with the menu_clouds option.ShadowNinja2013-03-13
| | | | | Also add a menuheader, menusplash, menufooter_clouds, and allow HD menu footers. And finally don't git-ignore textures/base/.
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Make cloud height user-configurablekwolekr2013-01-21
|
* Clean and optimize clouds.cpp enough to not really contain any of the small ↵Perttu Ahola2012-06-05
| | | | amount of non-LGPLv2/later code left
* Dynamic sky, fog and cloud colors; sun and moonPerttu Ahola2012-03-18
|
* Clean up log messages everywherePerttu Ahola2012-03-11
|
* Add 3d cloud checkbox in main menu (and rename setting from enable_2d_clouds ↵Perttu Ahola2011-11-02
| | | | to enable_3d_clouds)
* Add enable_2d_clouds setting for usage on lower-end machinesPerttu Ahola2011-10-18
|
* Improve rendering and fix tiling in mesh generationPerttu Ahola2011-10-18
|
* * by popular request, fewer cloudsNils Dagsson Moskopp2011-07-20
|
* + fake shading for the volumetric cloudsNils Dagsson Moskopp2011-07-19
|
* + volumetric clouds (thanks teddydestodes)Nils Dagsson Moskopp2011-07-18
|
* Added an experimental "far view" thing. Doesn't work exactly like it should ↵Perttu Ahola2011-06-07
| | | | and not suitable for real use yet, and might never be.
* random comment updatesPerttu Ahola2011-04-30
|
* Tweaked clouds a bitPerttu Ahola2011-04-29
|
* added cloudsPerttu Ahola2011-04-29