1 /******************************
2 ** Tsunagari Tile Engine **
4 ** Copyright 2011 OmegaSDG **
5 ******************************/
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
42 // === Platform Specifics ===
44 #if defined(_Windows) && !defined(_WINDOWS)
48 #if defined(_WINDOWS) && !defined(_Windows)
52 /* Fix snprintf for VisualC++. */
54 #define snprintf _snprintf