• R/O
  • SSH
  • HTTPS

deeangband: Commit


Commit MetaInfo

Revision9207 (tree)
Time2014-02-20 20:23:12
Authordeskull

Log Message

Refactoring about GameCommand.

Change Summary

Incremental Difference

--- source/branch/new_source/Deeangband/Deeangband/Deeangband.h (revision 9206)
+++ source/branch/new_source/Deeangband/Deeangband/Deeangband.h (revision 9207)
@@ -6,3 +6,11 @@
66 #define WINDOW_WIDTH 800
77 #define WINDOW_HEIGHT 480
88
9+/*!
10+ * ゲームコマンド定義
11+ */
12+typedef enum GameCommand
13+{
14+ GAME_COMMAND_REDRAW,
15+ GAME_COMMAND_EXIT
16+} GameCommand;
\ No newline at end of file
--- source/branch/new_source/Deeangband/Deeangband/GameWorld.h (revision 9206)
+++ source/branch/new_source/Deeangband/Deeangband/GameWorld.h (revision 9207)
@@ -15,10 +15,12 @@
1515 #include "Creature.h"
1616 #include "CreatureTrait.h"
1717 #include "Dungeon.h"
18+#include "Deeangband.h"
1819 #include "Effect.h"
1920 #include "Feature.h"
2021 #include "FixedArtifact.h"
2122 #include "Floor.h"
23+#include "GameSurface.h"
2224 #include "Item.h"
2325 #include "ItemBase.h"
2426 #include "ItemEgo.h"
@@ -27,17 +29,7 @@
2729 #include "Skill.h"
2830 #include "Species.h"
2931 #include "TrapBase.h"
30-#include "GameSurface.h"
3132
32-/*!
33- * ゲームコマンド定義
34- */
35-enum GameCommand
36-{
37- GAME_COMMAND_REDRAW,
38- GAME_COMMAND_EXIT
39-};
40-
4133 /*! @class GameWorld
4234 * @brief ゲーム世界のクラス
4335 */
--- source/branch/new_source/Deeangband/Deeangband/GameWorld.cpp (revision 9206)
+++ source/branch/new_source/Deeangband/Deeangband/GameWorld.cpp (revision 9207)
@@ -8,6 +8,7 @@
88
99 #include "stdafx.h"
1010 #include "GameWorld.h"
11+#include "Deeangband.h"
1112
1213 GameWorld::GameWorld(GameSurface *gSurface)
1314 {
Show on old repository browser