]> icculus.org git repositories - btb/d2x.git/blob - arch/linux/init.c
fix ogl gr_ucircle (d1x r1.29)
[btb/d2x.git] / arch / linux / init.c
1 /* $Id: init.c,v 1.6 2003-03-19 23:20:09 btb Exp $ */
2 /*
3  *
4  * linux init.c - added Matt Mueller 9/6/98
5  *
6  */
7
8 #ifdef HAVE_CONFIG_H
9 #include <conf.h>
10 #endif
11
12 #include <stdlib.h>
13 #include <stdio.h>
14 #include "pstypes.h"
15 #include "console.h"
16 #include "event.h"
17 #include "error.h"
18 #include "joy.h"
19 #include "args.h"
20
21 extern void arch_sdl_init();
22 extern void arch_svgalib_init();
23 extern void key_init();
24 extern int com_init();
25 extern void timer_init();
26
27 void arch_init_start()
28 {
29
30 }
31
32 void arch_init()
33 {
34  // Initialise the library
35         arch_sdl_init();
36 #ifdef SVGALIB_INPUT
37         arch_svgalib_init();
38 #endif
39         //added 06/09/99 Matt Mueller - fix nonetwork compile
40 #ifdef NETWORK
41         //end addition -MM
42 //added on 10/19/98 by Victor Rachels to add serial support (from DPH)
43     if(!(FindArg("-noserial")))
44      com_init();
45 //end this section addition - Victor 
46         //added 06/09/99 Matt Mueller - fix nonetwork compile
47 #endif
48         //end addition -MM
49     key_init();
50 }