Hi,
Christmas approaching, I've two gifts :D
* For David, I've added a way for the missions to access the text
entered in the chat by the user, and I've adapted your Lost
agent mission to take advantage of it - have a look : )
* For Vlad, I've fixed the indentation issue on PHP files (btw if
you have gvim installed with the right indentation configured,
you can simply press gg=G and it will do the trick) - so you
won't have to fix this : )
Vlad, have a look at the changelog btw - especially, I've changed the
workflow for the way the mission ajax calls interact with the missions.
I've refactored the parts that belonged together, made the missions look
at every action (and not just the "mission" ones), and removed the
last_action logic which wasn't necessary anymore. This should make it
very easy to add support for new types of actions.
Still ok to meet tomorrow morning at 9am Paris time in the chat?
Changelog:
* Added missing file for mission menu
* Removed hack temporary window
* Removed call to deleted function
* Removed bogus code handling the restart of missions - will need
to be properly done
* Made the hack window disappear after displaying the animation
* Reworked the flow handling mission actions, to allow cleaner
code - now the mission script is called for *every* action
(removed the differentiation of mission actions). Added
game_session->get_response to allow observers to easily pass
data to the client
* Speeded up a bit the chat & added passing of chat input value to
PHP (remains to implement get/set methods for game_session)
* Fixed indentation in PHP files
* Added handling of chat reply text from missions
($this->reply_contains("text")) ; modified Missing agent 1 to
take advantage of the new feature ; cleaned up commented code"
* Fixed issues with reply_contains() ; Fixed bug where some action
callbacks would be forgotten when using several wait_for_action
at the same time ; Renamed & merged
remove_action_from_queue/clear_action to stop_waiting_for()
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/