Commit graph

17 commits

Author SHA1 Message Date
Fatbag
06f13d50ac 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.
2012-04-20 19:37:08 -05:00
Fatbag
64a5c0a425 Reverted to the original GetLastError() method for CreateMutex(), as, it turns out, Microsoft lied. Even when the function fails, it returns non-NULL. 2012-04-13 23:16:34 -05:00
Fatbag
c5117169b9 Just learned that PostThreadMessage(ThreadID, WM_QUIT, 0, 0) works while PostQuitMessage(0) does not. Fixed an issue where, if the system fails before the window is created, the message loop thread is never killed. 2012-04-13 23:08:36 -05:00
Fatbag
4294cb41f7 Split off the Windows message handler into a separate thread. 2012-04-13 22:55:13 -05:00
Fatbag
d9afae7022 I forgot to add the new file. 2012-04-10 00:07:25 -05:00
Fatbag
7a5124a687 Added Graphics::DrawText which can draw text on to an image with alignment. No multi-line support yet. 2012-04-09 23:58:16 -05:00
Fatbag
7d9259b63d Added eagames.bmp reading to the LoginScreen scene.
Added BCON parsing functionality contributed by Propeng.
2012-04-08 12:20:25 -05:00
Fatbag
4442056335 Added libmpg123 to FileHandler. This and libjpeg-turbo are now being assembled by GCC and NASM, respectively.
BMP support will be coming next.
2012-03-25 20:51:30 -05:00
Fatbag
705da4ba5c Realized I had forgotten to initialize the UserInput struct to 0. 2012-03-21 21:31:46 -05:00
Fatbag
551f3c834f Proper scene logic, whoo! 2012-03-21 20:58:06 -05:00
Fatbag
2e7f3b24ca New Scene class definition. Also fixed a compile error for some users involving the definition of IID_IXAudio2 2012-03-21 20:00:22 -05:00
Fatbag
8bb608d5ce Fully functional cst parser.
New client code for Windows. The window does not appear until the OpenGL rendering context has completely initialized and (one day) has the first frame ready to draw.
2012-03-18 23:06:08 -05:00
Fatbag
aa9ef65d64 Various library changes 2012-02-04 01:19:52 -06:00
Fatbag
17c3bb1145 Switched over to cmake. Everything now works in one command. 2012-01-28 12:11:34 -06:00
Fatbag
250458b384 Decent analysis of UTalk 2012-01-17 20:23:53 -06:00
Fatbag
1a279588f1 In the process of setting up a convenient Makefile build system 2011-12-06 03:09:32 -06:00
Fatbag
8a16e52bf6 Somewhat of a start 2011-11-24 00:53:35 -06:00