--------------------------------------
| 284 | |
| 285 | //-------------------------------------- |
| 286 | void Platform::init() |
| 287 | { |
| 288 | Con::printf("Initializing platform..."); |
| 289 | |
| 290 | // Set the platform variable for the scripts |
| 291 | Con::setVariable( "$platform", "windows" ); |
| 292 | |
| 293 | WinConsole::create(); |
| 294 | |
| 295 | if ( !WinConsole::isEnabled() ) |
| 296 | Input::init(); |
| 297 | |
| 298 | InitInput(); // in case DirectInput falls through |
| 299 | |
| 300 | installRedBookDevices(); |
| 301 | |
| 302 | sgDoubleByteEnabled = GetSystemMetrics( SM_DBCSENABLED ); |
| 303 | sgQueueEvents = true; |
| 304 | Con::printf("Done"); |
| 305 | } |
| 306 | |
| 307 | //-------------------------------------- |
| 308 | void Platform::shutdown() |
nothing calls this directly
no test coverage detected