summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/game.h b/src/game.h
index 0be487e0..d819a245 100644
--- a/src/game.h
+++ b/src/game.h
@@ -21,8 +21,10 @@
* $Id$
*/
-#ifndef _TMW_GAME_H
-#define _TMW_GAME_H
+#ifndef _TMW_GAME_
+#define _TMW_GAME_
+
+#include <string>
#define SPEECH_TIME 80
#define SPEECH_MAX_TIME 100
@@ -31,12 +33,12 @@
#define IDLE 255
extern char map_path[480];
-extern char tradePartnerName[24];
+extern std::string tradePartnerName;
extern int fps, frame, current_npc;
extern volatile int tick_time;
extern int server_tick;
extern bool displayPathToMouse;
-extern int startX, startY;
+extern unsigned short startX, startY;
enum {
JOY_UP,
@@ -78,11 +80,6 @@ void do_parse();
void do_exit();
/**
- * Calculate packet length
- */
-int get_packet_length(short);
-
-/**
* Returns elapsed time. (Warning: very unsafe function, it supposes the delay
* is always < 10 seconds)
*/