aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_mainmenu.h
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-11-04 16:19:54 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-11-04 16:19:54 +0100
commitad148587dcf5244c2d2011dba339786c765c54c4 (patch)
treebdd914121cd326da2ed26679838878e3edffc841 /src/script/lua_api/l_mainmenu.h
parent1145b05ea0bda87dc0827821385810eced08f774 (diff)
downloaddragonfireclient-ad148587dcf5244c2d2011dba339786c765c54c4.tar.xz
Make Lint Happy
Diffstat (limited to 'src/script/lua_api/l_mainmenu.h')
-rw-r--r--src/script/lua_api/l_mainmenu.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/script/lua_api/l_mainmenu.h b/src/script/lua_api/l_mainmenu.h
index 5a16b3bfe..c5875e797 100644
--- a/src/script/lua_api/l_mainmenu.h
+++ b/src/script/lua_api/l_mainmenu.h
@@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
class AsyncEngine;
/** Implementation of lua api support for mainmenu */
-class ModApiMainMenu: public ModApiBase
+class ModApiMainMenu : public ModApiBase
{
private:
@@ -42,7 +42,7 @@ private:
* @param name name of variable to read
* @return integer value of requested variable
*/
- static int getIntegerData(lua_State *L, std::string name,bool& valid);
+ static int getIntegerData(lua_State *L, std::string name, bool &valid);
/**
* read a bool variable from gamedata table within lua stack
@@ -50,7 +50,7 @@ private:
* @param name name of variable to read
* @return bool value of requested variable
*/
- static int getBoolData(lua_State *L, std::string name,bool& valid);
+ static int getBoolData(lua_State *L, std::string name, bool &valid);
/**
* Checks if a path may be modified. Paths in the temp directory or the user
@@ -60,7 +60,7 @@ private:
*/
static bool mayModifyPath(const std::string &path);
- //api calls
+ // api calls
static int l_start(lua_State *L);
@@ -80,13 +80,13 @@ private:
static int l_gettext(lua_State *L);
- //packages
+ // packages
static int l_get_games(lua_State *L);
static int l_get_content_info(lua_State *L);
- //gui
+ // gui
static int l_show_keys_menu(lua_State *L);
@@ -108,7 +108,7 @@ private:
static int l_get_screen_info(lua_State *L);
- //filesystem
+ // filesystem
static int l_get_mainmenu_path(lua_State *L);
@@ -140,7 +140,7 @@ private:
static int l_get_video_modes(lua_State *L);
- //version compatibility
+ // version compatibility
static int l_get_min_supp_proto(lua_State *L);
static int l_get_max_supp_proto(lua_State *L);
@@ -148,12 +148,10 @@ private:
// other
static int l_open_url(lua_State *L);
-
// async
static int l_do_async_callback(lua_State *L);
public:
-
/**
* initialize this API module
* @param L lua stack to initialize
@@ -162,5 +160,4 @@ public:
static void Initialize(lua_State *L, int top);
static void InitializeAsync(lua_State *L, int top);
-
};