The Battle for Wesnoth  1.19.0-dev
Classes | Namespaces | Typedefs
game_lua_kernel.hpp File Reference
#include "scripting/lua_kernel_base.hpp"
#include "game_events/action_wml.hpp"
#include <stack>
#include <string>
Include dependency graph for game_lua_kernel.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  game_lua_kernel


 A small explanation about what's going on here: Each action has access to two game_info objects First is 'info' - real information Second is 'subjective info' - AIs perception of what's going on So, when we check_before action, we use 'subjective info' and don't touch real 'info' at all.


typedef int(* lua_CFunction) (lua_State *L)

Typedef Documentation

◆ lua_CFunction

typedef int(* lua_CFunction) (lua_State *L)

Definition at line 44 of file game_lua_kernel.hpp.