|
c5d6167e8c
|
Refactored code to do dynamic_casts in fewer places
|
2011-07-03 16:57:47 -04:00 |
|
|
ed6e0c2bf2
|
Moved font into the resource directory
|
2011-07-03 16:46:16 -04:00 |
|
|
f90c60b6ac
|
Refactored Vertex and GameVertex classes into their own files, put some functions in GameVertex that made sense there
|
2011-07-03 16:37:07 -04:00 |
|
|
8ad4ec0672
|
Added some basic differences between vertex types
|
2011-07-03 15:48:06 -04:00 |
|
|
fc0c0f26fd
|
Added ability to actually build different unit types, as well as icons to distinguish them
|
2011-07-03 15:16:00 -04:00 |
|
|
6085267cc4
|
Added menu buttons for building types of units
|
2011-07-03 10:26:46 -04:00 |
|
|
793d6bd9a2
|
Now the buttons actually do something - also added a build_type
|
2011-07-03 10:12:47 -04:00 |
|
|
d04cde49c8
|
Added rudimentary menu buttons, not yet connected to anything... it feels a bit hackish, to be honest, but I don't think we'll ever have too many to worry about, and if so, we can think about refactoring then
|
2011-07-02 17:34:11 -04:00 |
|
|
c1ea399448
|
Added menu area at the bottom of the game screen
|
2011-07-01 23:47:24 -04:00 |
|
|
306f3d0c17
|
Start using dynamic_casts where appropriate, cleaned up some bugs
|
2011-07-01 23:24:41 -04:00 |
|
|
2bdc7e0e59
|
Change text over nodes to just be hit points
|
2011-07-01 22:23:16 -04:00 |
|
|
e221f1990c
|
Added player names and some debug stuff
|
2011-07-01 20:00:19 -04:00 |
|
|
bf151a928a
|
Continuing to refactor code to make room for larger features. Currently, attacking doesn't work
|
2011-07-01 18:23:01 -04:00 |
|
|
c49fdb8169
|
Added display showing information about selected vertex
|
2011-07-01 18:04:15 -04:00 |
|
|
d15e6590ec
|
Added code for drawing a circle around selected vertex
|
2011-07-01 17:44:43 -04:00 |
|
|
4daaced5d7
|
Laid the groundwork for a more complex game - introduced a couple of bugs (can attack from anywhere, can't select another of your own vertices in attack mode...)
|
2011-07-01 14:10:45 -04:00 |
|
|
938e75716c
|
Implemented font framework, print info about each vertex
|
2011-07-01 13:15:30 -04:00 |
|
|
b31a3e26ab
|
Added some performance boosting framerate regulation
|
2011-07-01 11:40:38 -04:00 |
|
|
b50ed649f5
|
Reworked initting code so new states get initted properly in main loop
|
2011-07-01 11:16:41 -04:00 |
|
|
ca60c61ce6
|
Implemented and integrated title screen - now game crashes at launch, though
|
2011-06-30 17:21:46 -04:00 |
|
|
d2322a7caf
|
Made some adjustments to the game's ranging
|
2011-06-28 22:27:33 -04:00 |
|
|
8550b0f8f1
|
Cleaned up some debugging code
|
2011-06-28 22:14:55 -04:00 |
|
|
7e17865c2a
|
Implemented TitleScreen::init()
|
2011-06-28 21:44:28 -04:00 |
|
|
6a4b1c4cf2
|
Refactored a wee bit of code in the GameStack... stack, and started building the title screen code
|
2011-06-28 21:38:18 -04:00 |
|
|
2bddf92001
|
Folded sdlrenderer code into Game(), since we'll be doing rendering on a per-state basis
|
2011-06-27 22:35:52 -04:00 |
|
|
5522cbc64c
|
Refactored code heavily to be able to use a state stack - main function now does the basic init, looping, and shutdown, and each state is a pointer to an object that has its own event handling, rendering, etc
|
2011-06-27 22:07:52 -04:00 |
|