No more SYNC_BOARD_STATE.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3184 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: PuzzleCodes.java,v 1.5 2004/10/21 19:49:22 eric Exp $
|
// $Id: PuzzleCodes.java,v 1.6 2004/10/28 19:20:27 mdb Exp $
|
||||||
//
|
//
|
||||||
// Narya library - tools for developing networked games
|
// Narya library - tools for developing networked games
|
||||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||||
@@ -22,7 +22,6 @@
|
|||||||
package com.threerings.puzzle.data;
|
package com.threerings.puzzle.data;
|
||||||
|
|
||||||
import com.threerings.presents.data.InvocationCodes;
|
import com.threerings.presents.data.InvocationCodes;
|
||||||
import com.threerings.util.MessageBundle;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constants relating to the puzzle services.
|
* Constants relating to the puzzle services.
|
||||||
@@ -46,10 +45,6 @@ public interface PuzzleCodes extends InvocationCodes
|
|||||||
* the winners and losers of a game. */
|
* the winners and losers of a game. */
|
||||||
public static final String WINNERS_AND_LOSERS = "winnersAndLosers";
|
public static final String WINNERS_AND_LOSERS = "winnersAndLosers";
|
||||||
|
|
||||||
/** Enable this flag to have the client send a copy of its board state
|
|
||||||
* with every event to the server for checking. */
|
|
||||||
public static final boolean SYNC_BOARD_STATE = false;
|
|
||||||
|
|
||||||
/** Whether to enable debug logging and assertions for puzzles. Note
|
/** Whether to enable debug logging and assertions for puzzles. Note
|
||||||
* that enabling this may result in the server or client exiting
|
* that enabling this may result in the server or client exiting
|
||||||
* unexpectedly if certain error conditions arise in order to
|
* unexpectedly if certain error conditions arise in order to
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: PuzzleConfig.java,v 1.4 2004/10/22 18:11:09 andrzej Exp $
|
// $Id: PuzzleConfig.java,v 1.5 2004/10/28 19:20:27 mdb Exp $
|
||||||
//
|
//
|
||||||
// Narya library - tools for developing networked games
|
// Narya library - tools for developing networked games
|
||||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||||
@@ -41,16 +41,6 @@ public abstract class PuzzleConfig extends GameConfig
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* If this method returns true, a copy of the client board will be
|
|
||||||
* sent with every puzzle event so that the server can compare them
|
|
||||||
* step-by-step to debug out of sync problems.
|
|
||||||
*/
|
|
||||||
public boolean syncBoardState ()
|
|
||||||
{
|
|
||||||
return PuzzleCodes.SYNC_BOARD_STATE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the message bundle identifier for the bundle that should be
|
* Returns the message bundle identifier for the bundle that should be
|
||||||
* used to translate the translatable strings used to describe the
|
* used to translate the translatable strings used to describe the
|
||||||
|
|||||||
Reference in New Issue
Block a user