src/win32/config_common.h

Go to the documentation of this file.
00001 // config include file common for all Windows builds
00002 
00003 // map BSD/Linux/OSX string compare function to Win pendant
00004 #define strcasecmp strcmpi
00005 //Required for MSVC? Breaks MingW
00006 //#define vsnprintf _vsnprintf
00007 
00008 // for visual studio 2005: use secure template overloads of strcopy and the like
00009 #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1
00010 
00011 // and disable warnings about those calls that can't be converted. We may want to look at
00012 // them later, though.
00013 #define _CRT_SECURE_NO_DEPRECATE 1
00014 
00015 // activate zones v2 support
00016 #define ENABLE_ZONESV2 1
00017 
00018 // include of windows.h needed for consistency of silly windows #defines ( SetPort -> SetPortA, GetUserName -> GetUserNameA )
00019 #include  <windows.h>
00020 
00021 // include common non-autoconf config file
00022 #include "config_ide.h"
00023 
00024 // disable long identifier warnings, they are common in STL
00025 #pragma warning ( disable: 4786 )
00026 
00027 // disable POD initialization behavior change warning in VisualC++ 2005
00028 #pragma warning ( disable: 4345 )
00029 
00030 // activate dirty OpenGL initialization option
00031 #ifndef DIRTY
00032 #define DIRTY
00033 #endif
00034 
00035 // Define if this is a Windows OS.
00036 #ifndef WIN32
00037 #define WIN32
00038 #endif
00039 
00040 // defines for data directories in Windows
00041 #ifndef DEBUG
00042 #define USER_DATA_DIR  "${APPDATA}/Armagetron"
00043 #define SCREENSHOT_DIR "${MYPICTURES}/Armagetron"
00044 #else
00045 #define USER_DATA_DIR  "."
00046 #endif
00047 
00048 // for now, no joystick support in Windows
00049 // #define NOJOYSTICK 1
00050 
00051 // Define this for the particle library
00052 #define PARTICLEDLL_EXPORTS
00053 
00054 // define version
00055 // #include "../version.h"

Generated on Sat Mar 15 22:56:14 2008 for Armagetron Advanced by  doxygen 1.5.4