Mercurial > mm7
comparison GUI/GUIWindow.h @ 2546:4087cbc62706
GameMenu logic moved to GUIWindow_GameMenu
the same for game menu options
author | a.parshin |
---|---|
date | Mon, 11 May 2015 17:45:02 +0200 |
parents | e06a3fe9ad6e |
children | fed97f15d1e1 |
comparison
equal
deleted
inserted
replaced
2545:e06a3fe9ad6e | 2546:4087cbc62706 |
---|---|
377 GUIButton *pControlsHead; | 377 GUIButton *pControlsHead; |
378 GUIButton *pControlsTail; | 378 GUIButton *pControlsTail; |
379 }; | 379 }; |
380 #pragma pack(pop) | 380 #pragma pack(pop) |
381 | 381 |
382 struct GUIWindow_GameMenu : public GUIWindow | |
383 { | |
384 GUIWindow_GameMenu(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : | |
385 GUIWindow(x, y, width, height, button, hint) | |
386 {} | |
387 virtual ~GUIWindow_GameMenu() {} | |
388 | |
389 virtual void Update(); | |
390 }; | |
391 struct GUIWindow_CharacterRecord : public GUIWindow | 382 struct GUIWindow_CharacterRecord : public GUIWindow |
392 { | 383 { |
393 GUIWindow_CharacterRecord(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : | 384 GUIWindow_CharacterRecord(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : |
394 GUIWindow(x, y, width, height, button, hint) | 385 GUIWindow(x, y, width, height, button, hint) |
395 {} | 386 {} |
751 void GameUI_DrawNPCPopup(void *_this); | 742 void GameUI_DrawNPCPopup(void *_this); |
752 | 743 |
753 void GameUI_InitializeDialogue(struct Actor *actor, int bPlayerSaysHello); | 744 void GameUI_InitializeDialogue(struct Actor *actor, int bPlayerSaysHello); |
754 void GameUI_DrawBranchlessDialogue(); | 745 void GameUI_DrawBranchlessDialogue(); |
755 void GameUI_DrawDialogue(); | 746 void GameUI_DrawDialogue(); |
756 | |
757 | |
758 // game menu ui | |
759 GUIWindow *GameMenuUI_Load(); | |
760 GUIWindow *GameMenuUI_Options_Load(); | |
761 GUIWindow *GameMenuUI_OptionsKeymapping_Load(); | |
762 GUIWindow *GameMenuUI_OptionsVideo_Load(); | |
763 | 747 |
764 | 748 |
765 | 749 |
766 | 750 |
767 // character ui | 751 // character ui |