diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-03 12:16:28 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-03 12:16:28 +0200 |
commit | 095b8b1e74e7d2454bfb92e22811e06702e3ae46 (patch) | |
tree | cf4b0765179d78facf3f3bb3a2e0ca3427349e6e /src/render/MoneyMessages.h | |
parent | Merge pull request #218 from erorcun/erorcun (diff) | |
download | re3-095b8b1e74e7d2454bfb92e22811e06702e3ae46.tar re3-095b8b1e74e7d2454bfb92e22811e06702e3ae46.tar.gz re3-095b8b1e74e7d2454bfb92e22811e06702e3ae46.tar.bz2 re3-095b8b1e74e7d2454bfb92e22811e06702e3ae46.tar.lz re3-095b8b1e74e7d2454bfb92e22811e06702e3ae46.tar.xz re3-095b8b1e74e7d2454bfb92e22811e06702e3ae46.tar.zst re3-095b8b1e74e7d2454bfb92e22811e06702e3ae46.zip |
Diffstat (limited to 'src/render/MoneyMessages.h')
-rw-r--r-- | src/render/MoneyMessages.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/render/MoneyMessages.h b/src/render/MoneyMessages.h new file mode 100644 index 00000000..f0a48a84 --- /dev/null +++ b/src/render/MoneyMessages.h @@ -0,0 +1,24 @@ +#pragma once
+
+class CMoneyMessage
+{
+ friend class CMoneyMessages;
+
+ uint32 m_nTimeRegistered;
+ CVector m_vecPosition;
+ wchar m_aText[16];
+ CRGBA m_Colour;
+ float m_fSize;
+ float m_fOpacity;
+public:
+ void Render();
+};
+
+class CMoneyMessages
+{
+ static CMoneyMessage aMoneyMessages[NUMMONEYMESSAGES];
+public:
+ static void Init();
+ static void Render();
+ static void RegisterOne(CVector vecPos, const char *pText, uint8 bRed, uint8 bGreen, uint8 bBlue, float fSize, float fOpacity);
+};
\ No newline at end of file |