| 1 | // (c) Copyright 2006-2007 notaz, All rights reserved.\r |
| 2 | // Free for non-commercial use.\r |
| 3 | \r |
| 4 | // For commercial use, separate licencing terms must be obtained.\r |
| 5 | \r |
| 6 | \r |
| 7 | \r |
| 8 | // engine states\r |
| 9 | enum TPicoGameState {\r |
| 10 | PGS_Paused = 1,\r |
| 11 | PGS_Running,\r |
| 12 | PGS_Quit,\r |
| 13 | PGS_KeyConfig,\r |
| 14 | PGS_ReloadRom,\r |
| 15 | PGS_Menu,\r |
| 16 | PGS_RestartRun,\r |
| 17 | };\r |
| 18 | \r |
| 19 | extern unsigned char gfx_buffer[321*240*2*2];\r |
| 20 | extern char romFileName[];\r |
| 21 | extern int engineState;\r |
| 22 | \r |
| 23 | \r |
| 24 | void emu_Init(void);\r |
| 25 | void emu_Deinit(void);\r |
| 26 | void emu_Loop(void);\r |
| 27 | void emu_ResetGame(void);\r |
| 28 | \r |
| 29 | void emu_stateCb(const char *str);\r |
| 30 | \r |