aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v7.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-03-17 22:15:25 +0100
committerGitHub <noreply@github.com>2017-03-17 22:15:25 +0100
commita7485e40ffbc0f2bf255ac62cc256252bcb7a048 (patch)
treef2938660f7774df8f96961afda53b687644edc95 /src/mapgen_v7.h
parentba0a8dabeff92ecd87d28b4b5b4010e958be5851 (diff)
downloadminetest-a7485e40ffbc0f2bf255ac62cc256252bcb7a048.tar.gz
minetest-a7485e40ffbc0f2bf255ac62cc256252bcb7a048.tar.bz2
minetest-a7485e40ffbc0f2bf255ac62cc256252bcb7a048.zip
Reduce memory & function cost of Game class functions (#5406)
GameRunData is passed on many game functions, or one of its attributes whereas it's a member of the class. Remove it from functions arguments and call object directly from concerned functions. This will reduce a little bit the Game class loop usage & very little bit the memory usage (due to non creation of pointer/references)
Diffstat (limited to 'src/mapgen_v7.h')
0 files changed, 0 insertions, 0 deletions