aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/forceloading.lua
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2018-04-04 10:56:46 +0200
committerGitHub <noreply@github.com>2018-04-04 10:56:46 +0200
commit392e80e3f13c977b5499eb424fa7d65085fb08f5 (patch)
treea5aa389a8476c23bc670ecc01994fdab78358762 /builtin/game/forceloading.lua
parent5070ca2111dd5b3f333a942059ef2c592de8dc24 (diff)
downloadminetest-392e80e3f13c977b5499eb424fa7d65085fb08f5.tar.gz
minetest-392e80e3f13c977b5499eb424fa7d65085fb08f5.tar.bz2
minetest-392e80e3f13c977b5499eb424fa7d65085fb08f5.zip
Huge LBM lookup performance improvement on mapblock loading (#7195)
* Huge LBM lookup performance improvement on mapblock loading
Diffstat (limited to 'builtin/game/forceloading.lua')
0 files changed, 0 insertions, 0 deletions
'#n119'>119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
/*
Minetest
Copyright (C) 2013 sapier

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef L_MAINMENU_H_
#define L_MAINMENU_H_

#include "lua_api/l_base.h"

class AsyncEngine;

/** Implementation of lua api support for mainmenu */
class ModApiMainMenu : public ModApiBase {

private:
	/**
	 * read a text variable from gamedata table within lua stack
	 * @param L stack to read variable from
	 * @param name name of variable to read
	 * @return string value of requested variable
	 */