]> 4ch.mooo.com Git - 16.git/blob - 16/v2/source/verge/MAPED/RENDER.H
new file: 16/v2/CONSOLE.TXT
[16.git] / 16 / v2 / source / verge / MAPED / RENDER.H
1 /*\r
2 Copyright (C) 1998 BJ Eirich (aka vecna)\r
3 This program is free software; you can redistribute it and/or\r
4 modify it under the terms of the GNU General Public License\r
5 as published by the Free Software Foundation; either version 2\r
6 of the License, or (at your option) any later version.\r
7 This program is distributed in the hope that it will be useful,\r
8 but WITHOUT ANY WARRANTY; without even the implied warranty of\r
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r
10 See the GNU General Public Lic\r
11 See the GNU General Public License for more details.\r
12 You should have received a copy of the GNU General Public License\r
13 along with this program; if not, write to the Free Software\r
14 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
15 */\r
16 \r
17 #ifndef RENDER_INC\r
18 #define RENDER_INC\r
19 \r
20 #define MAXTILES 10240\r
21 \r
22 extern int oxw, oyw;\r
23 extern int xofs, yofs;\r
24 extern int xtc, ytc;\r
25 \r
26 extern char curlayer;\r
27 extern short tileidx[MAXTILES];\r
28 extern char flipped[MAXTILES];\r
29 \r
30 extern short tileidx[MAXTILES];\r
31 \r
32 typedef struct\r
33 {\r
34   char *frame;\r
35   int fx, fy;\r
36   int hx, hy;\r
37 } chri;\r
38 \r
39 extern chri chrs[100];\r
40 \r
41 extern void DoCHR(int i);\r
42 extern void DoCHRdealy();\r
43 extern void BlitBackLayer(char l);\r
44 extern void LucentBlitLayer(char l);\r
45 extern void TransBlitLayer(char l);\r
46 extern void BlitLayer(char c);\r
47 extern void DrawObstructions();\r
48 extern void DrawZones();\r
49 extern void DrawEntities();\r
50 extern void DrawSelection();\r
51 extern void RenderMap();\r
52 extern void AnimateTile(char i, int l);\r
53 extern void Animate(char i);\r
54 extern void CheckTileAnimation();\r
55 \r
56 #endif // RENDER_INC\r