minetest/src
Loïc Blot 5cc06e4748
Reduce ServerEnvironment propagation (#9642)
ServerEnvironment is a huge class with many accessors. In various places it's not needed

Remove it to reduce the ServerEnvironment view.

Idea here is to reduce size of some of our objects to transport lightweight managers and permit easier testing

Pathfinder is now tied to a generic map, not a ServerMap, it can be
ported to client
2020-04-11 19:59:43 +02:00
..
client Use TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639) 2020-04-11 13:45:14 +02:00
content Overall improvements to log messages (#9598) 2020-04-08 20:13:23 +02:00
database Move PlayerSAO to dedicated files 2020-04-11 16:07:17 +02:00
gui Formspec: No spec ID for static text labels 2020-04-11 15:31:02 +02:00
irrlicht_changes StaticText: Reset background on EnrichedString change (#9340) 2020-02-01 20:41:32 +01:00
mapgen Reduce ServerEnvironment propagation (#9642) 2020-04-11 19:59:43 +02:00
network Move PlayerSAO to dedicated files 2020-04-11 16:07:17 +02:00
script Reduce ServerEnvironment propagation (#9642) 2020-04-11 19:59:43 +02:00
server Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
threading Optimize semaphore wait with zero timeout on POSIX 2019-11-14 20:20:14 +01:00
unittest Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
util GUIHyperText: Fix bug with UTF8 chars in action name + simplify UTF8 stringw conversion (#9437) 2020-03-07 14:01:11 +01:00
CMakeLists.txt Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
activeobject.h Drop genericobject.{cpp,h} (#9629) 2020-04-10 19:49:20 +02:00
activeobjectmgr.h Add an activeobject manager to hold active objects (#7939) 2018-12-13 20:18:54 +01:00
ban.cpp Add unittests on ActiveObject and BanManager class (#6866) 2018-01-01 18:48:52 +01:00
ban.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
chat.cpp Fix last performance-type-promotion-in-math-fn problems 2018-04-04 07:42:40 +02:00
chat.h Fix last performance-type-promotion-in-math-fn problems 2018-04-04 07:42:40 +02:00
chat_interface.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
chatmessage.h Travis: Update clang from 4.0 to 5.0 (#6467) 2017-10-09 11:32:06 +02:00
clientiface.cpp Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
clientiface.h Fix the player information version_string return value (#8616) 2019-12-20 19:16:29 +01:00
cloudparams.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
cmake_config.h.in Let ENABLE_GLES appear in cmake_config.h and change its functionality 2019-08-04 16:12:52 +02:00
cmake_config_githash.h.in C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
collision.cpp Move serveractiveobject & unitsao 2020-04-11 16:07:17 +02:00
collision.h Collision various fixes (#9343) 2020-04-08 22:45:05 +02:00
config.h Update version correctly again (#6462) 2017-09-26 20:30:42 +02:00
constants.h Change some rough/inappropriate language in comments (#9061) 2019-10-24 01:17:00 +01:00
content_mapnode.cpp Modernize src/c* src/d* and src/e* files (#6263) 2017-08-17 23:02:50 +02:00
content_mapnode.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
content_nodemeta.cpp C++11 patchset 9: move hardcoded init parameters to class definitions (part 1) (#5984) 2017-06-16 11:25:52 +02:00
content_nodemeta.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
convert_json.cpp Add online content repository 2018-04-19 20:14:53 +01:00
convert_json.h Update JsonCPP to 1.8.3 (#6466) 2017-09-26 20:30:14 +02:00
craftdef.cpp Overall improvements to log messages (#9598) 2020-04-08 20:13:23 +02:00
craftdef.h Clean up craft replacements docs 2019-12-07 23:46:24 +01:00
daynightratio.h Make natural night light as bright as MT 0.4.16 (#9053) 2019-10-18 21:54:44 +01:00
debug.cpp Fix some misspellings (#8104) 2019-01-16 13:39:13 +01:00
debug.h Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
defaultsettings.cpp Allow relative directories for `screenshot_path`, tweak default path (#9122) 2020-04-06 16:54:12 +02:00
defaultsettings.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
emerge.cpp Move serveractiveobject & unitsao 2020-04-11 16:07:17 +02:00
emerge.h EmergeManager::initMapgens use FATAL_ERROR if and drop boolean return 2019-03-31 20:49:39 +02:00
environment.cpp Move serveractiveobject & unitsao 2020-04-11 16:07:17 +02:00
environment.h scriptapi: Sort out ServerEnvironment / Environment distinction properly 2020-04-11 13:12:51 +02:00
event.h event.h: Fix import GCC warning caused by ce87310 2018-03-31 14:33:54 +02:00
exceptions.h Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
face_position_cache.cpp Modernize various files 2017-08-18 07:44:52 +02:00
face_position_cache.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
filesys.cpp Fix a stringop-truncation GCC warning 2018-12-04 12:39:19 +01:00
filesys.h Load files from subfolders in texturepacks 2017-11-17 19:23:08 +00:00
gamedef.h Client eventmanager refactor (#7179) 2018-03-30 18:32:52 +02:00
gameparams.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
gettext.cpp Modernize various files 2017-08-18 07:44:52 +02:00
gettext.h Fix segfault caused by wrong wgettext() 2018-04-09 16:25:57 +02:00
gettime.h Allow customizing chat message format (#8529) 2019-08-08 17:04:46 +01:00
httpfetch.cpp httpfetch: Disable IPv6 here too if requested by settings (#8399) 2019-03-18 15:06:27 +01:00
httpfetch.h Travis: Update clang from 4.0 to 5.0 (#6467) 2017-10-09 11:32:06 +02:00
hud.cpp Add z-index management to HUD 2019-12-06 20:31:26 +00:00
hud.h Add z-index management to HUD 2019-12-06 20:31:26 +00:00
inventory.cpp Inventory: Properly revert client predictions (#8945) 2019-09-18 18:47:09 +02:00
inventory.h Inventory: Properly revert client predictions (#8945) 2019-09-18 18:47:09 +02:00
inventorymanager.cpp Move serveractiveobject & unitsao 2020-04-11 16:07:17 +02:00
inventorymanager.h InventoryManager: Fix virtual function overload warning 2019-09-09 20:35:45 +02:00
irr_aabb3d.h Revert 6587 - Optimize entity-entity collision (#7539) 2018-07-08 21:30:55 +01:00
irr_ptr.h Add Irrlicht-specific smart pointer (#6814) 2019-04-12 17:27:39 +01:00
irr_v2d.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irr_v3d.h Revert 6587 - Optimize entity-entity collision (#7539) 2018-07-08 21:30:55 +01:00
irrlichttypes.h Fix Android build (#7873) 2018-11-18 11:48:16 +01:00
irrlichttypes_bloated.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irrlichttypes_extrabloated.h Use true pitch/yaw/roll rotations without loss of precision by pgimeno (#8019) 2019-02-07 21:26:06 +00:00
itemdef.cpp Overall improvements to log messages (#9598) 2020-04-08 20:13:23 +02:00
itemdef.h Overlays for wield and inventory images (#6107) 2017-08-25 13:20:53 +02:00
itemgroup.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
itemstackmetadata.cpp Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
itemstackmetadata.h Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
light.cpp Improve light curve parameter limits and documentation (#9054) 2019-10-24 01:08:49 +01:00
light.h Light curve: Simplify and improve code, fix darkened daytime sky (#7693) 2018-09-16 17:59:42 +01:00
log.cpp Move debug.txt after it grows too big (#8904) 2019-09-07 19:38:54 +02:00
log.h Move debug.txt after it grows too big (#8904) 2019-09-07 19:38:54 +02:00
main.cpp Overall improvements to log messages (#9598) 2020-04-08 20:13:23 +02:00
map.cpp Overall improvements to log messages (#9598) 2020-04-08 20:13:23 +02:00
map.h Remove legacy flat-file map code 2019-10-23 20:53:24 +02:00
map_settings_manager.cpp Settings: Fix game minetest.conf flags overriding defaults (#9404) 2020-02-17 19:26:32 +01:00
map_settings_manager.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
mapblock.cpp Merge pull request #8776 from osjc/FixGetNode 2019-08-10 19:45:44 +02:00
mapblock.h Optimize ABM checks. 2018-07-21 03:09:39 -07:00
mapnode.cpp Change some rough/inappropriate language in comments (#9061) 2019-10-24 01:17:00 +01:00
mapnode.h Abort when trying to set a not registered node (#7011) 2019-03-07 08:31:25 +01:00
mapsector.cpp ServerMap saving: cleanups (#6274) 2017-08-19 11:29:46 +02:00
mapsector.h ServerMap saving: cleanups (#6274) 2017-08-19 11:29:46 +02:00
metadata.cpp Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
metadata.h Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
modchannels.cpp Add session_t typedef + remove unused functions (#6470) 2017-09-27 19:47:36 +02:00
modchannels.h Add session_t typedef + remove unused functions (#6470) 2017-09-27 19:47:36 +02:00
modifiedstate.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
nameidmapping.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
nameidmapping.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
nodedef.cpp Overall improvements to log messages (#9598) 2020-04-08 20:13:23 +02:00
nodedef.h Clear old item groups when they are overridden. (#8753) 2019-08-12 19:18:52 +02:00
nodemetadata.cpp Send only changed node metadata to clients instead of whole mapblock (#5268) 2018-12-04 20:37:48 +01:00
nodemetadata.h Send only changed node metadata to clients instead of whole mapblock (#5268) 2018-12-04 20:37:48 +01:00
nodetimer.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
nodetimer.h Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
noise.cpp Display an error when a noise parameter has too many octaves (#9394) 2020-02-12 23:15:07 +00:00
noise.h Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
objdef.cpp Fix Windows build, clean up included headers 2015-05-22 20:37:59 +02:00
objdef.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
object_properties.cpp Remove unused weight property from objects (#9320) 2020-01-22 10:19:27 +01:00
object_properties.h Remove unused weight property from objects (#9320) 2020-01-22 10:19:27 +01:00
pathfinder.cpp Reduce ServerEnvironment propagation (#9642) 2020-04-11 19:59:43 +02:00
pathfinder.h Reduce ServerEnvironment propagation (#9642) 2020-04-11 19:59:43 +02:00
player.cpp Unify wield item handling (#8677) 2019-08-07 19:16:31 +02:00
player.h Add support for per-player FOV overrides and multipliers 2019-09-19 20:14:16 +02:00
porting.cpp porting.cpp: better minetest support on BSD 2018-12-11 17:35:39 +01:00
porting.h Add a MSVC / Windows compatible snprintf function (#7353) 2018-07-22 21:56:06 +02:00
porting_android.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
porting_android.h Android build fixes for c++11 2018-03-11 16:56:27 +01:00
profiler.cpp Better F6 profiler (#8750) 2019-08-13 19:56:55 +02:00
profiler.h Better F6 profiler (#8750) 2019-08-13 19:56:55 +02:00
raycast.cpp Ease selection of entities behind nodes (#7739) 2018-10-26 19:23:33 +02:00
raycast.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
reflowscan.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
reflowscan.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
remoteplayer.cpp Move PlayerSAO to dedicated files 2020-04-11 16:07:17 +02:00
remoteplayer.h Fix code style to make clang-format happy 2020-03-05 20:55:29 +01:00
rollback.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
rollback.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
rollback_interface.cpp Fix some reference counters (memleak) (#8981) 2019-09-24 19:05:28 +02:00
rollback_interface.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
serialization.cpp Add limit parameter to decompressZlib 2020-02-01 14:05:26 +01:00
serialization.h Add limit parameter to decompressZlib 2020-02-01 14:05:26 +01:00
server.cpp Move PlayerSAO to dedicated files 2020-04-11 16:07:17 +02:00
server.h set_sky improvements, set_sun, set_moon and set_stars 2020-03-05 20:12:19 +01:00
serverenvironment.cpp Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
serverenvironment.h Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
serverlist.cpp Make core.get_favorites("local") ignore duplicates (#7926) 2019-11-08 22:18:20 +01:00
serverlist.h Add online content repository 2018-04-19 20:14:53 +01:00
settings.cpp Settings: Fix game minetest.conf flags overriding defaults (#9404) 2020-02-17 19:26:32 +01:00
settings.h Settings: Fix game minetest.conf flags overriding defaults (#9404) 2020-02-17 19:26:32 +01:00
settings_translation_file.cpp Update minetest.conf.example, settings_translation_file.cpp 2020-04-03 23:19:36 +02:00
skyparams.h Fix star visilibity and documentation (since 946c03c6) 2020-03-08 16:13:36 +01:00
sound.h Proselytize the network. Use IEEE F32 (#8030) 2019-01-03 17:04:26 +01:00
staticobject.cpp Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
staticobject.h ServerEnvironment & StaticObject cleanups 2018-03-09 23:27:26 +01:00
terminal_chat_console.cpp Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
terminal_chat_console.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
tileanimation.cpp Proselytize the network. Use IEEE F32 (#8030) 2019-01-03 17:04:26 +01:00
tileanimation.h Bump minimal protocol version to 36 (#6319) 2017-08-29 19:26:55 +02:00
tool.cpp Punchwear (improved) (#8959) 2019-09-22 22:12:21 +02:00
tool.h Punchwear (improved) (#8959) 2019-09-22 22:12:21 +02:00
translation.cpp Optimize string (mis)handling (#8128) 2019-05-18 17:19:13 +02:00
translation.h Add clientside translations. 2017-08-24 17:54:10 +02:00
version.cpp Update version correctly again (#6462) 2017-09-26 20:30:42 +02:00
version.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
voxel.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
voxel.h VoxelArea: add_{x,y,z,p} must be static 2018-03-09 23:27:26 +01:00
voxelalgorithms.cpp Merge pull request #8776 from osjc/FixGetNode 2019-08-10 19:45:44 +02:00
voxelalgorithms.h Remove unused light updating code 2018-02-04 03:16:45 +00:00