-
-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GameObject
change undo/redo refactor to track different options (#3085
) `GameObject`, instead of comparing all options against each other, now saves the state of and compares individual ones, so the change data is more memory-efficient. This way of tracking object changes also allows for proper undo/redo tracking with multiple remote users (regarding the [remote level editing concept](https://github.com/SuperTux/supertux/tree/editor-remote-level-networking), which branch these changes originate from). `TileMap` tile changes are now saved in a way more memory-efficient way. Instead of saving the whole tiles array for each change, only the changed tiles are saved in a list of pairs (tile index, old/new tile ID).
- Loading branch information
1 parent
792eaa0
commit bda676b
Showing
21 changed files
with
973 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.