minetest/src/client
David Heidelberg eb52a149a0
Enable IPO/LTO by default except for debug builds (#14198)
Test case:

```
$ cmake . -DRUN_IN_PLACE=TRUE -DCMAKE_BUILD_TYPE=Release -DBUILD_SERVER=TRUE -DENABLE_TOUCH=FALSE

         minetest minetestserver
W/o LTO:      13M           7.3M
W/  LTO:      11M           5.9M
difference:   15%            19%
```

Also fixes various compiler warnings resulting from compilation using LTO.

---------

Signed-off-by: David Heidelberg <david@ixit.cz>
2024-02-09 00:01:12 +01:00
..
meshgen Delete clang-format files and comments (#14079) 2023-12-15 10:23:44 +01:00
render Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
shadows Code style: Use non-static member initialisation instead of member initialiser lists for shader uniform names 2024-01-11 20:04:42 +01:00
sound Use AL_SOFT_direct_channels_remix extension for non-positional stereo sounds (#14195) 2024-01-03 21:57:00 +01:00
activeobjectmgr.cpp Custom data structure for active objects to get performance *and* safety (#13880) 2024-01-17 20:04:56 +01:00
activeobjectmgr.h ActiveObjectMgr fixes (#13560) 2023-10-09 17:13:04 +02:00
camera.cpp Allow setting custom third person front view camera offset (#13686) 2023-10-02 13:44:03 +02:00
camera.h Replace Optional with std::optional 2023-06-15 10:38:44 +02:00
client.cpp Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
client.h Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
clientenvironment.cpp Tool specific pointing and blocking pointable type (#13992) 2024-01-22 18:27:08 +01:00
clientenvironment.h Tool specific pointing and blocking pointable type (#13992) 2024-01-22 18:27:08 +01:00
clientevent.h No damage effects on hp_max change (#11846) 2022-06-11 20:00:40 +02:00
clientlauncher.cpp Move some files to src/server/ 2024-01-27 10:33:32 +01:00
clientlauncher.h Drop speed tests and some other unused code from clientlauncher.cpp 2024-01-23 22:34:36 +01:00
clientmap.cpp Slight optimizations in ClientMap (#14251) 2024-01-12 16:53:08 -08:00
clientmap.h Replace clientmap's MeshBufListList with a hashmap 2024-01-03 21:56:38 +01:00
clientmedia.cpp Bypass media transfer in single player 2024-02-04 21:23:05 +01:00
clientmedia.h Bypass media transfer in single player 2024-02-04 21:23:05 +01:00
clientobject.cpp ActiveObjectMgr fixes (#13560) 2023-10-09 17:13:04 +02:00
clientobject.h ActiveObjectMgr fixes (#13560) 2023-10-09 17:13:04 +02:00
clientsimpleobject.h Move clientsimpleobject.h to client folder (#9630) 2020-04-10 20:10:51 +02:00
clouds.cpp Allow fog color to be overriden properly (#14296) 2024-01-23 22:33:33 +01:00
clouds.h Allow resetting celestial vault elements by leaving its arguments empty (#11922) 2022-01-22 12:42:49 +01:00
CMakeLists.txt Use AL_SOFT_direct_channels_remix extension for non-positional stereo sounds (#14195) 2024-01-03 21:57:00 +01:00
content_cao.cpp Tool specific pointing and blocking pointable type (#13992) 2024-01-22 18:27:08 +01:00
content_cao.h Tool specific pointing and blocking pointable type (#13992) 2024-01-22 18:27:08 +01:00
content_cso.cpp Fixes and improvements 2023-07-20 22:15:47 +02:00
content_cso.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
content_mapblock.cpp Add rotation support for wallmounted nodes in 'ceiling' or 'floor' mode (#11073) 2024-01-17 17:47:06 +01:00
content_mapblock.h MapblockMeshGenerator: Use more verbose member names (#13244) 2023-10-04 00:28:43 +02:00
event_manager.h Darwin platform build fix (#10376) 2020-09-09 19:12:03 +02:00
filecache.cpp Bypass media transfer in single player 2024-02-04 21:23:05 +01:00
filecache.h Bypass media transfer in single player 2024-02-04 21:23:05 +01:00
fontengine.cpp Enforce limits of settings that could cause buggy behaviour (#12450) 2022-07-09 22:32:08 +02:00
fontengine.h Fully remove bitmap font support (#11863) 2022-01-08 14:53:25 +01:00
game.cpp Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
game.h Rework client connecting and enable fallback address use 2024-01-07 21:49:05 +01:00
gameui.cpp Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
gameui.h Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
guiscalingfilter.cpp Formspec: prevent infinite loop caused by negative background9[] size (#13624) 2023-07-07 21:42:10 +02:00
guiscalingfilter.h FormSpec: 9-slice images, animated_images, and fgimg_middle (#12453) 2022-07-03 08:52:26 -04:00
hud.cpp Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
hud.h TouchScreenGUI: Fix only 9 hotbar slots being usable (#13698) 2023-08-24 17:45:51 +02:00
imagefilters.cpp Code optimizations / refactor (#12704) 2022-09-06 11:21:09 +01:00
imagefilters.h Enable cleanTransparent filter for mipmapping and improve its' algorithm (#11145) 2021-04-20 19:50:19 +02:00
inputhandler.cpp Fix some memory leaks and code style issues 2023-07-14 21:00:29 +07:00
inputhandler.h TouchScreenGUI: Read coordinates directly for virtual joystick (#13567) 2023-06-16 22:40:16 +07:00
joystick_controller.cpp Fix typos and en_US/en_GB inconsistency in various files (#12902) 2022-11-09 11:57:19 -05:00
joystick_controller.h Simulate all keys being released when when game loses focus (#13336) 2023-04-13 18:06:21 +02:00
keycode.cpp Fix issues in Minetest's English texts (#13913) 2023-10-29 12:24:39 +01:00
keycode.h Revert "Don't trigger a key event if a key with the same associated char was pressed (#13773)" 2023-10-30 21:23:59 +01:00
keys.h Add a key to toggle map block bounds (#11172) 2021-04-20 19:23:31 +02:00
localplayer.cpp New physics overrides (#11465) 2023-09-15 20:10:08 +02:00
localplayer.h Method add_pos for object/player (#14126) 2024-01-01 22:48:56 +01:00
mapblock_mesh.cpp Fix -Wmissing-braces warnings in mapblock_mesh.cpp 2023-09-09 18:48:56 +02:00
mapblock_mesh.h Remove fast faces (#13216) 2023-04-08 20:17:15 +02:00
mesh_generator_thread.cpp Remove unused meshgen_block_cache_size setting 2024-01-19 11:52:39 +01:00
mesh_generator_thread.h Remove unused meshgen_block_cache_size setting 2024-01-19 11:52:39 +01:00
mesh.cpp Return texture filter settings to previous state 2023-11-29 21:09:21 +01:00
mesh.h Clean up texture filtering settings (#13683) 2023-08-24 10:50:47 +02:00
minimap.cpp Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
minimap.h Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
mtevent.h Move mtevent.h to src/client/ 2024-01-26 22:10:36 +01:00
particles.cpp Enable IPO/LTO by default except for debug builds (#14198) 2024-02-09 00:01:12 +01:00
particles.h Resolves some warnings for Android version (#13862) 2023-11-05 19:02:01 +01:00
renderingengine.cpp Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
renderingengine.h Move hard coded minimap to builtin (#14071) 2024-02-07 20:13:23 +01:00
shader.cpp Return to the main menu if a shader compilation fails (#14256) 2024-01-19 11:51:46 +01:00
shader.h Use nicer syntax for nested namespace definitions 2023-06-15 10:38:44 +02:00
sky.cpp Fixes and improvements 2023-07-20 22:15:47 +02:00
sky.h Allow fog color to be overriden properly (#14296) 2024-01-23 22:33:33 +01:00
sound.cpp Add sound volume when unfocused setting (#14083) 2023-12-10 19:11:39 +01:00
sound.h Add sound volume when unfocused setting (#14083) 2023-12-10 19:11:39 +01:00
tile.cpp Performance: Limit blitting work to overlapping area 2024-01-28 13:01:54 +01:00
tile.h Rename SMaterial::TextureLayer -> SMaterial::TextureLayers 2023-07-20 22:15:47 +02:00
wieldmesh.cpp Return texture filter settings to previous state 2023-11-29 21:09:21 +01:00
wieldmesh.h Refactor the way you set material properties 2023-07-20 22:15:47 +02:00