tabakrolletjie.git
8 years agoflake8
Neil [Sat, 10 Sep 2016 17:21:02 +0000 (19:21 +0200)]
flake8

8 years agoCheck that we're not placing lights on top of turnips
Neil [Sat, 10 Sep 2016 17:20:28 +0000 (19:20 +0200)]
Check that we're not placing lights on top of turnips

8 years agoPEP8 fix.
Simon Cross [Sat, 10 Sep 2016 17:08:05 +0000 (19:08 +0200)]
PEP8 fix.

8 years agoAdd debug timer to Boyd.tick
Neil [Sat, 10 Sep 2016 17:04:06 +0000 (19:04 +0200)]
Add debug timer to Boyd.tick

8 years agoUpdate todo
Neil [Sat, 10 Sep 2016 16:35:09 +0000 (18:35 +0200)]
Update todo

8 years agoTransform Boyd based on resistances
Neil [Sat, 10 Sep 2016 16:34:40 +0000 (18:34 +0200)]
Transform Boyd based on resistances

8 years agoRemove debug print.
Simon Cross [Sat, 10 Sep 2016 16:55:30 +0000 (18:55 +0200)]
Remove debug print.

8 years agoDrain power at night.
Simon Cross [Sat, 10 Sep 2016 16:54:11 +0000 (18:54 +0200)]
Drain power at night.

8 years agoAdd infobar and battery manager to night.
Simon Cross [Sat, 10 Sep 2016 16:51:03 +0000 (18:51 +0200)]
Add infobar and battery manager to night.

8 years agoChange how infobar updates work.
Simon Cross [Sat, 10 Sep 2016 16:47:43 +0000 (18:47 +0200)]
Change how infobar updates work.

8 years agoCache infobar more aggressively. Rrrr.
Simon Cross [Sat, 10 Sep 2016 16:42:22 +0000 (18:42 +0200)]
Cache infobar more aggressively. Rrrr.

8 years agoSwitch day to infobar.
Simon Cross [Sat, 10 Sep 2016 16:38:36 +0000 (18:38 +0200)]
Switch day to infobar.

8 years agoAdd infobar.
Simon Cross [Sat, 10 Sep 2016 16:38:13 +0000 (18:38 +0200)]
Add infobar.

8 years agoChange turnip target to a property.
Simon Cross [Sat, 10 Sep 2016 16:01:10 +0000 (18:01 +0200)]
Change turnip target to a property.

