|
825a3f8e4a
|
Some drastic refactoring to reduce complexity for buttons, but now all the primary buttons always look selected...
|
2011-07-06 17:25:12 -04:00 |
|
|
eccc773457
|
Added a 'ghost node' so players can see where their new nodes will go, and fixed some bugs in the process
|
2011-07-06 16:17:30 -04:00 |
|
|
79740d3cee
|
Implemented energy costs
|
2011-07-04 01:27:56 -04:00 |
|
|
cfe5666c04
|
Added End Turn button so we can do multiple actions per round - this will be limited by energy shortly
|
2011-07-03 17:45:11 -04:00 |
|
|
c5d6167e8c
|
Refactored code to do dynamic_casts in fewer places
|
2011-07-03 16:57:47 -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 |
|
|
306f3d0c17
|
Start using dynamic_casts where appropriate, cleaned up some bugs
|
2011-07-01 23:24:41 -04:00 |
|
|
a2f36a447b
|
Created GameVertex class so that we can store game-specific data in the vertices
|
2011-07-01 22:04:58 -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 |
|
|
7fd7f90770
|
Fixed the selection bugs
|
2011-07-01 14:39:45 -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 |
|
|
36414a6996
|
Put framework in place for dealing with graphs in 3 dimensions
|
2011-07-01 12:24:52 -04:00 |
|
|
d2322a7caf
|
Made some adjustments to the game's ranging
|
2011-06-28 22:27:33 -04:00 |
|
|
6aedad51e5
|
Most of the attack functionality now in place, but it's not all quite working yet
|
2011-06-24 14:59:18 -04:00 |
|
|
e51a328641
|
More implementation for attacking
|
2011-06-24 12:18:52 -04:00 |
|
|
931ced321a
|
Let gamedata store information about whether we are attacking or moving
|
2011-06-24 12:02:53 -04:00 |
|
|
1a555b900c
|
Split calculate_strength into a recursive and non-recursive portion - saves a lot of special checking
|
2011-06-24 11:32:50 -04:00 |
|
|
81028d7070
|
Use floats for strength calculations s. This has the amusing problem of making everything after the first node 'inf'
|
2011-06-24 11:06:26 -04:00 |
|
|
977322d4ee
|
First stab at the calculate_strength() function - all it nets us is a floating point exception when compiling with -DDEBUG
|
2011-06-24 11:03:40 -04:00 |
|
|
5205b9dfab
|
Forgot to test compilation, made it happen...
|
2011-06-24 10:19:41 -04:00 |
|
|
5ed05fc829
|
Separated game-specific graph behavior into a subclass, implemented 2 players alternating turns
|
2011-06-23 17:28:49 -04:00 |
|