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
17 #include <stdarg.h> // va_*()
\r
22 extern void vmain(int argc, char *argv[]);
\r
23 extern void Log(char *message, ...);
\r
27 // ================================= Code ====================================
\r
29 void err(char *message, ...)
\r
41 va_start(lst, message);
\r
42 vsprintf(tempbuf, message, lst);
\r
48 Log("Sys: Exiting with message: %s", tempbuf);
\r
63 Con_Printf("{|||||||||||||||||}");
\r
64 sprintf(temp,"VERGE v.%s Copyright (C)1998 vecna",VERSION);
\r
66 Con_Printf("All rights reserved. DJGPP/DOS build.");
\r
67 sprintf(strbuf,"Timestamp %s at %s.",__DATE__, __TIME__);
\r
69 Con_Printf("Options: -Wall -m486 -O1 -ffast-math");
\r
70 Con_Printf("{|||||||||||||||||}");
\r
73 void CheckMessages()
\r
75 // Win95 can bite me.
\r
78 void InitMouse(int x, int y)
\r
103 void SetMouse(int x, int y)
\r
109 INTERRUPT(0x33, r);
\r
112 int main(int argc, char *argv[])
\r
116 printf("VERGE v.%s build %s at %s. \n",VERSION,__DATE__,__TIME__);
\r
117 printf("Copyright (C)1998 vecna \n");
\r