summaryrefslogtreecommitdiffstats
path: root/src/render/Credits.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-31 00:32:50 +0200
committeraap <aap@papnet.eu>2019-05-31 00:32:50 +0200
commit454276f940c9a2079403c18126ed61f3e95694c1 (patch)
tree8908884088db6e41d1eb981524ab37d7b7c522df /src/render/Credits.h
parentadded CText (diff)
downloadre3-454276f940c9a2079403c18126ed61f3e95694c1.tar
re3-454276f940c9a2079403c18126ed61f3e95694c1.tar.gz
re3-454276f940c9a2079403c18126ed61f3e95694c1.tar.bz2
re3-454276f940c9a2079403c18126ed61f3e95694c1.tar.lz
re3-454276f940c9a2079403c18126ed61f3e95694c1.tar.xz
re3-454276f940c9a2079403c18126ed61f3e95694c1.tar.zst
re3-454276f940c9a2079403c18126ed61f3e95694c1.zip
Diffstat (limited to '')
-rw-r--r--src/render/Credits.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/render/Credits.h b/src/render/Credits.h
new file mode 100644
index 00000000..ed7f8a74
--- /dev/null
+++ b/src/render/Credits.h
@@ -0,0 +1,15 @@
+#pragma once
+
+class CCredits
+{
+ static bool &bCreditsGoing;
+ static uint32 &CreditsStartTime;
+public:
+ static void Init(void);
+ static void Start(void);
+ static void Stop(void);
+ static bool AreCreditsDone(void) { return bCreditsGoing; }
+ static void Render(void);
+ static void PrintCreditSpace(float space, uint32 &line);
+ static void PrintCreditText(float scaleX, float scaleY, wchar_t *text, uint32 &lineoffset, float scrolloffset);
+};