The Battle for Wesnoth  1.19.0-dev
Classes | Namespaces | Typedefs
core.hpp File Reference
#include <memory>
Include dependency graph for core.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ai::lua_ai_context
 Proxy table for the AI context. More...
class  ai::lua_ai_load
class  ai::lua_ai_action_handler
 Proxy class for calling AI action handlers defined in Lua. More...


 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 std::shared_ptr< lua_object_base > ai::lua_object_ptr