OSDN Git Service

attempted font system added
[proj16/16.git] / 16 / v2 / source / verge / ENGINE / MAIN.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 MAIN_H\r
18 #define MAIN_H\r
19 \r
20 //void *valloc(int amount);\r
21 void err(char *message, ...);\r
22 int sgn(int x);\r
23 void ver();\r
24 void CheckMessages();\r
25 void Log(char *message, ...);\r
26 void Logp(char *message, ...);\r
27 void LogDone();\r
28 void InitMouse(int, int);\r
29 void ReadMouse();\r
30 void SetMouse(int, int);\r
31 \r
32 extern char startmap[80], nocdaudio;\r
33 extern int mx, my, mb;\r
34 \r
35 #define vfree(x) if (x) { free(x); x=0; }\r
36 \r
37 #ifndef DJGPP\r
38 #define strncasecmp strnicmp\r
39 #define strcasecmp strcmpi\r
40 #endif\r
41 \r
42 #endif\r