kts
|
1569e89715
|
Fixed elements rendering twice in state_menu. Added a moving background to state_menu for movement testing.
|
2014-02-26 18:43:05 -08:00 |
kts
|
c6efd2245b
|
Made some changes for the timer to work on OS X. It is likely unoptimized, but more research will be done. Also, for some unknown reason, the OpenGL renderer now runs slower than the terrible software renderer (in OS X). No clue why as of yet.
|
2014-02-25 03:31:27 -08:00 |
kts
|
9b5a1ed4b3
|
Added rendering code for sprite and fonts, made a pretty bad high precision timer - while being higher precision than SDL_GetTicks, it has a few problems that I must sort out. Also need to make it crossplatform.
|
2014-02-25 02:45:10 -08:00 |
kts
|
b3f50776e8
|
Lots of stuff added since last commit. ASCII-based Font system and Element system(similar to tile_editor)s now partially in place. State management now more flushed out, but still likely to be tweaked. Now sports two renderers - software-mode SDL and hardware-accelerated OpenGL mode. At the moment code is not in place to switch between the two renderers in-program (managed by a call to interfaceSetRenderer), but it will be added later with the appropriate freeing of surfaces and textures. A more generalized binary to .c/.h program was added to the new tools subdirectory - it takes a binary file as an argument and creates the appropriate .c/.h files. It also can handle the append flag, -a.
|
2014-02-22 00:20:44 -08:00 |