Hi, I've started the integration of the missions menu - I've incorporated the HTML/CSS/JS to the codebase. I have also added a command to show the current log stream (make debug). This is not on trunk yet, as it's missing the logic part:
http://bazaar.launchpad.net/~xavier-antoviaque/hackit/newmissions/changes Vlad, I'm undecided about the right path to take to retrieve the missions pool. It's currently stored on MissionAction, which makes it difficult to access from GameSession. I'm tempted to move the main logic to a class separate from MissionAction, a bit like for the leaderboard, as the mission engine isn't only a listener. We would thus have: * MissionAction - which monitors GameSession * Mission - the base class for all individual missions * MissionEngine - which is referenced by both MissionAction and GameSession, and is responsible for instantiating and interacting directly with Mission subclasses. But I'd like to have your opinion on this before proceeding - you were working on this so I don't want to mess up any work that you could already have done, and you may have a better idea. Let me know! Done: * Merged the HTML/CSS/JS from the experimental mission menu with Hackit's codebase * Prefixed CSS class names with missions-menu-* to avoid conflicts * Added 'make debug' command to output the current log stream * Fixed typos in new missions files - they are now all loaded in runtime Xavier.
_______________________________________________ Farsides mailing list - [email protected] Wiki: http://farsides.com/ List: http://farsides.com/ml/ Forum: http://farsides.com/forum/ Ideas: http://farsides.com/ideas/ Chat: http://farsides.com/chat/

