| 78 | } |
| 79 | |
| 80 | bool TetrisApplication::ParseCommandLine(const char* commandLine) |
| 81 | { |
| 82 | // Seed GamePaths with a Tetris-only codename before the base call |
| 83 | // resolves it. GamePaths::Initialize is idempotent — the first |
| 84 | // caller wins — so this keeps Tetris's display.cfg / graphics.cfg / |
| 85 | // audio.cfg under %APPDATA%/PoseidonTetris/ instead of sharing the |
| 86 | // main Cold War Assault install's %APPDATA%/CWR/. |
| 87 | GamePaths::Instance().Initialize("PoseidonTetris", "PoseidonTetris"); |
| 88 | return GameApplication::ParseCommandLine(commandLine); |
| 89 | } |
| 90 | |
| 91 | bool TetrisApplication::InitializeSubsystems() |
| 92 | { |
nothing calls this directly
no test coverage detected