}
else if (y==8)
{
+ if (autorecord_on)
+ TapeStartRecording();
+
if (standalone)
{
- if (autorecord_on)
- TapeStartRecording();
-
game_status = PLAYING;
InitGame();
}
{
int old_handicap = local_player->handicap;
+#if 0
if (!strcmp(local_player->alias_name,"Artsoft"))
+#endif
local_player->handicap = leveldir[leveldir_nr].levels-1;
if (local_player->handicap != old_handicap)
if (TAPE_IS_STOPPED(tape))
{
TapeStartRecording();
- game_status = PLAYING;
- InitGame();
+
+ if (standalone)
+ {
+ game_status = PLAYING;
+ InitGame();
+ }
+ else
+ SendToServer_StartPlaying();
}
else if (tape.pausing)
{
if (TAPE_IS_STOPPED(tape))
{
TapeStartPlaying();
- game_status = PLAYING;
- InitGame();
+
+ if (standalone)
+ {
+ game_status = PLAYING;
+ InitGame();
+ }
+ else
+ SendToServer_StartPlaying();
}
else if (tape.playing)
{
case BUTTON_GAME_PAUSE:
if (tape.pausing)
{
- tape.pausing = FALSE;
- DrawVideoDisplay(VIDEO_STATE_PAUSE_OFF,0);
+ if (standalone)
+ {
+ tape.pausing = FALSE;
+ DrawVideoDisplay(VIDEO_STATE_PAUSE_OFF,0);
+ }
+ else
+ SendToServer_ContinuePlaying();
}
else
{
- tape.pausing = TRUE;
- DrawVideoDisplay(VIDEO_STATE_PAUSE_ON,0);
+ if (standalone)
+ {
+ tape.pausing = TRUE;
+ DrawVideoDisplay(VIDEO_STATE_PAUSE_ON,0);
+ }
+ else
+ SendToServer_PausePlaying();
}
break;
case BUTTON_GAME_PLAY:
if (tape.pausing)
{
- tape.pausing = FALSE;
- DrawVideoDisplay(VIDEO_STATE_PAUSE_OFF,0);
+ if (standalone)
+ {
+ tape.pausing = FALSE;
+ DrawVideoDisplay(VIDEO_STATE_PAUSE_OFF,0);
+ }
+ else
+ SendToServer_ContinuePlaying();
}
break;
default: