From: Scott Worley Date: Thu, 27 Oct 2011 05:37:32 +0000 (-0700) Subject: More haphazard development X-Git-Url: http://git.scottworley.com/planeteer/commitdiff_plain/e346cb3782a1bfd09dd52b8ad65a96ea96105aa4?hp=e346cb3782a1bfd09dd52b8ad65a96ea96105aa4 More haphazard development 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). ---