diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-06 18:26:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 18:26:04 +0200 |
commit | b991fd9766c77354454c76c906f7806680605500 (patch) | |
tree | f7425645eb83088646a72b713cd08a665947650e /src/text/Pager.h | |
parent | Implement Init for Stats (diff) | |
parent | fixed look behind bug (diff) | |
download | re3-b991fd9766c77354454c76c906f7806680605500.tar re3-b991fd9766c77354454c76c906f7806680605500.tar.gz re3-b991fd9766c77354454c76c906f7806680605500.tar.bz2 re3-b991fd9766c77354454c76c906f7806680605500.tar.lz re3-b991fd9766c77354454c76c906f7806680605500.tar.xz re3-b991fd9766c77354454c76c906f7806680605500.tar.zst re3-b991fd9766c77354454c76c906f7806680605500.zip |
Diffstat (limited to 'src/text/Pager.h')
-rw-r--r-- | src/text/Pager.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/text/Pager.h b/src/text/Pager.h index 727eeb24..1719e726 100644 --- a/src/text/Pager.h +++ b/src/text/Pager.h @@ -1,5 +1,5 @@ #pragma once
- +
struct PagerMessage {
wchar *m_pText;
uint16 m_nSpeedMs;
@@ -9,20 +9,20 @@ struct PagerMessage { uint32 m_nTimeToChangePosition;
int16 field_10;
int32 m_nNumber[6];
-}; - -#define NUMPAGERMESSAGES 8 - -class CPager -{ +};
+
+#define NUMPAGERMESSAGES 8
+
+class CPager
+{
int16 m_nNumDisplayLetters;
- PagerMessage m_messages[NUMPAGERMESSAGES]; + PagerMessage m_messages[NUMPAGERMESSAGES];
public:
- void Init(); - void Process(); - void Display(); + void Init();
+ void Process();
+ void Display();
void AddMessage(wchar*, uint16, uint16, uint16);
- void AddMessageWithNumber(wchar *str, int32 n1, int32 n2, int32 n3, int32 n4, int32 n5, int32 n6, uint16 speed, uint16 priority, uint16 a11); - void ClearMessages(); - void RestartCurrentMessage(); + void AddMessageWithNumber(wchar *str, int32 n1, int32 n2, int32 n3, int32 n4, int32 n5, int32 n6, uint16 speed, uint16 priority, uint16 a11);
+ void ClearMessages();
+ void RestartCurrentMessage();
};
\ No newline at end of file |