diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-04 15:09:14 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-04 15:09:14 +0000 |
commit | ae4e9076051a736e2bbbce91e7fd58cb27448f24 (patch) | |
tree | 13dc16f764fff92b5f47fd75ce135493fa6374dd /src/graphic | |
parent | dd2d81690185e789d435d5b1839c04bd8e77dea4 (diff) | |
download | mana-client-ae4e9076051a736e2bbbce91e7fd58cb27448f24.tar.gz mana-client-ae4e9076051a736e2bbbce91e7fd58cb27448f24.tar.bz2 mana-client-ae4e9076051a736e2bbbce91e7fd58cb27448f24.tar.xz mana-client-ae4e9076051a736e2bbbce91e7fd58cb27448f24.zip |
Removed large parts of old GUI code and improved layout of a few dialogs.
Diffstat (limited to 'src/graphic')
-rw-r--r-- | src/graphic/graphic.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index f4affd67..4537ee12 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -30,7 +30,6 @@ BITMAP *buffer, *chat_background; char itemCurrenyQ[10] = "0"; int map_x, map_y, camera_x, camera_y; -DIALOG_PLAYER *skill_player, *skill_list_player; char npc_text[1000] = ""; char statsString2[255] = "n/a"; char skill_points[10] = ""; @@ -83,17 +82,6 @@ void BuySellListener::action(const std::string& eventId) buySellDialog->setVisible(false); } -/* -DIALOG skill_list_dialog[] = { - // (dialog proc) (x) (y) (w) (h) (fg) (bg) (key) (flags) (d1) (d2) (dp) (dp2) (dp3) - { tmw_dialog_proc, 300, 200, 260, 200, 0, 0, 0, 0, 0, 0, (char *)"Stats", NULL, NULL }, - { tmw_button_proc, 450, 376, 50, 20, 255, 0, 'u', D_EXIT, 0, 0, (char *)"&Up", NULL, NULL }, - { tmw_button_proc, 508, 376, 50, 20, 255, 0, 'c', D_EXIT, 0, 0, (char *)"&Close", NULL, NULL }, - { tmw_list_proc, 304, 224, 252, 100, 0, 0, 0, 0, 0, 0, (char *)skill_list, NULL, NULL }, - { tmw_text_proc, 304, 326, 40, 20, 0, 0, 0, 0, 0, 0, (char *)skill_points, NULL, NULL }, - { NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL } -}; -*/ char hairtable[14][4][2] = { // S(x,y) W(x,y) N(x,y) E(x,y) @@ -195,9 +183,6 @@ GraphicEngine::GraphicEngine() { skillDialog = new SkillDialog(guiTop); skillDialog->setVisible(false); - //skill_player = init_dialog(skill_dialog, -1); - //skill_list_player = init_dialog(skill_list_dialog, -1); - // Give focus to the chat input chatInput->requestFocus(); @@ -229,8 +214,6 @@ GraphicEngine::~GraphicEngine() { delete skillDialog; //delete tileset; - - //shutdown_dialog(skill_player); } void GraphicEngine::refresh() { @@ -468,13 +451,8 @@ void GraphicEngine::refresh() { /* if (show_skill_dialog) { update_skill_dialog(); - if (gui_update(skill_player) == 0) { - show_skill_dialog = false; - } } - */ - /* if (show_skill_list_dialog) { if (gui_update(skill_list_player) == 0) { int ret = shutdown_dialog(skill_list_player); @@ -488,7 +466,6 @@ void GraphicEngine::refresh() { } else if(ret == 2) { show_skill_list_dialog = false; } - skill_list_player = init_dialog(skill_list_dialog, -1); } } */ |