Mercurial > mm7
comparison GUI/GUIWindow.h @ 2545:e06a3fe9ad6e
TravelUI init logic moved to GUIWindow_Travel
TransitionUI init logic moved to GUIWindow_Transition
author | a.parshin |
---|---|
date | Mon, 11 May 2015 16:43:46 +0200 |
parents | c674d547cc7c |
children | 4087cbc62706 |
comparison
equal
deleted
inserted
replaced
2544:c674d547cc7c | 2545:e06a3fe9ad6e |
---|---|
395 {} | 395 {} |
396 virtual ~GUIWindow_CharacterRecord() {} | 396 virtual ~GUIWindow_CharacterRecord() {} |
397 | 397 |
398 virtual void Update(); | 398 virtual void Update(); |
399 }; | 399 }; |
400 struct GUIWindow_Options : public GUIWindow | |
401 { | |
402 GUIWindow_Options(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : | |
403 GUIWindow(x, y, width, height, button, hint) | |
404 {} | |
405 virtual ~GUIWindow_Options() {} | |
406 | |
407 virtual void Update(); | |
408 }; | |
409 struct GUIWindow_KeymappingOptions : public GUIWindow | |
410 { | |
411 GUIWindow_KeymappingOptions(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : | |
412 GUIWindow(x, y, width, height, button, hint) | |
413 {} | |
414 virtual ~GUIWindow_KeymappingOptions() {} | |
415 | |
416 virtual void Update(); | |
417 }; | |
418 struct GUIWindow_VideoOptions : public GUIWindow | |
419 { | |
420 GUIWindow_VideoOptions(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : | |
421 GUIWindow(x, y, width, height, button, hint) | |
422 {} | |
423 virtual ~GUIWindow_VideoOptions() {} | |
424 | |
425 virtual void Update(); | |
426 }; | |
427 struct GUIWindow_Book : public GUIWindow | 400 struct GUIWindow_Book : public GUIWindow |
428 { | 401 { |
429 GUIWindow_Book(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : | 402 GUIWindow_Book(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : |
430 GUIWindow(x, y, width, height, button, hint) | 403 GUIWindow(x, y, width, height, button, hint) |
431 { | 404 { |
451 GUIWindow(x, y, width, height, button, hint) | 424 GUIWindow(x, y, width, height, button, hint) |
452 {} | 425 {} |
453 virtual ~GUIWindow_QuickReference() {} | 426 virtual ~GUIWindow_QuickReference() {} |
454 | 427 |
455 virtual void Update(); | 428 virtual void Update(); |
456 }; | |
457 struct GUIWindow_Rest : public GUIWindow | |
458 { | |
459 GUIWindow_Rest(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : | |
460 GUIWindow(x, y, width, height, button, hint) | |
461 {} | |
462 virtual ~GUIWindow_Rest() {} | |
463 | |
464 virtual void Update(); | |
465 }; | |
466 struct GUIWindow_RestWindow : public GUIWindow | |
467 { | |
468 GUIWindow_RestWindow(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : | |
469 GUIWindow(x, y, width, height, button, hint) | |
470 {} | |
471 virtual ~GUIWindow_RestWindow() {} | |
472 | |
473 virtual void Update(); | |
474 virtual void Release(); | |
475 }; | |
476 struct GUIWindow_Travel : public GUIWindow | |
477 { | |
478 GUIWindow_Travel(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint); | |
479 virtual ~GUIWindow_Travel() {} | |
480 | |
481 virtual void Update(); | |
482 virtual void Release(); | |
483 }; | |
484 struct GUIWindow_Transition : public GUIWindow | |
485 { | |
486 GUIWindow_Transition(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint); | |
487 virtual ~GUIWindow_Transition() {} | |
488 | |
489 virtual void Update(); | |
490 virtual void Release(); | |
491 }; | 429 }; |
492 struct GUIWindow_Dialogue : public GUIWindow | 430 struct GUIWindow_Dialogue : public GUIWindow |
493 { | 431 { |
494 GUIWindow_Dialogue(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint); | 432 GUIWindow_Dialogue(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint); |
495 virtual ~GUIWindow_Dialogue() {} | 433 virtual ~GUIWindow_Dialogue() {} |
817 void GameUI_DrawDialogue(); | 755 void GameUI_DrawDialogue(); |
818 | 756 |
819 | 757 |
820 // game menu ui | 758 // game menu ui |
821 GUIWindow *GameMenuUI_Load(); | 759 GUIWindow *GameMenuUI_Load(); |
822 | |
823 GUIWindow *GameMenuUI_Options_Load(); | 760 GUIWindow *GameMenuUI_Options_Load(); |
824 void GameMenuUI_Options_Draw(); | |
825 | |
826 GUIWindow *GameMenuUI_OptionsKeymapping_Load(); | 761 GUIWindow *GameMenuUI_OptionsKeymapping_Load(); |
827 void GameMenuUI_DrawKeyBindings(); | |
828 | |
829 GUIWindow *GameMenuUI_OptionsVideo_Load(); | 762 GUIWindow *GameMenuUI_OptionsVideo_Load(); |
830 void GameMenuUI_DrawVideoOptions(); | |
831 | 763 |
832 | 764 |
833 | 765 |
834 | 766 |
835 // character ui | 767 // character ui |
875 | 807 |
876 | 808 |
877 // rest ui | 809 // rest ui |
878 void PrepareToLoadRestUI(); | 810 void PrepareToLoadRestUI(); |
879 GUIWindow *RestUI_Load(); | 811 GUIWindow *RestUI_Load(); |
880 void RestUI_Draw(); | 812 |
881 | |
882 | |
883 // transition & travel ui | |
884 void TransitionUI_Load(uint32_t anim_id, uint32_t exit_pic_id, int x, int y, int z, int directiony, int directionx, int a8, const char *pLocationName); | |
885 void TransitionUI_Draw(); | |
886 | |
887 void TravelUI_Load(); | |
888 void TravelUI_Draw(); | |
889 | 813 |
890 | 814 |
891 | 815 |
892 | 816 |
893 | 817 |