src/stdafx.h
branchgamebalance
changeset 9913 e79cd19772dd
parent 9912 1ac8aac92385
equal deleted inserted replaced
9912:1ac8aac92385 9913:e79cd19772dd
   214 #endif /* STRGEN */
   214 #endif /* STRGEN */
   215 
   215 
   216 /* Windows has always LITTLE_ENDIAN */
   216 /* Windows has always LITTLE_ENDIAN */
   217 #if defined(WIN32) || defined(__OS2__) || defined(WIN64)
   217 #if defined(WIN32) || defined(__OS2__) || defined(WIN64)
   218 # define TTD_LITTLE_ENDIAN
   218 # define TTD_LITTLE_ENDIAN
       
   219 #elif defined(TESTING)
   219 #else
   220 #else
   220 /* Else include endian[target/host].h, which has the endian-type, autodetected by the Makefile */
   221 /* Else include endian[target/host].h, which has the endian-type, autodetected by the Makefile */
   221 # if defined(STRGEN)
   222 # if defined(STRGEN)
   222 #  include "endian_host.h"
   223 #  include "endian_host.h"
   223 # else
   224 # else
   284 # define FROM_LE16(x) (x)
   285 # define FROM_LE16(x) (x)
   285 # define TO_LE32X(x)  (x)
   286 # define TO_LE32X(x)  (x)
   286 # define TO_BE32X(x)  BSWAP32(x)
   287 # define TO_BE32X(x)  BSWAP32(x)
   287 #endif /* TTD_BIG_ENDIAN */
   288 #endif /* TTD_BIG_ENDIAN */
   288 
   289 
   289 #if !defined(GAME_DATA_DIR)
   290 #if !defined(WITH_PERSONAL_DIR)
   290 # define GAME_DATA_DIR ""
       
   291 #endif
       
   292 
       
   293 #if !defined(PERSONAL_DIR)
       
   294 # define PERSONAL_DIR ""
   291 # define PERSONAL_DIR ""
   295 #endif
   292 #endif
   296 
   293 
   297 /* Compile time assertions */
   294 /* Compile time assertions */
   298 #ifdef __OS2__
   295 #ifdef __OS2__