#ifndef COMMON_ALL_GARDEN #define COMMON_ALL_GARDEN #include "wx/defs.h" #if wxUSE_GUI #error "This program can't be compiled in GUI mode." #endif // wxUSE_GUI #if !wxUSE_THREADS #error "This program requires thread support!" #endif // wxUSE_THREADS #if !wxUSE_ODBC #error "Cannot be compiled unless setup.h has wxUSE_ODBC set to 1" #endif #include #include #include #include #include #include #ifndef _MSC_VER #include #endif #include "SDL.h" #include "SDL_net.h" // without this pragma, the stupid compiler precompiles #defines below so that // changing them doesn't "take place" later! #ifdef __VISUALC__ #pragma hdrstop #endif // port to listen to control from me #define CTRL_PORT 2000 // port for users to listen to for commands from clients (login/logout/etc) #define USER_PORT 2003 // udp receiving ports #define CLIENT_UDP 2002 // tcp port for listening to connections from server. #define CLIENT_TCP 2003 #define SEPERATOR ',' extern bool killsignal; #endif