diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-08-17 08:26:52 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-08-17 08:26:52 +0200 |
commit | b204bc4da91f6f0bf38cc284693450afc5787512 (patch) | |
tree | d3a7b1e979df80838727d66c1d9ec5a352e6ff35 /src/script/cpp_api/s_base.cpp | |
parent | 3e80bf933f890c95badbf8896d6a89f4bb708389 (diff) | |
download | minetest-b204bc4da91f6f0bf38cc284693450afc5787512.tar.gz minetest-b204bc4da91f6f0bf38cc284693450afc5787512.tar.bz2 minetest-b204bc4da91f6f0bf38cc284693450afc5787512.zip |
clientmap, clientmedia: code modernization
* use range-based for loops
* simplify some tests
* various code style fixes
* remove debugprint in ClientMap::getBackgroundBrightness, debug code was not intended to be there
* remove unused fields in MapDrawControl
* use emplace_back instead of push_back when necessary
Diffstat (limited to 'src/script/cpp_api/s_base.cpp')
0 files changed, 0 insertions, 0 deletions