dxx-rebirth/arch/win32/init.c

45 lines
891 B
C
Executable file

/* $Id: init.c,v 1.1.1.1 2006/03/17 19:54:06 zicodxx Exp $ */
#ifdef HAVE_CONFIG_H
#include <conf.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include "pstypes.h"
#include "console.h"
#include "event.h"
#include "error.h"
#include "joy.h"
#include "args.h"
extern void arch_sdl_init();
extern void arch_svgalib_init();
extern void key_init();
extern int com_init();
extern void timer_init();
void arch_init_start()
{
}
void arch_init()
{
// Initialise the library
arch_sdl_init();
#ifdef SVGALIB_INPUT
arch_svgalib_init();
#endif
//added 06/09/99 Matt Mueller - fix nonetwork compile
#ifdef NETWORK
//end addition -MM
//added on 10/19/98 by Victor Rachels to add serial support (from DPH)
if(!(FindArg("-noserial")))
com_init();
//end this section addition - Victor
//added 06/09/99 Matt Mueller - fix nonetwork compile
#endif
//end addition -MM
key_init();
}