Skip to content

Commit

Permalink
another missing wa
Browse files Browse the repository at this point in the history
  • Loading branch information
grorp committed Oct 5, 2024
1 parent 1c09919 commit fe15a14
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/script/lua_api/l_menu_common.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

/*
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.
*/

#pragma once

#include "l_base.h"

class ModApiMenuCommon: public ModApiBase
{

private:
static int l_get_active_driver(lua_State *L);
static int l_get_active_renderer(lua_State *L);
static int l_get_active_irrlicht_device(lua_State *L);

public:
static void Initialize(lua_State *L, int top);
};

0 comments on commit fe15a14

Please sign in to comment.