The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
lua_race.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2014 - 2016 by Chris Beck <[email protected]>
3  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #ifndef LUA_RACE_HPP_INCLUDED
16 #define LUA_RACE_HPP_INCLUDED
17 
18 class unit_race;
19 struct lua_State;
20 
21 #include <string>
22 
23 /**
24  * This namespace contains bindings for lua to hold a pointer to a race,
25  * and to access and modify it.
26  */
27 namespace lua_race {
29 } //end namespace lua_team
30 
31 // Create a lua reference to the race.
32 void luaW_pushrace(lua_State *, const unit_race &);
34 
35 #endif
void luaW_pushrace(lua_State *, const unit_race &)
Definition: lua_race.cpp:113
void luaW_pushracetable(lua_State *)
Definition: lua_race.cpp:121
This namespace contains bindings for lua to hold a pointer to a race, and to access and modify it...
Definition: lua_race.cpp:94
std::string register_metatable(lua_State *L)
Definition: lua_race.cpp:96
GLsizei const GLcharARB ** string
Definition: glew.h:4503