redeclare main() 'the SDL way', make sure SDL.h is always included.
This commit is contained in:
parent
e00b7baa0d
commit
62810b7ba6
|
@ -1,3 +1,8 @@
|
||||||
|
2003-04-24 Bradley Bell <btb@icculus.org>
|
||||||
|
|
||||||
|
* main/inferno.c: redeclare main() 'the SDL way', make sure SDL.h
|
||||||
|
is always included.
|
||||||
|
|
||||||
2003-04-24 Ingo van Lil <inguin@gmx.de>
|
2003-04-24 Ingo van Lil <inguin@gmx.de>
|
||||||
|
|
||||||
* main/render.c: fix misspellings of NDEBUG
|
* main/render.c: fix misspellings of NDEBUG
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: inferno.c,v 1.60 2003-04-07 23:29:28 btb Exp $ */
|
/* $Id: inferno.c,v 1.61 2003-04-24 18:19:05 btb Exp $ */
|
||||||
/*
|
/*
|
||||||
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
||||||
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
||||||
|
@ -801,7 +801,7 @@ extern int Current_display_mode; //$$ there's got to be a better way than
|
||||||
#include "ui.h"
|
#include "ui.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SDL_INPUT
|
#ifndef __MSDOS__
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1173,7 +1173,7 @@ int Auto_exit = 0;
|
||||||
char Auto_file[128] = "";
|
char Auto_file[128] = "";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int main(int argc,char **argv)
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
int i, t;
|
int i, t;
|
||||||
ubyte title_pal[768];
|
ubyte title_pal[768];
|
||||||
|
|
Loading…
Reference in a new issue