| 123 | } |
| 124 | |
| 125 | void queueGameCommand(CompanyId company, const OpenLoco::GameCommands::registers& regs) |
| 126 | { |
| 127 | // TEMP debug code |
| 128 | if (regs.esi == 73) |
| 129 | { |
| 130 | return; |
| 131 | } |
| 132 | |
| 133 | if (_mode == NetworkMode::server) |
| 134 | { |
| 135 | _server->queueGameCommand(company, regs); |
| 136 | } |
| 137 | else |
| 138 | { |
| 139 | _client->sendGameCommand(company, regs); |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | bool shouldProcessTick(uint32_t tick) |
| 144 | { |
no test coverage detected