Searched refs:SeeUnseeNode (Results 1 – 4 of 4) sorted by relevance
/dports/games/widelands/widelands-build21/src/logic/ |
H A D | see_unsee_node.h | 24 enum class SeeUnseeNode { kUnsee, kUnexplore, kReveal }; enum
|
H A D | player.h | 458 unsee_node(MapIndex, Time, SeeUnseeNode mode = SeeUnseeNode::kUnsee, bool forward = false); 486 void hide_or_reveal_field(const uint32_t gametime, const Coords& c, SeeUnseeNode mode);
|
H A D | player.cc | 1270 const SeeUnseeNode mode, in unsee_node() 1273 if ((mode == SeeUnseeNode::kUnsee && field.vision <= 1) || in unsee_node() 1288 if (mode == SeeUnseeNode::kUnexplore) { in unsee_node() 1302 SeeUnseeNode mode) { in hide_or_reveal_field() 1309 case SeeUnseeNode::kReveal: { in hide_or_reveal_field() 1322 case SeeUnseeNode::kUnsee: in hide_or_reveal_field() 1323 case SeeUnseeNode::kUnexplore: { in hide_or_reveal_field()
|
/dports/games/widelands/widelands-build21/src/scripting/ |
H A D | lua_game.cc | 601 game.get_gametime(), (*get_user_class<LuaField>(L, -1))->coords(), SeeUnseeNode::kReveal); in reveal_fields() 628 const SeeUnseeNode mode = (!lua_isnone(L, 3) && luaL_checkboolean(L, 3)) ? in hide_fields() 629 SeeUnseeNode::kUnexplore : in hide_fields() 630 SeeUnseeNode::kUnsee; in hide_fields()
|