Commit Graph

65 Commits

Author SHA1 Message Date
mdb 8f5295ee48 git-svn-id: https://samskivert.googlecode.com/svn/trunk@363 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2001-10-17 02:19:54 +00:00
mdb 2ebed980b5 Move features and claim array initialization into initFeatures() so that
we can call it after unserialization as well as via the regular
constructor.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@362 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-16 17:12:32 +00:00
mdb ce346764d5 Specify a valid rather than blank tile for the throwaway placing tile.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@361 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-16 17:11:58 +00:00
mdb 520df41715 Fixed bug in isValidPlacement(); added code to log reason for invalid
placement; changed initFeatures() to inheritFeatures().


git-svn-id: https://samskivert.googlecode.com/svn/trunk@360 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-16 17:11:07 +00:00
mdb 56873a6443 Implemented claim groups and the necessary code to properly propagate
claim groups to newly placed tiles and to existing tiles when a piecen is
placed or a tile is placed that joins groups. Whee!


git-svn-id: https://samskivert.googlecode.com/svn/trunk@359 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-16 09:31:46 +00:00
mdb df898f60d1 Whole bunches of stuff. The game flow should do the right thing from start
to finish (ending the game when the last tile is played). Added a turn
indicator view that displays whose turn it is, the tile being placed and
the number of tiles remaining to be played. Added code to create
geometries for each tile which dictates which parts of it are farms, roads
and cities, respectively. These are currently used to render the tiles but
will eventually just be used to identify where the user wants to place
their piecen.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@358 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-16 01:41:55 +00:00
mdb 7dc00b831e Created tile feature geometry specifications and test code to draw the
geometry to make sure it is correct.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@356 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-15 19:55:15 +00:00
mdb 25cf08c651 Removed debug logging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@355 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-15 19:54:53 +00:00
mdb 6d377584f5 Have things to the point where players take turns placing tiles. Whee!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@353 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-12 20:34:13 +00:00
mdb 0c23daaeb6 Doris the rename-asaurus!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@351 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-11 04:08:22 +00:00
mdb 4c6b9f9546 Added isValidPlacement() for checking after the fact whether a tile
placement is legal.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@350 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-11 04:00:49 +00:00
mdb f476914a61 Tiles render themselves using a primitive but informative method. Wrote
code to figure out where tiles can legally be placed. Wrote code that
displays a tile for placement on the board and does some neat calculations
to determine the orientation of the tile based on the mouse coordinates
within the tile. It's progress folks. We love progress.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@349 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-10 06:14:57 +00:00
mdb 48c2c126ab Mo betta progress!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@348 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-10 03:35:02 +00:00
mdb bec5738f2b Skeleton for Venison! The tile-laying game of farming, brigandeering and
general conquest.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@347 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-09 20:27:35 +00:00
mdb bc718ddb13 Initial revision
git-svn-id: https://samskivert.googlecode.com/svn/trunk@340 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-03 18:32:27 +00:00