summaryrefslogblamecommitdiffstats
path: root/src/render/Credits.h
blob: ed7f8a74785c4d0c0f88e6fe397b0299a6bc56c3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
};