#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <errno.h>
#ifndef MSDOS
#define XK_MISCELLANY
typedef unsigned char byte;
#ifndef FALSE
-#define FALSE 0
-#define TRUE (!FALSE)
+#define FALSE 0
+#define TRUE (!FALSE)
#endif
#define WIN_XSIZE 672
boolean readonly;
};
-struct RecordingInfo
+struct TapeInfo
{
int level_nr;
unsigned long random_seed;
boolean recording, playing, pausing;
boolean fast_forward;
boolean changed;
+ boolean player_participates[MAX_PLAYERS];
struct
{
byte action[MAX_PLAYERS];
extern int MampferNr, SiebAktiv;
extern boolean network_player_action_received;
-extern int TestPlayer;
extern struct LevelDirInfo leveldir[];
extern struct LevelInfo level;
extern struct PlayerInfo stored_player[], *local_player;
extern struct HiScore highscore[];
-extern struct RecordingInfo tape;
+extern struct TapeInfo tape;
extern struct SoundInfo Sound[];
extern struct JoystickInfo joystick[];
extern struct OptionInfo options;
#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 "."
#define COPYRIGHT_STRING "Copyright ^1995-98 by Holger Schemel"
/* default name for empty highscore entry */
-#define EMPTY_ALIAS "NO_NAME"
+#define EMPTY_PLAYER_NAME "no name"
/* values for button_status */
#define MB_NOT_PRESSED FALSE