aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/game/game_locals_t.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/game/game_locals_t.java')
-rw-r--r--src/jake2/game/game_locals_t.java15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/jake2/game/game_locals_t.java b/src/jake2/game/game_locals_t.java
index 00d56d5..3a04445 100644
--- a/src/jake2/game/game_locals_t.java
+++ b/src/jake2/game/game_locals_t.java
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Created on 31.10.2003 by RST.
-// $Id: game_locals_t.java,v 1.1 2004-07-07 19:59:25 hzi Exp $
+// $Id: game_locals_t.java,v 1.2 2004-07-08 15:58:44 hzi Exp $
package jake2.game;
@@ -30,15 +30,16 @@ import jake2.util.Lib;
import java.io.IOException;
import java.nio.ByteBuffer;
-public class game_locals_t extends Defines {
+public class game_locals_t extends Defines
+{
//
// this structure is left intact through an entire game
// it should be initialized at dll load time, and read/written to
// the server.ssv file for savegames
//
- public String helpmessage1="";
- public String helpmessage2="";
+ public String helpmessage1 = "";
+ public String helpmessage2 = "";
public int helpchanged; // flash F1 icon if non 0, play sound
// and increment only if 1, 2, or 3
@@ -59,7 +60,8 @@ public class game_locals_t extends Defines {
public int num_items;
public boolean autosaved;
- public void load(ByteBuffer bb) throws IOException {
+ public void load(ByteBuffer bb) throws IOException
+ {
String date = Lib.readString(bb, 16);
helpmessage1 = Lib.readString(bb, 512);
@@ -77,7 +79,8 @@ public class game_locals_t extends Defines {
}
- public void dump() {
+ public void dump()
+ {
Com.Println("String helpmessage1: " + helpmessage1);
Com.Println("String helpmessage2: " + helpmessage2);