OSDN Git Service

wwww
[proj16/16.git] / 16 / v2 / source / MAPED / TILESEL.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 TILESEL_INC\r
18 #define TILESEL_INC\r
19 \r
20 extern int selofs;\r
21 extern char ttile[256], ttile2[256];\r
22 extern char curastd;\r
23 extern char curmode;\r
24 \r
25 extern int curtileptr(int row);\r
26 extern void NormalButton(int x1, int y1, int x2, int y2, char *str);\r
27 extern void PressdButton(int x1, int y1, int x2, int y2, char *str);\r
28 extern void RenderSelector();\r
29 extern void FlipX(unsigned short edtile);\r
30 extern void FlipY(unsigned short edtile);\r
31 extern void FlipZ(unsigned short edtile);\r
32 extern void DrawHighlight(int x, int y);\r
33 extern void TileSelector();\r
34 extern void VSPAnimDialog();\r
35 extern void AddTilesDialog();\r
36 extern void RenderImport();\r
37 extern void ImportTiles();\r
38 extern void ImportVSP();\r
39 extern void OpenPCXas();\r
40 \r
41 extern void ReadPCXLine(unsigned char *dest);\r
42 extern void LoadPCXHeader(char *fname);\r
43 extern void LoadPCXHeaderNP(char *fname);\r
44 extern int  GrabTileAt(int x, int y, int z, int check_dup);\r
45 extern void ImportPCX();\r
46 \r
47 #endif // TILESEL_INC\r