e5f426aa |
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 |
ea8c405f |
19 | extern unsigned char gfx_buffer[321*240*2*2];\r |
e5f426aa |
20 | extern char romFileName[];\r |
21 | extern int engineState;\r |
e5f426aa |
22 | \r |
23 | \r |
e5f426aa |
24 | void emu_Init(void);\r |
25 | void emu_Deinit(void);\r |
e5f426aa |
26 | void emu_Loop(void);\r |
27 | void emu_ResetGame(void);\r |
ea8c405f |
28 | void emu_forcedFrame(void);\r |
e5f426aa |
29 | \r |
c77ca79e |
30 | void emu_stateCb(const char *str);\r |
31 | \r |