libcod
config.hpp
Go to the documentation of this file.
1 #ifndef _CONFIG_HPP_
2 #define _CONFIG_HPP_
3 
4 /*
5  DID MOST OF THIS TO HARDEN THE LIB FOR DECOMPILING
6  countercheck:
7  strings -a libcod2_ver_1_3.so | less
8  strings libcod2_ver_1_3.so | less
9  nm libcod2_ver_1_3.so | less
10  nm -D libcod2_ver_1_3.so | less
11 */
12 
13 // that makes debugging easier after some months
14 #define DEBUG_MYSQL 0
15 #define DEBUG_GSC 0
16 #define DEBUG_MEMORY 0
17 #define DEBUG_CAR 1
18 #define DEBUG_TCC 1
19 
20 // GSC MODULES
21 #define COMPILE_MYSQL 1
22 #define COMPILE_MYSQL_TESTS 1
23 #define COMPILE_PLAYER 1
24 #define COMPILE_ASTAR 1
25 #define COMPILE_MEMORY 1
26 #define COMPILE_CAR 0
27 #define COMPILE_TCC 0
28 #define COMPILE_UTILS 1
29 
30 // LIB FEATURES
31 #define COMPILE_DEBUG_SERVER 0
32 
33 #define DEBUG_PRINTF 1
34 
35 // GLOBAL MACROS
36 #define STR(s) #s // stringify used for __FUNCTION__
37 #define INT(address) (*(int*)(address))
38 
39 #endif