World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
UIDialogue.h
См. документацию.
1 #pragma once
2 
3 #include "GUI/GUIWindow.h"
4 
5 class GUIWindow_Dialogue : public GUIWindow {
6  public:
7  GUIWindow_Dialogue(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String());
8  virtual ~GUIWindow_Dialogue() {}
9 
10  virtual void Update();
11  virtual void Release();
12 };
13 
14 void GameUI_InitializeDialogue(struct Actor *actor, int bPlayerSaysHello);
15 
17  public:
18  GUIWindow_GenericDialogue(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String());
20 
21  virtual void Update();
22  virtual void Release();
23 };
24 
25 void sub_4451A8_press_any_key(int a1, int a2, int a4);
26 
27 void OnSelectNPCDialogueOption(DIALOGUE_TYPE newDialogueType);
GUIWindow_GenericDialogue::Release
virtual void Release()
Definition: UIDialogue.cpp:545
GUIWindow
Definition: GUIWindow.h:433
height
EGLSurface EGLint EGLint EGLint EGLint height
Definition: SDL_egl.h:1596
Actor
Definition: Actor.h:151
GUIWindow_GenericDialogue::GUIWindow_GenericDialogue
GUIWindow_GenericDialogue(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String())
Definition: UIDialogue.cpp:535
y
EGLSurface EGLint EGLint y
Definition: SDL_egl.h:1596
OnSelectNPCDialogueOption
void OnSelectNPCDialogueOption(DIALOGUE_TYPE newDialogueType)
Definition: UIDialogue.cpp:660
x
EGLSurface EGLint x
Definition: SDL_egl.h:1596
sub_4451A8_press_any_key
void sub_4451A8_press_any_key(int a1, int a2, int a4)
Definition: UIDialogue.cpp:615
width
EGLSurface EGLint EGLint EGLint width
Definition: SDL_egl.h:1596
GUIWindow_Dialogue
Definition: UIDialogue.h:5
GUIWindow_GenericDialogue
Definition: UIDialogue.h:16
GUIWindow_GenericDialogue::Update
virtual void Update()
Definition: UIDialogue.cpp:552
GUIWindow_Dialogue::Update
virtual void Update()
Definition: UIDialogue.cpp:238
DIALOGUE_TYPE
DIALOGUE_TYPE
Definition: GUIWindow.h:266
GUIWindow_GenericDialogue::~GUIWindow_GenericDialogue
virtual ~GUIWindow_GenericDialogue()
Definition: UIDialogue.h:19
GUIWindow_Dialogue::~GUIWindow_Dialogue
virtual ~GUIWindow_Dialogue()
Definition: UIDialogue.h:8
GameUI_InitializeDialogue
void GameUI_InitializeDialogue(struct Actor *actor, int bPlayerSaysHello)
Definition: UIDialogue.cpp:25
GUIWindow.h
GUIWindow_Dialogue::Release
virtual void Release()
Definition: UIDialogue.cpp:225
GUIWindow_Dialogue::GUIWindow_Dialogue
GUIWindow_Dialogue(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String())
Definition: UIDialogue.cpp:126
String
std::string String
Definition: Strings.h:10