The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
lua_team.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_TEAM_HPP_INCLUDED
16 #define LUA_TEAM_HPP_INCLUDED
17 
18 class team;
19 struct lua_State;
20 
21 #include <string>
22 
23 /**
24  * This namespace contains bindings for lua to hold a pointer to a team,
25  * and to access and modify it.
26  */
27 namespace lua_team {
29 } //end namespace lua_team
30 
31 // Create a full userdata containing a pointer to the team.
32 void luaW_pushteam(lua_State *, team &);
33 
34 #endif
This namespace contains bindings for lua to hold a pointer to a team, and to access and modify it...
Definition: lua_team.cpp:153
std::string register_metatable(lua_State *L)
Definition: lua_team.cpp:155
This class stores all the data for a single 'side' (in game nomenclature).
Definition: team.hpp:50
void luaW_pushteam(lua_State *, team &)
Definition: lua_team.cpp:173
GLsizei const GLcharARB ** string
Definition: glew.h:4503