comparison GUIWindow.h @ 1004:eac5af72b614

UI cleans
author Nomad
date Thu, 16 May 2013 15:14:58 +0200
parents dcdfbb6eede9
children e865f349aa41
comparison
equal deleted inserted replaced
1003:9318dd3f3711 1004:eac5af72b614
300 WINDOW_TownPortal = 195, 300 WINDOW_TownPortal = 195,
301 WINDOW_QuestBook = 200, 301 WINDOW_QuestBook = 200,
302 WINDOW_AutonotesBook = 0xC9, 302 WINDOW_AutonotesBook = 0xC9,
303 WINDOW_MapsBook = 0xCA, 303 WINDOW_MapsBook = 0xCA,
304 WINDOW_CalendarBook = 0xCB, 304 WINDOW_CalendarBook = 0xCB,
305 WINDOW_HistoryBook = 0xE0, 305 WINDOW_JournalBook = 0xE0,
306 }; 306 };
307 307
308 struct GUIButton; 308 struct GUIButton;
309 struct Texture; 309 struct Texture;
310 310
330 void InitializeBookView(); 330 void InitializeBookView();
331 void DrawMessageBox(int arg0); 331 void DrawMessageBox(int arg0);
332 GUIButton *GetControl(unsigned int uID); 332 GUIButton *GetControl(unsigned int uID);
333 void Release(); 333 void Release();
334 void _41D08F_set_keyboard_control_group(int a2, int a3, int a4, int a5); 334 void _41D08F_set_keyboard_control_group(int a2, int a3, int a4, int a5);
335 void DrawQuickCharRecord();
336 char _41D73D_draw_buff_tooltip(); 335 char _41D73D_draw_buff_tooltip();
337 336
338 static GUIWindow *Create(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, enum WindowType eType, int a4, int a5); 337 static GUIWindow *Create(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, enum WindowType eType, int a4, int a5);
339 338
340 unsigned int uFrameX; 339 unsigned int uFrameX;
482 void GameUI_SetFooterString(const char *pStr); 481 void GameUI_SetFooterString(const char *pStr);
483 void GameUI_DrawMinimap(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW, unsigned int uZoom, unsigned int bRedrawOdmMinimap); 482 void GameUI_DrawMinimap(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW, unsigned int uZoom, unsigned int bRedrawOdmMinimap);
484 void GameUI_DrawPartySpells(); 483 void GameUI_DrawPartySpells();
485 void GameUI_DrawTorchlightAndWizardEye(); 484 void GameUI_DrawTorchlightAndWizardEye();
486 void GameUI_DrawCharacterSelectionFrame(); 485 void GameUI_DrawCharacterSelectionFrame();
486 void GameUI_CharacterQuickRecord_Draw(GUIWindow *window, Player *player);
487 487
488 488
489 489
490 490
491 491
520 void BookUI_Draw(WindowType book); 520 void BookUI_Draw(WindowType book);
521 void BookUI_Questbook_Draw(); 521 void BookUI_Questbook_Draw();
522 void BookUI_Autonotes_Draw(); 522 void BookUI_Autonotes_Draw();
523 void BookUI_Map_Draw(); 523 void BookUI_Map_Draw();
524 void BookUI_Calendar_Draw(); 524 void BookUI_Calendar_Draw();
525 void BookUI_Journal_Draw();
525 526
526 void OnCloseSpellBook(); 527 void OnCloseSpellBook();
527 void InitializeBookTextures(); 528 void InitializeBookTextures();
528 void InitializeBookFonts(); 529 void InitializeBookFonts();
529 void DrawSpellBookContent(); 530 void DrawSpellBookContent(Player *player);
530 void DrawBook_History();
531 unsigned int __cdecl DrawLloydBeaconsScreen(); 531 unsigned int __cdecl DrawLloydBeaconsScreen();
532 void DrawTownPortalScreen(); 532 void DrawTownPortalScreen();
533 void LoadSpellbook(unsigned int uID); // idb 533 void LoadSpellbook(unsigned int uID); // idb
534 void DrawSpellDescriptionPopup(int spell_index); 534 void DrawSpellDescriptionPopup(int spell_index);
535 535 void sub_41140B();
536 void sub_411473();
536 537
537 538
538 539
539 540
540 541
690 extern GUIButton *pCreationUI_BtnPressLeft[4]; 691 extern GUIButton *pCreationUI_BtnPressLeft[4];
691 extern GUIButton *pCreationUI_BtnPressRight[4]; 692 extern GUIButton *pCreationUI_BtnPressRight[4];
692 693
693 extern int uTextureID_GameUI_CharSelectionFrame; // 50C98C 694 extern int uTextureID_GameUI_CharSelectionFrame; // 50C98C
694 695
696 extern unsigned int ui_mainmenu_copyright_color;
695 extern unsigned int ui_character_default_text_color; 697 extern unsigned int ui_character_default_text_color;
696 extern unsigned int ui_character_skill_highlight_color; 698 extern unsigned int ui_character_skill_highlight_color;
697 extern unsigned int ui_character_header_text_color; 699 extern unsigned int ui_character_header_text_color;
698 extern unsigned int ui_character_bonus_text_color; 700 extern unsigned int ui_character_bonus_text_color;
699 extern unsigned int ui_character_bonus_text_color_neg; 701 extern unsigned int ui_character_bonus_text_color_neg;
705 extern unsigned int ui_game_minimap_actor_hostile_color; 707 extern unsigned int ui_game_minimap_actor_hostile_color;
706 extern unsigned int ui_game_minimap_actor_corpse_color; 708 extern unsigned int ui_game_minimap_actor_corpse_color;
707 extern unsigned int ui_game_minimap_decoration_color_1; 709 extern unsigned int ui_game_minimap_decoration_color_1;
708 extern unsigned int ui_game_minimap_projectile_color; 710 extern unsigned int ui_game_minimap_projectile_color;
709 extern unsigned int ui_game_minimap_treasure_color; 711 extern unsigned int ui_game_minimap_treasure_color;
712 extern unsigned int ui_game_character_record_playerbuff_colors[24];
710 extern unsigned int ui_book_quests_title_color; 713 extern unsigned int ui_book_quests_title_color;
711 extern unsigned int ui_book_quests_text_color; 714 extern unsigned int ui_book_quests_text_color;
712 extern unsigned int ui_book_autonotes_title_color; 715 extern unsigned int ui_book_autonotes_title_color;
713 extern unsigned int ui_book_autonotes_text_color; 716 extern unsigned int ui_book_autonotes_text_color;
714 extern unsigned int ui_book_map_title_color; 717 extern unsigned int ui_book_map_title_color;
715 extern unsigned int ui_book_map_coordinates_color; 718 extern unsigned int ui_book_map_coordinates_color;
719 extern unsigned int ui_book_calendar_title_color;
720 extern unsigned int ui_book_calendar_time_color;
721 extern unsigned int ui_book_calendar_day_color;
722 extern unsigned int ui_book_calendar_month_color;
723 extern unsigned int ui_book_calendar_year_color;
724 extern unsigned int ui_book_calendar_moon_color;
725 extern unsigned int ui_book_calendar_location_color;
726 extern unsigned int ui_book_journal_title_color;
727 extern unsigned int ui_book_journal_text_color;
728 extern unsigned int ui_book_journal_text_shadow;