aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_mainmenu.h
diff options
context:
space:
mode:
authorRui914 <rui914t@gmail.com>2016-03-31 17:26:39 +0900
committerkwolekr <kwolekr@minetest.net>2016-04-08 02:25:04 -0400
commit92d4a738435c4b8d5944375c596befcc15b3f47c (patch)
treedd536cc1559cecc52da61c1b87f1519eceb0a664 /src/script/cpp_api/s_mainmenu.h
parent27ee8d8943080a5dd735c9faa47c726604bafdff (diff)
downloadminetest-92d4a738435c4b8d5944375c596befcc15b3f47c.tar.gz
minetest-92d4a738435c4b8d5944375c596befcc15b3f47c.tar.bz2
minetest-92d4a738435c4b8d5944375c596befcc15b3f47c.zip
Mainmenu: Refactor tab UI code
- Use local variables for tabs in place of globals - Merge together if statements where possible - Replace manual table searching code with indexof where possible
Diffstat (limited to 'src/script/cpp_api/s_mainmenu.h')
0 files changed, 0 insertions, 0 deletions