summaryrefslogtreecommitdiffstats
path: root/src/render/MoneyMessages.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-10-03 12:33:55 +0200
committerGitHub <noreply@github.com>2019-10-03 12:33:55 +0200
commit6fe3d38ce2cfe9c4f5b485f683689212cf227a15 (patch)
tree8746448ed97ad2db90dd2d3e6c3ae983d0f49a96 /src/render/MoneyMessages.h
parentMerge pull request #218 from erorcun/erorcun (diff)
parentNo dw (diff)
downloadre3-6fe3d38ce2cfe9c4f5b485f683689212cf227a15.tar
re3-6fe3d38ce2cfe9c4f5b485f683689212cf227a15.tar.gz
re3-6fe3d38ce2cfe9c4f5b485f683689212cf227a15.tar.bz2
re3-6fe3d38ce2cfe9c4f5b485f683689212cf227a15.tar.lz
re3-6fe3d38ce2cfe9c4f5b485f683689212cf227a15.tar.xz
re3-6fe3d38ce2cfe9c4f5b485f683689212cf227a15.tar.zst
re3-6fe3d38ce2cfe9c4f5b485f683689212cf227a15.zip
Diffstat (limited to 'src/render/MoneyMessages.h')
-rw-r--r--src/render/MoneyMessages.h24
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