OSDN Git Service

dang it./wbuild.sh vga_state.vga_graphics_ram = video->omemptr; causes it to not...
[proj16/16.git] / src / lib / 16_tail.h
1 /* Project 16 Source Code~\r
2  * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
3  *\r
4  * This file is part of Project 16.\r
5  *\r
6  * Project 16 is free software; you can redistribute it and/or modify\r
7  * it under the terms of the GNU General Public License as published by\r
8  * the Free Software Foundation; either version 3 of the License, or\r
9  * (at your option) any later version.\r
10  *\r
11  * Project 16 is distributed in the hope that it will be useful,\r
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
14  * GNU General Public License for more details.\r
15  *\r
16  * You should have received a copy of the GNU General Public License\r
17  * along with this program.  If not, see <http://www.gnu.org/licenses/>, or\r
18  * write to the Free Software Foundation, Inc., 51 Franklin Street,\r
19  * Fifth Floor, Boston, MA 02110-1301 USA.\r
20  *\r
21  */\r
22 \r
23 #ifndef __16_TAIL__\r
24 #define __16_TAIL__\r
25 \r
26 #include "src/lib/16_head.h"\r
27 #include "src/lib/16text.h"\r
28 #include "src/lib/16_pm.h"\r
29 #include "src/lib/16_mm.h"\r
30 #include "src/lib/16_ca.h"\r
31 #include "src/lib/16_in.h"\r
32 \r
33 #define FUNCTIONKEYFUNCTIONS \\r
34         if(IN_KeyDown(sc_F6)){ VL_ShowPage(&gvar.video.page[0], 0, 0); IN_UserInput(1,1); } \\r
35         if(IN_KeyDown(sc_F7)){ VL_ShowPage(&gvar.video.page[0], 0, 1); IN_UserInput(1,1); } \\r
36         if(IN_KeyDown(sc_T)){ \\r
37                 switch(gvar.video.rs){\\r
38                         case 0:\\r
39                         case 1:\\r
40                                 gvar.video.rs++;\\r
41                         break;\\r
42                         case 2:\\r
43                                 gvar.video.rs=0;\\r
44                         break; }\\r
45                         IN_UserInput(1,1); }\r
46 #define FUNCTIONKEYFUNCTIONS0EXE \\r
47         if(IN_KeyDown(sc_F6)){ VL_ShowPage(&gvar.video.page[gvar.video.panp], 0, 0); IN_UserInput(1,1); } \\r
48         if(IN_KeyDown(sc_F7)){ VL_ShowPage(&gvar.video.page[gvar.video.panp], 0, 1); IN_UserInput(1,1); }\r
49 \r
50 void DebugMemory_(global_game_variables_t *gvar, boolean q);\r
51 void Shutdown16(global_game_variables_t *gvar);\r
52 void Startup16(global_game_variables_t *gvar);\r
53 void ClearMemory (global_game_variables_t *gvar);\r
54 void Quit (global_game_variables_t *gvar, char *error);\r
55 void nibbletest();\r
56 void booleantest();\r
57 \r
58 #endif  /*__16_TAIL__ */\r