Follow-up Comment #2, bug #23917 (project wesnoth):
There are already events that cannot/shouldn't be manually deleted: the
[event]s that are generated by wml menu item, becasue those events wil be
readded when the savefile is reloaded. Specially those events arent stored in
the to_config call becasue its content is already stored in the [menu_item]
tag, this means that the main part for tis implementation already exists.
One disadvantage of this approach might be that the order of the events might
change when reloading which can casue OOS/corrupted replays in some very rare
cases (this can in thwory also happen already if somone adds manually an event
for a wml menu items, i don't think anyone currently does that).
Celtic Minstrel suggested a similar approach in irc where the snapshots
contain dummy [event]s which reference the original events (by some internal
id or something), this solves the problem above and is compleley hidden from
the wml programmer.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23917>
_______________________________________________
Nachricht gesendet von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs