Home
last modified time | relevance | path

Searched refs:GetMapId (Results 1 – 15 of 15) sorted by relevance

/dports/games/easyrpg-player/Player-0.7.0/src/
H A Dteleport_target.h57 int GetMapId() const;
92 inline int TeleportTarget::GetMapId() const { in GetMapId() function
H A Dgame_map.cpp151 int current_index = GetMapIndex(GetMapId()); in Setup()
337 events.emplace_back(GetMapId(), &ev); in SetupCommon()
400 if (GetMapId() > 0) { in Refresh()
957 if (vehicle.GetMapId() == GetMapId()) { in Update()
1142 auto idx = GetMapIndex(GetMapId()); in GetMapInfo()
1151 int Game_Map::GetMapId() { in GetMapId() function in Game_Map
1152 return Main_Data::game_player->GetMapId(); in GetMapId()
1204 if (map.ID == GetMapId()) { in GetEncountersAt()
1505 const auto map_id = GetMapId(); in IsAnyMovePending()
1524 const auto map_id = GetMapId(); in RemoveAllPendingMoves()
[all …]
H A Dgame_vehicle.cpp82 return GetMapId() == Game_Map::GetMapId(); in IsInCurrentMap()
126 SetMapId(rider->GetMapId()); in SyncWithRider()
H A Dgame_player.cpp102 if (teleport_target.GetMapId() <= 0) { in PerformTeleport()
103 Output::Error("Invalid Teleport map id! mapid={} x={} y={} d={}", teleport_target.GetMapId(), in PerformTeleport()
107 const auto map_changed = (GetMapId() != teleport_target.GetMapId()); in PerformTeleport()
108 MoveTo(teleport_target.GetMapId(), teleport_target.GetX(), teleport_target.GetY()); in PerformTeleport()
126 const auto map_changed = (GetMapId() != map_id); in MoveTo()
150 auto map = Game_Map::loadMapFile(GetMapId()); in MoveTo()
H A Dspriteset_map.cpp95 int map_id = Game_Map::GetMapId(); in Update()
99 if (!vehicle_loaded[i - 1] && vehicle->GetMapId() == map_id) { in Update()
H A Dscene_map.cpp316 auto old_map_id = Game_Map::GetMapId(); in FinishPendingTeleport()
319 if (Game_Map::GetMapId() != old_map_id) { in FinishPendingTeleport()
H A Dgame_character.h86 int GetMapId() const;
948 inline int Game_Character::GetMapId() const { in GetMapId() function
H A Dgame_map.h297 int GetMapId();
H A Dgame_event.cpp61 auto map_id = GetMapId(); in SetSaveData()
H A Dgame_interpreter.cpp1171 value = character->GetMapId(); in CommandControlVariables()
2159 Main_Data::game_variables->Set(var_map_id, Game_Map::GetMapId()); in CommandMemorizeLocation()
2190 if (map_id == Game_Map::GetMapId()) { in CommandSetVehicleLocation()
2227 event->MoveTo(event->GetMapId(), x, y); in CommandChangeEventLocation()
2248 auto m1 = event1->GetMapId(); in CommandTradeEventLocations()
2252 auto m2 = event2->GetMapId(); in CommandTradeEventLocations()
H A Dplayer.cpp1026 auto map = Game_Map::loadMapFile(Main_Data::game_player->GetMapId()); in OnMapSaveFileReady()
1116 int map_id = Main_Data::game_player->GetMapId(); in LoadSavegame()
/dports/games/warmux/warmux-11.04/src/replay/
H A Dreplay_info.h71 const std::string& GetMapId() const { return map_id; } in GetMapId() function
H A Dreplay.cpp280 map_id = MapsList::GetInstance()->FindMapById(info->GetMapId()); in LoadReplay()
/dports/games/easyrpg-player/Player-0.7.0/tests/
H A Dgame_character_moveto.cpp33 REQUIRE_EQ(ch.GetMapId(), map_id); in testChar()
H A Dgame_character.cpp99 REQUIRE_EQ(ch.GetMapId(), 0); in testInit()
283 REQUIRE_EQ(ch.GetMapId(), 44); in testBasicSet()