Follow-up Comment #3, bug #22988 (project wesnoth):

slightly off topic: 
A mechanism that would support undo for UMC wouldn't be too complicated: two
new events would be needed:
a) an event name=undo_waypoint_created that would be fired just after BfW
created a new (way)point where the game may be undone to
b) an event name=undo_done that would be fired just after undo
(the waypoints would be numbered)

So the meaning of undo_waypoint_created would be:
wesnoth engine says to UMC: "A new undo_waypoint nr. XY has been created. You
should backup your variables now, or you should start to register your next
actions so that you may undo them when needed"
And the meaning of undo_done would be:
wesnoth engine says to UMC: "An undo has been done, and the game returned to
the waypoint nr. YZ. You should restore your variables accordingly or you
should undo the actions you registered"


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22988>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to