8 years agoMove harvested and seeds to gamestate.
Simon Cross [Sat, 10 Sep 2016 15:55:02 +0000 (17:55 +0200)]
Move harvested and seeds to gamestate.

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 15:46:22 +0000 (17:46 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoRemove extra colour combo for Confluence.
Simon Cross [Sat, 10 Sep 2016 15:46:10 +0000 (17:46 +0200)]
Remove extra colour combo for Confluence.

8 years agoAdd basic support resistances
Neil [Sat, 10 Sep 2016 15:43:18 +0000 (17:43 +0200)]
Add basic support resistances

8 years agoRemove unused power configuration.
Simon Cross [Sat, 10 Sep 2016 15:26:35 +0000 (17:26 +0200)]
Remove unused power configuration.

8 years agoAdd battery status to infobar.
Simon Cross [Sat, 10 Sep 2016 15:23:58 +0000 (17:23 +0200)]
Add battery status to infobar.

8 years agoclear turnips on level load; invalidate seeds on level load; less magical seeds property
adrianna [Sat, 10 Sep 2016 14:54:36 +0000 (16:54 +0200)]
clear turnips on level load; invalidate seeds on level load; less magical seeds property

8 years agoadd exit to night
adrianna [Sat, 10 Sep 2016 14:54:05 +0000 (16:54 +0200)]
add exit to night

8 years agoRename info bar from toolbar to infobar. Add target number to infobar. Tweak rendering
Neil [Sat, 10 Sep 2016 14:50:45 +0000 (16:50 +0200)]
Rename info bar from toolbar to infobar. Add target number to infobar. Tweak rendering

8 years agoUpdate todo
Neil [Sat, 10 Sep 2016 14:28:56 +0000 (16:28 +0200)]
Update todo

8 years agoAdd won level check
Neil [Sat, 10 Sep 2016 14:28:32 +0000 (16:28 +0200)]
Add won level check

8 years agoRemove print.
Simon Cross [Sat, 10 Sep 2016 14:51:08 +0000 (16:51 +0200)]
Remove print.

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 14:49:55 +0000 (16:49 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoAdd end day.
Simon Cross [Sat, 10 Sep 2016 14:47:56 +0000 (16:47 +0200)]
Add end day.

8 years agoAdd battery pack manager.
Simon Cross [Sat, 10 Sep 2016 14:47:44 +0000 (16:47 +0200)]
Add battery pack manager.

8 years agoadded pausing to night and moved reset tool after other tools
adrianna [Sat, 10 Sep 2016 14:25:27 +0000 (16:25 +0200)]
added pausing to night and moved reset tool after other tools

8 years agoAdd battery config to levels.
Simon Cross [Sat, 10 Sep 2016 14:29:26 +0000 (16:29 +0200)]
Add battery config to levels.

8 years agoEnd of the day button is done.
Simon Cross [Sat, 10 Sep 2016 14:27:09 +0000 (16:27 +0200)]
End of the day button is done.

8 years agoClear light toolbar when the tool is cancelled.
Simon Cross [Sat, 10 Sep 2016 14:21:39 +0000 (16:21 +0200)]
Clear light toolbar when the tool is cancelled.

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 14:19:40 +0000 (16:19 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoAdd colour selection based on available colours.
Simon Cross [Sat, 10 Sep 2016 14:19:34 +0000 (16:19 +0200)]
Add colour selection based on available colours.

8 years agoAllow supplying and image to image button.
Simon Cross [Sat, 10 Sep 2016 14:18:16 +0000 (16:18 +0200)]
Allow supplying and image to image button.

8 years agoAdd method for finding light fitting image by light type.
Simon Cross [Sat, 10 Sep 2016 14:17:52 +0000 (16:17 +0200)]
Add method for finding light fitting image by light type.

8 years agoAdd light colour wedges transforms.
Simon Cross [Sat, 10 Sep 2016 14:17:22 +0000 (16:17 +0200)]
Add light colour wedges transforms.

8 years agoUpdate TODO
Neil [Sat, 10 Sep 2016 14:08:37 +0000 (16:08 +0200)]
Update TODO

8 years agoFix syntax
Neil [Sat, 10 Sep 2016 14:07:51 +0000 (16:07 +0200)]
Fix syntax

8 years agoAdd 'game over' check and display
Neil [Sat, 10 Sep 2016 14:04:22 +0000 (16:04 +0200)]
Add 'game over' check and display

8 years agomade pause/play buttons for night time
adrianna [Sat, 10 Sep 2016 13:57:21 +0000 (15:57 +0200)]
made pause/play buttons for night time

8 years agoadded exit button
adrianna [Sat, 10 Sep 2016 13:48:48 +0000 (15:48 +0200)]
added exit button

8 years agoTransition screen done
Neil [Sat, 10 Sep 2016 13:42:22 +0000 (15:42 +0200)]
Transition screen done

8 years agohooked up night button and moved cursor reset next to other tools
adrianna [Sat, 10 Sep 2016 13:37:10 +0000 (15:37 +0200)]
hooked up night button and moved cursor reset next to other tools

8 years agonew default cursor image plus night time activation image
adrianna [Sat, 10 Sep 2016 13:32:29 +0000 (15:32 +0200)]
new default cursor image plus night time activation image

8 years agoAdd end of night text overlay
Neil [Sat, 10 Sep 2016 13:39:23 +0000 (15:39 +0200)]
Add end of night text overlay

8 years agoDrop-shadow helper
Neil [Sat, 10 Sep 2016 13:38:11 +0000 (15:38 +0200)]
Drop-shadow helper

8 years agoSet available colour combinations in levels.
Simon Cross [Sat, 10 Sep 2016 13:24:26 +0000 (15:24 +0200)]
Set available colour combinations in levels.

8 years agoFactor light fitting rendering out into a function.
Simon Cross [Sat, 10 Sep 2016 13:23:26 +0000 (15:23 +0200)]
Factor light fitting rendering out into a function.

8 years agoPEP8 fixes.
Simon Cross [Sat, 10 Sep 2016 13:09:01 +0000 (15:09 +0200)]
PEP8 fixes.

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 12:55:33 +0000 (14:55 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoPopulate toolbar from available lights.
Simon Cross [Sat, 10 Sep 2016 12:55:25 +0000 (14:55 +0200)]
Populate toolbar from available lights.

8 years agoAdd available lights list to levels.
Simon Cross [Sat, 10 Sep 2016 12:55:02 +0000 (14:55 +0200)]
Add available lights list to levels.

8 years agoCheck correct distance
Neil [Sat, 10 Sep 2016 12:38:29 +0000 (14:38 +0200)]
Check correct distance

8 years agoAdd todo items
Neil [Sat, 10 Sep 2016 12:28:08 +0000 (14:28 +0200)]
Add todo items

8 years agoIncrease Boyd's starting health over time
Neil [Sat, 10 Sep 2016 12:26:31 +0000 (14:26 +0200)]
Increase Boyd's starting health over time

8 years agoIncrement day at the end of the night
Neil [Sat, 10 Sep 2016 12:25:48 +0000 (14:25 +0200)]
Increment day at the end of the night

8 years agoAdd days to gamestate and day screen display
Neil [Sat, 10 Sep 2016 12:24:09 +0000 (14:24 +0200)]
Add days to gamestate and day screen display

8 years agoRemove unused import.
Simon Cross [Sat, 10 Sep 2016 12:21:27 +0000 (14:21 +0200)]
Remove unused import.

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 12:20:38 +0000 (14:20 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoAdd available lights to tutorial.
Simon Cross [Sat, 10 Sep 2016 12:20:32 +0000 (14:20 +0200)]
Add available lights to tutorial.

8 years agoapproximate circles by polygons in pymunk
adrianna [Sat, 10 Sep 2016 12:19:50 +0000 (14:19 +0200)]
approximate circles by polygons in pymunk

8 years agoRemove initial lights from tutorial.
Simon Cross [Sat, 10 Sep 2016 12:18:00 +0000 (14:18 +0200)]
Remove initial lights from tutorial.

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 12:12:31 +0000 (14:12 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoList levels by title.
Simon Cross [Sat, 10 Sep 2016 12:12:20 +0000 (14:12 +0200)]
List levels by title.

8 years agoHide 'end the night' keypress option behind DEBUG
Neil [Sat, 10 Sep 2016 12:04:01 +0000 (14:04 +0200)]
Hide 'end the night' keypress option behind DEBUG

8 years agoAdd todo items
Neil [Sat, 10 Sep 2016 12:02:42 +0000 (14:02 +0200)]
Add todo items

8 years agoActually end the night on timeout. Also end the night if Boyd dies out
Neil [Sat, 10 Sep 2016 12:00:04 +0000 (14:00 +0200)]
Actually end the night on timeout. Also end the night if Boyd dies out

8 years agoReturn 0 for the direction if it is currently None.
Simon Cross [Sat, 10 Sep 2016 11:55:29 +0000 (13:55 +0200)]
Return 0 for the direction if it is currently None.

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 11:53:06 +0000 (13:53 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoRename tutorial level.
Simon Cross [Sat, 10 Sep 2016 11:52:54 +0000 (13:52 +0200)]
Rename tutorial level.

8 years agoRetitle tutorial level.
Simon Cross [Sat, 10 Sep 2016 11:52:37 +0000 (13:52 +0200)]
Retitle tutorial level.

8 years agoTweak Boyd's max size
Neil [Sat, 10 Sep 2016 11:47:38 +0000 (13:47 +0200)]
Tweak Boyd's max size

8 years agoAdd night length
Neil [Sat, 10 Sep 2016 11:47:29 +0000 (13:47 +0200)]
Add night length

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 11:44:35 +0000 (13:44 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoSet tutorial obstacles.
Simon Cross [Sat, 10 Sep 2016 11:44:24 +0000 (13:44 +0200)]
Set tutorial obstacles.

8 years agoshrub achieved
adrianna [Sat, 10 Sep 2016 11:41:02 +0000 (13:41 +0200)]
shrub achieved

8 years agorotating spotlight fixture
adrianna [Sat, 10 Sep 2016 11:25:06 +0000 (13:25 +0200)]
rotating spotlight fixture

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 11:37:43 +0000 (13:37 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoUse some elif.
Simon Cross [Sat, 10 Sep 2016 11:37:29 +0000 (13:37 +0200)]
Use some elif.

8 years agoTweak Boyd
Neil [Sat, 10 Sep 2016 11:34:15 +0000 (13:34 +0200)]
Tweak Boyd

8 years agoAdd Boyd's spawn position to stations
Neil [Sat, 10 Sep 2016 11:27:00 +0000 (13:27 +0200)]
Add Boyd's spawn position to stations

8 years agoRemove unused local variable.
Simon Cross [Sat, 10 Sep 2016 11:31:45 +0000 (13:31 +0200)]
Remove unused local variable.

8 years agoFix pep8.
Simon Cross [Sat, 10 Sep 2016 11:29:04 +0000 (13:29 +0200)]
Fix pep8.

8 years agoRescale intensity.
Simon Cross [Sat, 10 Sep 2016 11:04:17 +0000 (13:04 +0200)]
Rescale intensity.

8 years agoUpdate placement to changed API
Neil [Sat, 10 Sep 2016 10:56:27 +0000 (12:56 +0200)]
Update placement to changed API

8 years agoUpdate angle in gamestate as well for passing to night
Neil [Sat, 10 Sep 2016 10:54:36 +0000 (12:54 +0200)]
Update angle in gamestate as well for passing to night

8 years agoMerge branch 'master' of ctpug.org.za:tabakrolletjie
Simon Cross [Sat, 10 Sep 2016 10:54:59 +0000 (12:54 +0200)]
Merge branch 'master' of ctpug.org.za:tabakrolletjie

8 years agoAdd total power and damage.
Simon Cross [Sat, 10 Sep 2016 10:54:53 +0000 (12:54 +0200)]
Add total power and damage.

8 years agomerged display of multicoloured light into base class
adrianna [Sat, 10 Sep 2016 10:47:05 +0000 (12:47 +0200)]
merged display of multicoloured light into base class

8 years agomulticoloured light display
adrianna [Sat, 10 Sep 2016 10:39:21 +0000 (12:39 +0200)]
multicoloured light display

8 years agoRight-click and drag light rotation
Neil [Sat, 10 Sep 2016 10:37:57 +0000 (12:37 +0200)]
Right-click and drag light rotation

8 years agoUpdate todos.
Simon Cross [Sat, 10 Sep 2016 10:36:41 +0000 (12:36 +0200)]
Update todos.

8 years agoMake all lamps multicoloured.
Simon Cross [Sat, 10 Sep 2016 10:34:54 +0000 (12:34 +0200)]
Make all lamps multicoloured.

8 years agoAdd direction property to ray manager.
Simon Cross [Sat, 10 Sep 2016 10:28:12 +0000 (12:28 +0200)]
Add direction property to ray manager.

8 years agoSpecify direction and spread rather than angle limits.
Simon Cross [Sat, 10 Sep 2016 10:17:50 +0000 (12:17 +0200)]
Specify direction and spread rather than angle limits.

8 years agoAdd todos from breakfast.
Simon Cross [Sat, 10 Sep 2016 10:05:40 +0000 (12:05 +0200)]
Add todos from breakfast.

8 years agoMulti-level light toolbar
Neil [Sat, 10 Sep 2016 09:54:47 +0000 (11:54 +0200)]
Multi-level light toolbar

8 years agoMove colour definitions into constants
Neil [Sat, 10 Sep 2016 09:54:15 +0000 (11:54 +0200)]
Move colour definitions into constants