7 Commits

Author SHA1 Message Date
Tahsin Jahin Khalid
14152b3c56 changelog_entries: add file for PR 7151 2022-11-30 18:37:37 +08:00
Steve Cotton
38fdf06fa9 Fix [special_note] duplication when unstoring units
The movetype's special notes were becoming a new note for the individual unit.

Clean up the documentation on some of movetype's functions, as they had
documentation in both the .hpp and the .cpp.
2022-11-29 11:40:11 +01:00
Pentarctagon
5ac61ee1aa Forgot to do this. 2022-11-20 11:10:51 -06:00
Steve Cotton
e3deff8bfd Make undo work again, undeprecate on_event()
Fixes #6898. The issue is that non-WML events added through the new events API
always disable undo with no equivalent of WML's `[allow_undo]`. The long-term
fix is to add a way to do that; however until that's available then listeners
for `moveto` need to use the old `on_event` API. The old `on_event` API can't
be deprecated yet, and this is enforced by our unit tests (the build fails if
there are unexpected deprecation warnings during the tests).

Reverts most of 7e234f8833282424b3535b9c334c751748f7222b. Does not revert files
that only listen for non-undoable events such as `die` or `new turn`.

Reverts the deprecation part of #5663's 8cd133263058a5df85f64988e348d2cf54d13a48.
2022-11-19 05:23:30 +01:00
Pentarctagon
e26fb30e4c
The right file extension would of course help... 2022-10-13 22:35:34 -05:00
Pentarctagon
53380d12ce
Let's see if this formatting works 2022-10-13 22:34:57 -05:00
Pentarctagon
5334be26d3 Add a directory for PR changelog entries. 2022-10-13 22:31:55 -05:00