summaryrefslogtreecommitdiffstats
path: root/src/render/Credits.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Credits.h')
-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);
+};