Hi,
While trying to fix the bug
https://bugs.launchpad.net/hackit/+bug/721192 , I got to those
conlusions. I need your technical advice before getting any further.
ACTIVE_MISSION var in hackit.js:
* defined only inside the js file. Does not represents the real state
of the mission, defined via class_mission_engine.php.
hackit.js - window management section:
* function on_window_close useless;
* function on_chat_window_close useless;
* they where used to set ACTIVE_MISSION to 0, which means that closing
the chat window was used to close the mission. We don't want this
behaviour anymore since a mission is normally finished/closed via
class_mission_engine.php.
Solution proposed:
* set ACTIVE_MISSION via the class_mission_engine.php functions
start_mission and close_mission. This way, a finished mission sets this
var properly.
New question about aborting a mission:
* what is the clean way to arbort a mission ? I see two options:
1. starting a new mission replaces the current mission, via a dialog
saying that the other mission will be lost unless finished;
2. having a link/button somewhere (mission window maybe) to
explicitely surrender a mission.
What do you think ?
--
PM
_______________________________________________
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/