summaryrefslogtreecommitdiffstats
path: root/src/render/SpecialFX.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-10 18:17:35 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-10 18:17:35 +0200
commitffed52b94f09b2cd1fbb40e8cc59d7684605e80d (patch)
tree96c8dce8947076fa164fe9ae80379e0686b2c3ec /src/render/SpecialFX.h
parentCalculateBoundingSphereRadiusCB (diff)
downloadre3-ffed52b94f09b2cd1fbb40e8cc59d7684605e80d.tar
re3-ffed52b94f09b2cd1fbb40e8cc59d7684605e80d.tar.gz
re3-ffed52b94f09b2cd1fbb40e8cc59d7684605e80d.tar.bz2
re3-ffed52b94f09b2cd1fbb40e8cc59d7684605e80d.tar.lz
re3-ffed52b94f09b2cd1fbb40e8cc59d7684605e80d.tar.xz
re3-ffed52b94f09b2cd1fbb40e8cc59d7684605e80d.tar.zst
re3-ffed52b94f09b2cd1fbb40e8cc59d7684605e80d.zip
Diffstat (limited to '')
-rw-r--r--src/render/SpecialFX.h26
1 files changed, 24 insertions, 2 deletions
diff --git a/src/render/SpecialFX.h b/src/render/SpecialFX.h
index 9c61c0fb..bdd74bee 100644
--- a/src/render/SpecialFX.h
+++ b/src/render/SpecialFX.h
@@ -39,5 +39,27 @@ class C3dMarkers
{
public:
static void PlaceMarkerSet(uint32 id, uint16 type, CVector& pos, float size, uint8 r, uint8 g, uint8 b, uint8 a, uint16 pulsePeriod, float pulseFraction, int16 rotateRate);
-};
-
+};
+
+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