The Battle for Wesnoth  1.19.0-dev
Classes | Namespaces | Macros | Variables
lua_object.hpp File Reference

Lua object(value) wrapper implementation. More...

#include "config.hpp"
#include "log.hpp"
#include "lua/wrapper_lua.h"
#include "map/location.hpp"
#include "resources.hpp"
#include "scripting/lua_common.hpp"
#include "terrain/filter.hpp"
#include "variable.hpp"
#include "ai/default/contexts.hpp"
#include "ai/lua/aspect_advancements.hpp"
#include <string>
#include <vector>
Include dependency graph for lua_object.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ai::lua_object_base
 
class  ai::lua_object< T >
 

Namespaces

 ai
 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.
 

Macros

#define ERR_OBJ_LUA   LOG_STREAM(err, log_scripting_lua)
 

Variables

static lg::log_domain log_scripting_lua ("scripting/lua")
 

Detailed Description

Lua object(value) wrapper implementation.

Definition in file lua_object.hpp.

Macro Definition Documentation

◆ ERR_OBJ_LUA

#define ERR_OBJ_LUA   LOG_STREAM(err, log_scripting_lua)

Definition at line 38 of file lua_object.hpp.

Variable Documentation

◆ log_scripting_lua

lg::log_domain log_scripting_lua("scripting/lua") ( "scripting/lua"  )
static