log gamelib/gameboard.py @ 573:ffdaac5d6cf8

age author description
Sat, 28 Nov 2009 20:29:33 +0000 Jeremy Thurgood Select is the default tool.
Sat, 28 Nov 2009 20:21:27 +0000 Simon Cross Don't rely on connect listener call order (PGU stores listeners in a dict).
Sat, 28 Nov 2009 20:00:42 +0000 Simon Cross Remove defunct open_equipment_dialog.
Sat, 28 Nov 2009 19:59:46 +0000 Simon Cross Replace monolithic sell equipment tool with a tool for each type of equipment.
Sat, 28 Nov 2009 19:33:41 +0000 Neil Muller Move quit stuff into seperate function
Sat, 28 Nov 2009 19:30:06 +0000 Neil Muller Add 'Save and Quit' option to quit dialog. Move game events from engine to constants to ease 'import engine' fun
Sat, 28 Nov 2009 19:15:56 +0000 Jeremy Thurgood Cursors change.
Sat, 28 Nov 2009 18:40:04 +0000 Neil Muller Show count of selected chickens in buildings
Sat, 28 Nov 2009 18:20:46 +0000 Neil Muller Add gameboard to buildings. Update save version as this breaks old save games
Sat, 28 Nov 2009 18:04:28 +0000 Neil Muller Add warning dialogs for dangerous operations
Sat, 28 Nov 2009 17:45:28 +0000 Neil Muller Make checkdialog take strings to show as input. Add possiblity of 3rd button on dialog
Sat, 28 Nov 2009 17:37:13 +0000 Jeremy Thurgood Preparatory work for woodland biodiversity.
Sat, 28 Nov 2009 11:25:56 +0000 Simon Cross Remove gameboard and dialog event flow hacks.
Sat, 28 Nov 2009 10:46:19 +0000 Jeremy Thurgood Counter display more compact, although not as pretty as it should be.
Sat, 28 Nov 2009 10:11:57 +0000 Jeremy Thurgood Shift+group to add to current selection.
Sat, 28 Nov 2009 10:02:38 +0000 Neil Muller Move gameboard event prodding into the widgets - better matches pgu internals
Sat, 28 Nov 2009 09:52:08 +0000 Jeremy Thurgood Lumberjacks only wander off when their work is done.
Sat, 28 Nov 2009 08:59:00 +0000 Adrianna Pińska put back code to highlight move/select button appropriately
Fri, 27 Nov 2009 23:29:32 +0000 Neil Muller Correctly set the position of newly hatched chickens in buildings
Fri, 27 Nov 2009 21:13:43 +0000 Neil Muller Avoid buglet where sprite isn't properly removed for a safe fox
Fri, 27 Nov 2009 19:56:08 +0000 Jeremy Thurgood Alt also sets groups, because jerith has a weird OS setup.
Fri, 27 Nov 2009 19:41:30 +0000 Simon Cross Don't try to open non-abodes.
Fri, 27 Nov 2009 15:00:47 +0000 Neil Muller Remove debugging print (oops)
Fri, 27 Nov 2009 15:00:13 +0000 Neil Muller Hack middle-click clearing selection into the building_dialog
Fri, 27 Nov 2009 14:44:38 +0000 Neil Muller Fix some indentation weirdnesses that have crept in
Fri, 27 Nov 2009 14:40:33 +0000 Neil Muller Apply action to all selected chickens in building dialog
Fri, 27 Nov 2009 14:31:44 +0000 Neil Muller Add 'select all' button
Fri, 27 Nov 2009 14:08:28 +0000 Neil Muller Cursor hint for Ctrl-click move
Fri, 27 Nov 2009 13:55:07 +0000 Neil Muller Remove move tool. Add basic controls reference dialog
Fri, 27 Nov 2009 12:08:55 +0000 Neil Muller Reset cursor as well when changing tool. Avoid crash with non-default toolbar
Fri, 27 Nov 2009 10:06:28 +0000 David Fraser On move, revert to the select tool - why would you want to move the same chicken twice?
Thu, 26 Nov 2009 23:36:20 +0000 Simon Cross Add restore game button to main menu.
Thu, 26 Nov 2009 22:50:57 +0000 Adrianna Pińska fixed selling of equipment from selected chickens
Thu, 26 Nov 2009 22:28:22 +0000 Simon Cross Save game loading working again.
Thu, 26 Nov 2009 00:18:31 +0000 Adrianna Pińska deselect chickens at night
Wed, 25 Nov 2009 23:51:33 +0000 Adrianna Pińska chickens in closed buildings deselected. building opens if you put in chickens and it's not full. opening building with move or select tool allows rearrangement of chickens in building. fixed multiselect in buildings.
Wed, 25 Nov 2009 23:25:10 +0000 Simon Cross Only include top widget when creating snapshot.
Wed, 25 Nov 2009 23:15:56 +0000 Simon Cross Basic snapshot support in save games added.
Wed, 25 Nov 2009 22:36:48 +0000 Adrianna Pińska fixed multiple chicken eviction bug
Wed, 25 Nov 2009 22:26:31 +0000 Adrianna Pińska cleaned up tool reset / preservation on toolbar change so that it all happens in one place
Wed, 25 Nov 2009 22:15:29 +0000 Adrianna Pińska toggling select/move can now be initiated from no selected tool and in any toolbar where select/move is allowed
Wed, 25 Nov 2009 22:08:30 +0000 Adrianna Pińska fixed so that tool highlight also cleared.
Wed, 25 Nov 2009 22:07:48 +0000 Neil Muller selection groups
Wed, 25 Nov 2009 22:06:04 +0000 Adrianna Pińska put back deselect tool + chickens under middleclick, so that you can fall back to old equip behaviour while in equipment menu
Wed, 25 Nov 2009 21:58:29 +0000 Adrianna Pińska rationalised when tools are reset; e.g. you can trade wood without losing selection / move tool. Default toolbar shows correct tool when reloaded (select/move only; other tools reset)
Wed, 25 Nov 2009 21:41:08 +0000 Neil Muller Handle placing onto oneself better
Wed, 25 Nov 2009 21:17:45 +0000 Adrianna Pińska toggling move/select from subtoolbar no longer crashes
Wed, 25 Nov 2009 20:44:28 +0000 Adrianna Pińska selected button switches when you toggle select/move
Wed, 25 Nov 2009 19:56:18 +0000 Neil Muller Don't look for chickens in fences
Wed, 25 Nov 2009 19:50:40 +0000 Adrianna Pińska right-click now toggles select and move tool
Wed, 25 Nov 2009 18:59:51 +0000 Simon Cross Use KMOD_SHIFT to allow shift-click selecting of multiple chickens.
Wed, 25 Nov 2009 18:45:20 +0000 Adrianna Pińska middle-click deselects chickens but not the tool.
Wed, 25 Nov 2009 17:44:32 +0000 Jeremy Thurgood Animals have their own gameboard references instead of lugging them around in params all the time.
Wed, 25 Nov 2009 17:08:17 +0000 Jeremy Thurgood Rinkhals eats eggs, along with associated changes.
Wed, 25 Nov 2009 16:42:28 +0000 Neil Muller Allow moving multiple animals more easily
Wed, 25 Nov 2009 15:25:29 +0000 Neil Muller don't crash when selling eggs from selected chickens
Wed, 25 Nov 2009 14:32:40 +0000 Neil Muller Partially working (but much less crashy) multiple select support
Tue, 24 Nov 2009 22:21:06 +0000 Simon Cross Alter day counter logic a bit to cater for the case when it stops being the last day.
Tue, 24 Nov 2009 21:20:38 +0000 Simon Cross Start of support for restoring level information.
Mon, 23 Nov 2009 22:43:55 +0000 Simon Cross Save and restore tilevid when loading / saving games.
Mon, 23 Nov 2009 21:06:16 +0000 Adrianna Pińska avoid division by zero
Mon, 23 Nov 2009 21:01:15 +0000 Adrianna Pińska exchange rate should be per tree, not per plank
Mon, 23 Nov 2009 20:53:11 +0000 Adrianna Pińska Wood market!
Mon, 23 Nov 2009 16:12:37 +0000 Jeremy Thurgood Fix position cache removal, slightly optimise chicken range check.
Mon, 23 Nov 2009 10:30:22 +0000 Jeremy Thurgood Factor position cache out into its own class, make Position more useful.
Sat, 21 Nov 2009 20:32:26 +0000 Simon Cross Redraw counters after restoring game.
Sat, 21 Nov 2009 20:24:51 +0000 Neil Muller Seperate counter redrawing as seperate method
Sat, 21 Nov 2009 20:20:59 +0000 Neil Muller Redraw counters when changing toolbars
Sat, 21 Nov 2009 20:11:08 +0000 Neil Muller Fix toolbar alignment
Sat, 21 Nov 2009 19:58:49 +0000 Neil Muller The sub-toolbar rewrite, the finally not crashing version
Sat, 21 Nov 2009 19:08:22 +0000 Simon Cross Support for saving and loading games (toolbar entries commented out for lack of space).
Sat, 21 Nov 2009 17:33:49 +0000 Neil Muller Disable non-selectable toolbar widgets at night
Sat, 21 Nov 2009 16:59:49 +0000 Neil Muller Seperate toolbar and gameboard
Sat, 21 Nov 2009 16:21:38 +0000 Adrianna Pińska buildings cost wood
Sat, 21 Nov 2009 15:55:32 +0000 Simon Cross Add method for clearing all chickens (will be useful later). Cache animal positions only just before night starts. Range-check position before adding it to the cache.
Sat, 21 Nov 2009 15:53:17 +0000 Neil Muller Use fully rendered map in gameboard choosing screen
Sat, 21 Nov 2009 15:35:23 +0000 Adrianna Pińska chickens scatter; chop wood
Sat, 21 Nov 2009 15:24:56 +0000 Simon Cross Remove unused imports.
Sat, 21 Nov 2009 15:22:41 +0000 Jeremy Thurgood Move hatching logic into chickens.
Sat, 21 Nov 2009 12:48:12 +0000 Jeremy Thurgood Dear most illustrious brother, I seek your cooperation with the refactoring of egg layerings and the reloading of guns. Please to provide bank details.
Sat, 21 Nov 2009 12:07:01 +0000 Jeremy Thurgood Add Sniper Rifle and give guns limited ammunition.
Sat, 21 Nov 2009 09:40:29 +0000 Neil Muller Levels can include starting equipment
Thu, 19 Nov 2009 13:53:00 +0000 Neil Muller Fix crash due to invalid cache
Thu, 19 Nov 2009 11:26:55 +0000 Neil Muller Remove board size restriction on number of foxes
Wed, 18 Nov 2009 15:54:31 +0000 Neil Muller Tweak fox attack logic - we no longer ignore chickens we accidently step on
Tue, 17 Nov 2009 22:22:47 +0000 Neil Muller Fix lurking future bug
Tue, 17 Nov 2009 15:43:30 +0000 Neil Muller Cache fox positions to avoid a repeated loop
Fri, 13 Nov 2009 14:14:57 +0000 Neil Muller Make foxes enter buildings, with a seperate count for them
Thu, 12 Nov 2009 21:31:52 +0000 Neil Muller Refactor for further move work
Thu, 12 Nov 2009 21:14:21 +0000 Neil Muller Basic support for z coordinate
Sun, 01 Nov 2009 21:08:43 +0000 Neil Muller Move game_over logic from gameboard to level, for later reworking
Thu, 29 Oct 2009 20:55:37 +0000 Neil Muller Add basic level support (level choosing needs work)
Mon, 26 Oct 2009 20:04:13 +0000 Neil Muller Use code layer to place chickens
Sun, 25 Oct 2009 11:36:30 +0000 Jeremy Thurgood little cleanups, every sprite in its proper layer.
Sun, 25 Oct 2009 10:56:01 +0000 Jeremy Thurgood Ripped out legacy animation infrastructure in favour of layered sprites.
Sat, 24 Oct 2009 21:43:15 +0000 Jeremy Thurgood Multilayer sprite ordering. Only used by cursors so far.
Sat, 24 Oct 2009 19:08:54 +0000 Jeremy Thurgood Fences are now buildings, with appropriate (but ugly) UI changes.
Tue, 13 Oct 2009 20:28:48 +0000 Simon Cross Merge in post-pyweek fixes (r359:371). 1.0.x
Mon, 07 Sep 2009 11:34:06 +0000 Neil Muller Don't go into debt when buying equipment in buildings
Mon, 07 Sep 2009 11:20:52 +0000 Neil Muller Add bounds checking to animation drawing loop
Sat, 05 Sep 2009 23:17:31 +0000 Simon Cross Add fences to price list. Tidying up price list dialog a little.
Sat, 05 Sep 2009 23:11:16 +0000 Neil Muller Remove the "constant" constant
Sat, 05 Sep 2009 23:08:34 +0000 Simon Cross Only set color of days left to red when there is only one day left.
Sat, 05 Sep 2009 22:58:59 +0000 Adrianna Pińska if turns are unlimited, display day as x/-
Sat, 05 Sep 2009 22:30:17 +0000 Neil Muller Ask 'Are you sure?'
Sat, 05 Sep 2009 22:06:28 +0000 Simon Cross Show total number of days and mark days in red when it's the last day.
Sat, 05 Sep 2009 21:50:04 +0000 Simon Cross Add TextDialog class and use it to warn about selling your last chicken.
Sat, 05 Sep 2009 21:38:41 +0000 Neil Muller Move starting chickens to constants
Sat, 05 Sep 2009 21:30:18 +0000 Neil Muller Limit maximum numbe of foxes generated
Sat, 05 Sep 2009 19:26:01 +0000 Neil Muller Switch between 'Finished Day' and 'Fast Forward' modes
Sat, 05 Sep 2009 18:56:59 +0000 Neil Muller Fix test for time limit
Sat, 05 Sep 2009 18:05:58 +0000 Neil Muller Refactor sell_callback, so sell_equipment work
Sat, 05 Sep 2009 18:01:37 +0000 Adrianna Pińska three game modes: fortnight, quarter, fox extinction
Sat, 05 Sep 2009 17:36:36 +0000 Jeremy Thurgood Capitalised all equipment names.
Sat, 05 Sep 2009 17:35:17 +0000 Simon Cross Fix up data module unix-to-local path fixing. Fix similar problems in tile importing.
Sat, 05 Sep 2009 17:18:14 +0000 Neil Muller Mostly working selling equipment in buildings
Sat, 05 Sep 2009 16:42:32 +0000 Neil Muller Buy equipment for chickens in buildings
Sat, 05 Sep 2009 16:19:16 +0000 Neil Muller Explain horrible hack
Sat, 05 Sep 2009 16:14:23 +0000 Neil Muller Clear tool when calling price dialog
Sat, 05 Sep 2009 16:07:48 +0000 Jeremy Thurgood Fences are eclectic.