projects
/
neverball
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct logic of BSP back/front tests
[neverball]
/
share
/
base_config.h
diff --git
a/share/base_config.h
b/share/base_config.h
index
78b65b7
..
1b3db18
100644
(file)
--- a/
share/base_config.h
+++ b/
share/base_config.h
@@
-21,15
+21,30
@@
*/
#include <stdio.h>
*/
#include <stdio.h>
-#include "i18n.h"
+#include <SDL_endian.h>
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
-#define VERSION "1.4.1svn" /* Game version */
+#ifndef VERSION
+#define VERSION "unknown"
+#endif
+#ifndef CONFIG_DATA
#define CONFIG_DATA "./data" /* Game data directory */
#define CONFIG_DATA "./data" /* Game data directory */
+#endif
+
+#ifndef CONFIG_LOCALE
#define CONFIG_LOCALE "./locale" /* Game localisation */
#define CONFIG_LOCALE "./locale" /* Game localisation */
-#define CONFIG_USER ".neverball" /* User config directory */
+#endif
+
+/* User config directory */
+#ifndef CONFIG_USER
+#ifdef _WIN32
+#define CONFIG_USER "Neverball-dev"
+#else
+#define CONFIG_USER ".neverball-dev"
+#endif
+#endif
/*
* Global settings are stored in USER_CONFIG_FILE. Replays are stored
/*
* Global settings are stored in USER_CONFIG_FILE. Replays are stored
@@
-37,9
+52,10
@@
* directory as given by the HOME environment var. If the config file
* is deleted, it will be recreated using the defaults.
*/
* directory as given by the HOME environment var. If the config file
* is deleted, it will be recreated using the defaults.
*/
-#define USER_CONFIG_FILE "neverballrc"
-#define USER_REPLAY_FILE _("Last")
-#define ALLOW_CHEAT 1
+
+#define USER_CONFIG_FILE "neverballrc"
+#define USER_REPLAY_FILE "Last"
+#define REPLAY_EXT ".nbr"
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
@@
-74,6
+90,10
@@
#define MAXNAM 9
#define GUI_FACE _("ttf/DejaVuSans-Bold.ttf")
#define MAXNAM 9
#define GUI_FACE _("ttf/DejaVuSans-Bold.ttf")
+/*
+#define DT 0.0166666f
+*/
+#define DT 0.01111111f
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/