MCPcopy Create free account
hub / github.com/EasyRPG/Player / UpdateProcessedFlags

Method UpdateProcessedFlags

src/game_map.cpp:1317–1329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1315}
1316
1317void Game_Map::UpdateProcessedFlags(bool is_preupdate) {
1318 for (Game_Event& ev : events) {
1319 ev.SetProcessed(false);
1320 }
1321 if (!is_preupdate) {
1322 Main_Data::game_player->SetProcessed(false);
1323 for (auto& vehicle: vehicles) {
1324 if (vehicle.IsInCurrentMap()) {
1325 vehicle.SetProcessed(false);
1326 }
1327 }
1328 }
1329}
1330
1331
1332bool Game_Map::UpdateCommonEvents(MapUpdateAsyncContext& actx) {

Callers

nothing calls this directly

Calls 2

SetProcessedMethod · 0.80
IsInCurrentMapMethod · 0.80

Tested by

no test coverage detected