summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave-sdl/constants.h
authorandyq <andyq>2003-01-21 20:37:00 (UTC)
committer andyq <andyq>2003-01-21 20:37:00 (UTC)
commit0a6563fcc2f49857c581d9def24407a3a4ef526c (patch) (side-by-side diff)
treef1b82a4bd7582ef2cb722cffb87eecff1e1f96e6 /noncore/games/sfcave-sdl/constants.h
parent50b5915b48fc5cbacf23e4d2b75d7a266f141a4a (diff)
downloadopie-0a6563fcc2f49857c581d9def24407a3a4ef526c.zip
opie-0a6563fcc2f49857c581d9def24407a3a4ef526c.tar.gz
opie-0a6563fcc2f49857c581d9def24407a3a4ef526c.tar.bz2
Clean up of code - fixed memory leaks (most of them) and added new custom config menu
Diffstat (limited to 'noncore/games/sfcave-sdl/constants.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/sfcave-sdl/constants.h29
1 files changed, 23 insertions, 6 deletions
diff --git a/noncore/games/sfcave-sdl/constants.h b/noncore/games/sfcave-sdl/constants.h
index 8fadae4..f10764e 100644
--- a/noncore/games/sfcave-sdl/constants.h
+++ b/noncore/games/sfcave-sdl/constants.h
@@ -3,7 +3,6 @@
#include <string>
using namespace std;
-#define QString string
#ifdef QWS
#define IMAGES_PATH "/opt/QtPalmtop/pics/sfcave/data/"
@@ -55,13 +54,31 @@ using namespace std;
#define MENU_DIFFICULTY_EASY 16
#define MENU_DIFFICULTY_NORMAL 17
#define MENU_DIFFICULTY_HARD 18
-#define MENU_SOUNDS 19
-#define MENU_SOUND_ON 20
-#define MENU_SOUND_OFF 21
-#define MENU_MUSIC_ON 22
-#define MENU_MUSIC_OFF 23
+#define MENU_DIFFICULTY_HARD 18
+#define MENU_DIFFICULTY_CUSTOM 19
+#define MENU_SOUNDS 20
+#define MENU_SOUND_ON 21
+#define MENU_SOUND_OFF 22
+#define MENU_MUSIC_ON 23
+#define MENU_MUSIC_OFF 24
+#define MENU_CUSTOM_THRUST 25
+#define MENU_CUSTOM_GRAVITY 26
+#define MENU_CUSTOM_MAXSPEEDUP 27
+#define MENU_CUSTOM_MAXSPEEDDOWN 28
+#define MENU_CUSTOM_INCREASE 29
+#define MENU_CUSTOM_DECREASE 30
+#define MENU_CUSTOM_SAVE 31
+#define MENU_CUSTOM_CANCEL 32
// Sounds
#define SND_EXPLOSION 0
#define SND_THRUST 1
+#define INGAME_MUSIC SOUND_PATH "ingame.mod"
+
+// Constants for player values
+#define PLAYER_THRUST 0
+#define PLAYER_GRAVITY 1
+#define PLAYER_MAX_SPEED_UP 2
+#define PLAYER_MAX_SPEED_DOWN 3
+
#endif