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