The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
wesconfig.h
Go to the documentation of this file.
1#ifndef WESCONFIG_H_INCLUDED
2#define WESCONFIG_H_INCLUDED
3
4/**
5 * @file wesconfig.h
6 * Some defines: VERSION, PACKAGE, MIN_SAVEGAME_VERSION
7 *
8 * This file should only be modified by the packager of the tarball
9 * before and after each release.
10 */
11
12#ifndef RC_INVOKED
13
14#ifdef HAVE_CONFIG_H
15# include "config.h"
16#endif
17
18#ifndef LOCALEDIR
19# define LOCALEDIR "translations"
20#endif
21
22#ifndef PACKAGE
23#define PACKAGE "wesnoth"
24#endif
25
26/**
27 * Some older savegames of Wesnoth cannot be loaded anymore,
28 * this variable defines the minimum required version.
29 * It is only to be updated upon changes that break *all* saves/replays
30 * (break as in crash Wesnoth, not compatibility issues like stat changes)
31 * An example of such a change is changing the savegame format.
32 */
33#define MIN_SAVEGAME_VERSION "1.3.10"
34
35#endif /* !RC_INVOKED */
36
37//always use the version string in here, otherwise autotools can override in
38//a bad way...
39#ifdef VERSION
40 #undef VERSION
41#endif
42
43#define VERSION "1.21.0-dev"
44
45// Used for the Windows executables' version info resource.
46#define RC_VERSION_MAJOR 1
47#define RC_VERSION_MINOR 21
48#define RC_VERSION_REVISION 0
49
50#endif