OSDN Git Service

did some cleanings wwww
[proj16/16.git] / src / lib / bakapee.h
1 /* Project 16 Source Code~\r
2  * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123\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 __BAKAPEE_H_\r
24 #define __BAKAPEE_H_\r
25 \r
26 /* Project 16 Source Code~\r
27  * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
28  *\r
29  * This file is part of Project 16.\r
30  *\r
31  * Project 16 is free software; you can redistribute it and/or modify\r
32  * it under the terms of the GNU General Public License as published by\r
33  * the Free Software Foundation; either version 3 of the License, or\r
34  * (at your option) any later version.\r
35  *\r
36  * Project 16 is distributed in the hope that it will be useful,\r
37  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
38  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
39  * GNU General Public License for more details.\r
40  *\r
41  * You should have received a copy of the GNU General Public License\r
42  * along with this program.  If not, see <http://www.gnu.org/licenses/>, or\r
43  * write to the Free Software Foundation, Inc., 51 Franklin Street,\r
44  * Fifth Floor, Boston, MA 02110-1301 USA.\r
45  *\r
46  */\r
47 #include "src/lib/16_head.h"\r
48 #include "src/lib/16_vl.h"\r
49 #include <hw/cpu/cpu.h>\r
50 #include <hw/dos/dos.h>\r
51 #include <hw/vga/vga.h>\r
52 \r
53 //#include "src/lib/modex/modex.h"\r
54 //#include "16/x/modex.h"\r
55 \r
56 #define TILEWH 16\r
57 #define QUADWH                  TILEWH/2\r
58 #define BONK        400\r
59 #define LGQ          32\r
60 #define HGQ          55\r
61 \r
62 #define TILE\r
63 \r
64 //which lib?\r
65 #define MXLIB\r
66 \r
67 typedef struct {\r
68         word gq;\r
69         sword bakax, bakay;\r
70         sword xx, yy, sx, sy;\r
71         byte coor;\r
72         boolean tile;\r
73 } bakapee_t;\r
74 \r
75 void clrstdin();\r
76 void colortest(page_t *page, bakapee_t *pee);\r
77 void colorz(page_t *page, bakapee_t *pee);\r
78 void ssd(page_t *page, bakapee_t *pee, word svq);\r
79 void dingpp(page_t *page, bakapee_t *pee);\r
80 void dingo(page_t *page, bakapee_t *pee);\r
81 void dingas(bakapee_t *pee);\r
82 void dingu(bakapee_t *pee);\r
83 void dingq(bakapee_t *pee);\r
84 void ding(page_t *page, bakapee_t *pee, word q);\r
85 \r
86 #endif /*__BAKAPEE_H_*/\r