| 54 | } |
| 55 | |
| 56 | static void GameInit(bool retainSpatialIndices) |
| 57 | { |
| 58 | auto& gameState = getGameState(); |
| 59 | if (!retainSpatialIndices) |
| 60 | gameState.entities.ResetEntitySpatialIndices(); |
| 61 | |
| 62 | ResetAllSpriteQuadrantPlacements(); |
| 63 | LoadPalette(); |
| 64 | EntityTweener::Get().Reset(); |
| 65 | MapAnimations::MarkAllTiles(); |
| 66 | FixInvalidVehicleSpriteSizes(); |
| 67 | |
| 68 | gGameSpeed = 1; |
| 69 | } |
| 70 | |
| 71 | static bool ImportS6(MemoryStream& stream, std::unique_ptr<IContext>& context, bool retainSpatialIndices) |
| 72 | { |
no test coverage detected