combined sprite and entity; entity has sounds
[Tsunagari.git] / src / config.h
blob80bb51b6386d8d1824f85add36a98a700d8c7261
1 /******************************
2 ** Tsunagari Tile Engine **
3 ** config.h **
4 ** Copyright 2011 OmegaSDG **
5 ******************************/
7 #ifndef CONFIG_H
8 #define CONFIG_H
10 // === Default Configuration Settings ===
11 /* Tsunagari config file. -- Command Line */
12 #define CLIENT_CONF_FILE "./client.ini"
14 /* Error verbosity level. -- Command Line */
15 #define MESSAGE_MODE MM_DEBUG
17 /* Milliseconds of button down before starting persistent input in
18 roguelike movement mode. -- Move to World Descriptor */
19 #define ROGUELIKE_PERSIST_DELAY_INIT 500
21 /* Milliseconds between persistent input sends in roguelike movement
22 mode. -- Move to World Descriptor */
23 #define ROGUELIKE_PERSIST_DELAY_CONSECUTIVE 100
25 /* Time to live in seconds for empty resource cache entries before they
26 are deleted. -- Command Line */
27 #define CACHE_EMPTY_TTL 300
29 /* Maximum size in megabytes for the resource cache. -- Command Line */
30 #define CACHE_MAX_SIZE 100
31 // ===
33 // === Platform Specifics ===
34 /* Windows check. */
35 #if defined(_Windows) && !defined(_WINDOWS)
36 #define _WINDOWS 1
37 #endif
39 #if defined(_WINDOWS) && !defined(_Windows)
40 #define _Windows 1
41 #endif
43 /* Fix snprintf for VisualC++. */
44 #ifdef _MSC_VER
45 #define snprintf _snprintf
46 #endif
47 // ===
49 #endif