Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/olpcgames/mesh.py
Commit message (Collapse)AuthorAgeFilesLines
* pep8 fixRafael Ortiz2012-03-281-4/+4
|
* Save and restore state of the gameManuel Kaufmann2012-03-281-141/+310
| | | | | | | | | | | | | | | | | | Ability to 'save' (when the user closes the Activity) and 'restore' (when the user launch it from the Journal or the Home without holding Alt) the state of the game. For this ability I had to upgrade 'olpcgames' to 1.6 because 'olpcgames.FILE_READ_REQUEST' and 'olpcgames.FILE_WRITE_REQUEST' events are added in that version and those events are needed for this. The data is saved (as JSON, with json module) in the 'event.metadata["state"]' and the timestamp state is saved in 'event.filename'. This commit solves ticket #2393: * http://bugs.sugarlabs.org/ticket/2393 Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Signed-off-by: Rafael Ortiz <rafael@activitycentral.com>
* multiple pep8 fixesRafael Ortiz2012-02-011-19/+34
|
* space around operatorRafael Ortiz2012-02-011-2/+2
|
* pep8 fixRafael Ortiz2012-02-011-0/+1
|
* style fixesRafael Ortiz2011-12-211-12/+12
|
* Ordering filesRafael Ortiz2011-05-131-0/+398