X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=fed17ca6a049a68e12801eb688aaf460c4420ad8;hb=3d97e3d9c20a984e70dae5e63e7c5069fb136c91;hp=0dcb8b960b9cbeae97f6621f2feae45fbd63cdbf;hpb=19e168a132d1c0543a13cbf9495f579c137dea94;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index 0dcb8b96..fed17ca6 100644 --- a/src/main.h +++ b/src/main.h @@ -48,8 +48,8 @@ typedef unsigned char boolean; typedef unsigned char byte; #ifndef FALSE -#define FALSE 0 -#define TRUE (!FALSE) +#define FALSE 0 +#define TRUE (!FALSE) #endif #define WIN_XSIZE 672 @@ -300,15 +300,15 @@ struct PlayerInfo boolean gone, LevelSolved, GameOver; boolean snapped; - long move_delay; + unsigned long move_delay; int last_move_dir; - long push_delay; - int push_delay_value; + unsigned long push_delay; + unsigned long push_delay_value; int frame_reset_delay; - long actual_frame_counter; + unsigned long actual_frame_counter; int score; int gems_still_needed; @@ -1035,16 +1035,17 @@ extern int num_bg_loops; #define FC_SPECIAL2 5 /* values for game_status */ -#define MAINMENU 0 -#define PLAYING 1 -#define LEVELED 2 -#define HELPSCREEN 3 -#define CHOOSELEVEL 4 -#define TYPENAME 5 -#define HALLOFFAME 6 -#define SETUP 7 -#define SETUPINPUT 8 -#define EXITGAME 9 +#define EXITGAME 0 +#define MAINMENU 1 +#define PLAYING 2 +#define LEVELED 3 +#define HELPSCREEN 4 +#define CHOOSELEVEL 5 +#define TYPENAME 6 +#define HALLOFFAME 7 +#define SETUP 8 +#define SETUPINPUT 9 +#define CALIBRATION 10 #ifndef GAME_DIR #define GAME_DIR "." @@ -1058,7 +1059,7 @@ extern int num_bg_loops; #define TAPES_DIRECTORY "tapes" #define SCORES_DIRECTORY "scores" -#define VERSION_STRING "1.2 preview 1" +#define VERSION_STRING "1.2.0" #define GAMETITLE_STRING "Rocks'n'Diamonds" #define WINDOWTITLE_STRING GAMETITLE_STRING " " VERSION_STRING #define COPYRIGHT_STRING "Copyright ^1995-98 by Holger Schemel"