mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-06 14:40:28 -04:00
Graphics: Added font rendering functions Graphics::DrawText and Graphics::StringImage.
FileHandler: Added support for wav Audio: Added support to play back a sound with XAudio2. We can't delete sounds until we make our own system to keep track of available voices. LoginScreen scene: Upped framerate from 15fps to tickless, and added new logic to clone the scrolling text at the bottom. All of it.
This commit is contained in:
parent
64a5c0a425
commit
06f13d50ac
14 changed files with 429 additions and 162 deletions
|
@ -42,4 +42,5 @@ namespace Graphics {
|
|||
extern FT_Face FontFace;
|
||||
void DrawText(Image_t * Image, const wchar_t * String, int x, int y, unsigned width, unsigned height,
|
||||
TextAlignment Alignment, int font, COLORREF Color);
|
||||
Image_t * StringImage(const wchar_t * String, int font, COLORREF Color);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue