fix redraw at top-left of map
[Tsunagari.git] / src / config.h
blobc75d12a6d33ec986e17552cdf3db8bc78aad94bd
1 /******************************
2 ** Tsunagari Tile Engine **
3 ** config.h **
4 ** Copyright 2011 OmegaSDG **
5 ******************************/
7 #ifndef CONFIG_H
8 #define CONFIG_H
10 #define TSUNAGARI_RELEASE_VERSION "Tsunagari Tile Engine AlphaP1 Revision 6"
12 #define JUMP_MOVE 0 /* Roguelike */
13 #define SLIDE_MOVE 1 /* Yume Nikki-like */
14 #define FREE_MOVE 2 /* Zelda-like... not implemented yet */
16 // === Default Configuration Settings ===
17 /* Tsunagari config file. -- Command Line */
18 #define CLIENT_CONF_FILE "./client.ini"
20 /* Error verbosity level. -- Command Line */
21 #define MESSAGE_MODE MM_DEBUG
23 /* Game movement mode */
24 #define GAME_MODE SLIDE_MOVE
26 /* Milliseconds of button down before starting persistent input in
27 roguelike movement mode. -- Move to World Descriptor */
28 #define ROGUELIKE_PERSIST_DELAY_INIT 500
30 /* Milliseconds between persistent input sends in roguelike movement
31 mode. -- Move to World Descriptor */
32 #define ROGUELIKE_PERSIST_DELAY_CONSECUTIVE 100
34 /* Time to live in seconds for empty resource cache entries before they
35 are deleted. -- Command Line */
36 #define CACHE_EMPTY_TTL 300
38 /* Maximum size in megabytes for the resource cache. -- Command Line */
39 #define CACHE_MAX_SIZE 100
40 // ===
42 // === Platform Specifics ===
43 /* Windows check. */
44 #if defined(_Windows) && !defined(_WINDOWS)
45 #define _WINDOWS 1
46 #endif
48 #if defined(_WINDOWS) && !defined(_Windows)
49 #define _Windows 1
50 #endif
52 /* Fix snprintf for VisualC++. */
53 #ifdef _MSC_VER
54 #define snprintf _snprintf
55 #endif
56 // ===
58 #endif