Home
last modified time | relevance | path

Searched refs:draw_override (Results 1 – 13 of 13) sorted by relevance

/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/tests/testing_quest/data/maps/custom_state/
H A Ddraw_override.lua6 local function draw_override(state_param, camera) function
19 state:set_draw_override(draw_override)
20 assert_equal(state:get_draw_override(), draw_override)
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/hero/
H A DCustomState.cpp57 draw_override(), in CustomState()
417 if (draw_override.is_empty()) { in draw_on_map()
422 get_lua_context().do_state_draw_override_function(draw_override, *this, camera); in draw_on_map()
464 return draw_override; in get_draw_override()
471 void CustomState::set_draw_override(const ScopedLuaRef& draw_override) { in set_draw_override() argument
472 this->draw_override = draw_override; in set_draw_override()
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/lua/
H A DStateApi.cpp156 const ScopedLuaRef& draw_override, in do_state_draw_override_function() argument
160 push_ref(current_l, draw_override); in do_state_draw_override_function()
473 ScopedLuaRef draw_override = state.get_draw_override(); in state_api_get_draw_override() local
474 if (draw_override.is_empty()) { in state_api_get_draw_override()
478 push_ref(l, draw_override); in state_api_get_draw_override()
493 ScopedLuaRef draw_override; in state_api_set_draw_override() local
496 draw_override = LuaTools::check_function(l, 2); in state_api_set_draw_override()
503 state.set_draw_override(draw_override); in state_api_set_draw_override()
H A DEntityApi.cpp845 const ScopedLuaRef& draw_override, in do_entity_draw_override_function() argument
849 push_ref(current_l, draw_override); in do_entity_draw_override_function()
1713 ScopedLuaRef draw_override = entity.get_draw_override(); in entity_api_get_draw_override() local
1714 if (draw_override.is_empty()) { in entity_api_get_draw_override()
1718 push_ref(l, draw_override); in entity_api_get_draw_override()
1733 ScopedLuaRef draw_override; in entity_api_set_draw_override() local
1736 draw_override = LuaTools::check_function(l, 2); in entity_api_set_draw_override()
1743 entity.set_draw_override(draw_override); in entity_api_set_draw_override()
/dports/graphics/blender/blender-2.91.0/release/scripts/modules/bl_app_override/
H A D__init__.py167 def draw_override(func_orig, self_real, context): function
209 return draw_override(draw_orig, self, context)
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/include/solarus/hero/
H A DCustomState.h66 void set_draw_override(const ScopedLuaRef& draw_override);
203 …ScopedLuaRef draw_override; /**< Optional Lua function that draws the entity during thi… variable
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/entities/
H A DEntity.cpp80 draw_override(), in Entity()
3807 if (draw_override.is_empty()) { in draw()
3811 get_lua_context()->do_entity_draw_override_function(draw_override, *this, camera); in draw()
3875 return draw_override; in get_draw_override()
3882 void Entity::set_draw_override(const ScopedLuaRef& draw_override) { in set_draw_override() argument
3883 this->draw_override = draw_override; in set_draw_override()
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/tests/cmake/
H A DAddTestMaps.cmake14 "custom_state/draw_override"
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/include/solarus/entities/
H A DEntity.h241 void set_draw_override(const ScopedLuaRef& draw_override);
509 ScopedLuaRef draw_override; /**< Lua function that draws this entity, if any. */ variable
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Deditmap.cpp979 static void draw_override( const tripoint &p, const T_id &id );
982 void draw_override<ter_id>( const tripoint &p, const ter_id &id ) in draw_override() function
988 void draw_override<furn_id>( const tripoint &p, const furn_id &id ) in draw_override() function
994 void draw_override<trap_id>( const tripoint &p, const trap_id &id ) in draw_override() function
1134 draw_override( p, override ); in edit_feature()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Deditmap.cpp979 static void draw_override( const tripoint &p, const T_id &id );
982 void draw_override<ter_id>( const tripoint &p, const ter_id &id ) in draw_override() function
988 void draw_override<furn_id>( const tripoint &p, const furn_id &id ) in draw_override() function
994 void draw_override<trap_id>( const tripoint &p, const trap_id &id ) in draw_override() function
1134 draw_override( p, override ); in edit_feature()
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/include/solarus/lua/
H A DLuaContext.h304 const ScopedLuaRef& draw_override,
331 const ScopedLuaRef& draw_override,
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/tests/testing_quest/data/
H A Dproject_db.dat162 map{ id = "custom_state/draw_override", description = "get/set_draw_override()" }
724 file{ path = "maps/custom_state/draw_override.dat", author = "std::gregwar", license = "CC BY-SA 4.…
725 file{ path = "maps/custom_state/draw_override.lua", author = "Christopho", license = "GPL v3" }