summaryrefslogtreecommitdiff
path: root/game.h
diff options
context:
space:
mode:
authorHello=) <hello@themanaworld.org>2024-03-29 04:23:18 +0300
committerHello=) <hello@themanaworld.org>2024-03-29 04:23:18 +0300
commit08cd08587be5c8d2ce42ae417098c524f683c6ad (patch)
tree727aa239372a77e9ca3d72fe761940bb49e8d2d8 /game.h
parentdb0b1da0060f5eb4b2af040c22ea9373d36970af (diff)
downloadguildbot-08cd08587be5c8d2ce42ae417098c524f683c6ad.tar.gz
guildbot-08cd08587be5c8d2ce42ae417098c524f683c6ad.tar.bz2
guildbot-08cd08587be5c8d2ce42ae417098c524f683c6ad.tar.xz
guildbot-08cd08587be5c8d2ce42ae417098c524f683c6ad.zip
Move actual top level from src/ to top: just one single dir is pointless.
Reported-By: NetSysFire
Diffstat (limited to 'game.h')
-rw-r--r--game.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/game.h b/game.h
new file mode 100644
index 0000000..e9cac14
--- /dev/null
+++ b/game.h
@@ -0,0 +1,37 @@
+/*
+ * File: game.h
+ * Author: dipesh
+ *
+ * Created on July 31, 2010, 6:27 PM
+ */
+
+#ifndef _GAME_H
+#define _GAME_H
+
+#include <iosfwd>
+#include <deque>
+
+
+//class MessageHandler;
+class Network;
+
+extern volatile int cur_time;
+extern std::string map_path;
+
+class Game
+{
+ public:
+ Game();
+ ~Game();
+
+ void logic();
+ protected:
+};
+ /**
+ * Returns elapsed time. (Warning: very unsafe function, it supposes the delay
+ * is always < 10 seconds)
+ */
+int get_elapsed_time(int start_time);
+
+#endif /* _GAME_H */
+