예제 #1
0
파일: init.c 프로젝트: Ringdingcoder/d1x
void arch_init()
{
 // Initialise the library
#ifdef __SDL__
	arch_sdl_init();
#endif
#ifdef __SVGALIB__
	arch_svgalib_init();
#endif
	if (!FindArg( "-nojoystick" ))  {
		if (Inferno_verbose) printf( "\n%s", TXT_VERBOSE_6);
		joy_init();
	}
	//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
     timer_init();
    key_init();
}
예제 #2
0
파일: init.c 프로젝트: paud/d2x-xl
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
	//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
	//end addition -MM
    key_init();
}