diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-28 10:48:44 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-28 10:48:44 +0000 |
commit | 33bcf31d8eb5c7712e8a9d0b31489186a5c68521 (patch) | |
tree | 67e08d0e5ef4c40caee79e97402a43b2a4a9bca7 /src/graphic | |
parent | 4542a711526bfcd09184436eda440b10bb92fbed (diff) | |
download | mana-33bcf31d8eb5c7712e8a9d0b31489186a5c68521.tar.gz mana-33bcf31d8eb5c7712e8a9d0b31489186a5c68521.tar.bz2 mana-33bcf31d8eb5c7712e8a9d0b31489186a5c68521.tar.xz mana-33bcf31d8eb5c7712e8a9d0b31489186a5c68521.zip |
Renamed stats dialog to status dialog, which it is and to make room for the
real stats dialog that is currently called the skill dialog.
Diffstat (limited to 'src/graphic')
-rw-r--r-- | src/graphic/graphic.cpp | 12 | ||||
-rw-r--r-- | src/graphic/graphic.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index d37cafac..8627edd2 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -22,8 +22,8 @@ #include "graphic.h" #include "2xsai.h" #include "../gui/gui.h" -#include "../gui/stats.h" #include "../gui/textfield.h" +#include "../gui/status.h" #define TILESET_W 480 #define TILESET_H 320 @@ -53,7 +53,7 @@ char npc_button[10] = "Close"; gcn::TextField *chatInput; -StatsDialog *statsDialog; +StatusDialog *statusDialog; BuyDialog *buyDialog; BuySellDialog *buySellDialog; InventoryDialog *inventoryDialog; @@ -213,8 +213,8 @@ void init_graphic() { // Create dialogs - statsDialog = new StatsDialog(guiTop); - statsDialog->setPosition(SCREEN_W - statsDialog->getWidth() - 10, 10); + statusDialog = new StatusDialog(guiTop); + statusDialog->setPosition(SCREEN_W - statusDialog->getWidth() - 10, 10); buyDialog = new BuyDialog(guiTop); buyDialog->setVisible(false); @@ -607,7 +607,7 @@ void do_graphic(void) { } // Update character status display - statsDialog->update(); + statusDialog->update(); // Update GUI guiGraphics->setTarget(vpage[page_num]); @@ -625,7 +625,7 @@ void do_graphic(void) { } void exit_graphic() { - delete statsDialog; + delete statusDialog; delete buyDialog; shutdown_dialog(npc_player); diff --git a/src/graphic/graphic.h b/src/graphic/graphic.h index 6ad42676..5b6acdc4 100644 --- a/src/graphic/graphic.h +++ b/src/graphic/graphic.h @@ -33,7 +33,7 @@ #include "../gui/chat.h" #include "../gui/inventory.h" #include "../gui/npc.h" -#include "../gui/stats.h" +#include "../gui/status.h" #include "../../data/graphic/gfx_data.h" #include "image.h" #include <allegro.h> @@ -50,7 +50,7 @@ extern int map_x, map_y, camera_x, camera_y; extern BITMAP *hairset; extern char npc_button[10]; -extern StatsDialog *statsDialog; +extern StatusDialog *statusDialog; extern BuyDialog *buyDialog; extern BuySellDialog *buySellDialog; extern InventoryDialog *inventoryDialog; |