]> git.scottworley.com Git - planeteer/commitdiff
More haphazard development
authorScott Worley <sworley@chkno.net>
Thu, 27 Oct 2011 05:37:32 +0000 (22:37 -0700)
committerScott Worley <sworley@chkno.net>
Thu, 27 Oct 2011 05:37:32 +0000 (22:37 -0700)
Fix StateTableSize().

Fix visits and flight_plan to be [] instead of [""] when not specified.

Add some sanity checking in EncodeIndex().

Move table allocation out of FillStateTable1() so that it can be run
through FillStateTable1() multiple times for verification.

More documentation/thoughts on state table size.

Add an empty InitializeStateTable() to remind me to do that.

Start poking at FillStateTableCell().  This approach won't work.
FillStateTable2() cannot just process one cell completely and then move
onto the next.  Some types of processing (eg: arriving, selling) have to
be performed to all the cells before the next round of actions (buying).


No differences found