Atrinik Client  4.0
config.h File Reference

Go to the source code of this file.


#define SOCKET_VERSION   1066
#define ARCHDEF_FILE   "data/archdef.dat"
#define INTERFACE_FILE   "settings/interface.gui"
#define SCRIPTS_AUTOLOAD   "settings/scripts_autoload"
#define LOG_FILE   "client.log"
#define CLIENT_ICON_NAME   "icon.png"
#define FILE_SETTINGS_TXT   "data/settings.txt"
#define FILE_SETTINGS_DAT   "settings/settings.dat"
#define MAX_FACE_TILES   32767
#define MAP_MAX_SIZE   17
#define MAP_FOW_SIZE   5
#define DARK_LEVELS   7
#define DIRECTORY_SFX   "sound/effects"
#define DIRECTORY_CACHE   "cache"
#define DIRECTORY_GFX_USER   "gfx_user"
#define DIRECTORY_MEDIA   "sound/background"
#define SERVER_VERSION   0x04

Detailed Description

This is the config file for the client.

Definition in file config.h.

Macro Definition Documentation

#define ARCHDEF_FILE   "data/archdef.dat"

File the the arch definitions.

Definition at line 37 of file config.h.

#define CLIENT_ICON_NAME   "icon.png"

Name of the icon.

Definition at line 45 of file config.h.

#define DARK_LEVELS   7

The number of our dark levels.

For each level we store an own bitmap copy.

Definition at line 72 of file config.h.

#define FILE_SETTINGS_DAT   "settings/settings.dat"

File that contains the user settings.

Definition at line 49 of file config.h.

#define FILE_SETTINGS_TXT   "data/settings.txt"

File that contains the default settings.

Definition at line 47 of file config.h.

#define INTERFACE_FILE   "settings/interface.gui"

File with the widgets' positions.

Definition at line 39 of file config.h.

#define LOG_FILE   "client.log"

Log file.

Definition at line 43 of file config.h.

#define MAP_FOW_SIZE   5

Size of the Fog of War cache. Setting this to 1 will decrease memory usage somewhat, but make Fog of War less useful when moving across maps.

Basically this value represents how big grid of maps to keep in memory. For example, if the value is 3, the grid will be 3x3, which means 9 "maps", and the middle one is the currently displayed one.

Definition at line 65 of file config.h.

#define MAP_MAX_SIZE   17

Maximum map size.

Definition at line 55 of file config.h.

#define MAX_FACE_TILES   32767

Maximum number of faces.

Definition at line 52 of file config.h.

#define SCRIPTS_AUTOLOAD   "settings/scripts_autoload"

What scripts to autoload on client startup.

Definition at line 41 of file config.h.

#define SERVER_VERSION   0x04

This is the minimum server version required to connect, represented as hexadecimal and backwards. Thus, 0x0503 requires at least 3.5, and 0x010503 requires at least 3.5.1.

Definition at line 84 of file config.h.

#define SOCKET_VERSION   1066

Socket version.

Definition at line 34 of file config.h.