mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-07-27 17:41:49 +03:00
4e6697352c27ea29a757c613c7935303e4949d55
* Add undoing & redoing to the editor It's very easy to make mistakes in VVVVVV's built-in level editor, with no way to undo them. This commit adds an undo and redo system, bound to CTRL+Z for undo and CTRL+Y for redo. The undo and redo stacks don't have any limits, but could easily happen in the future. VVVVVV's data is small enough where this should never be an issue, however. No notes show up for undoing and redoing, because keeping track of what specific action you're doing may bloat the system, and would get annoying for the end-user. Notes are a bit annoying in general, even. * Add level resizing to undo/redo system * searchable gettext for undo/redo notes * A few fixes and cleanup The main fix was how holding right click to remove tiles did not commit an action. * Spikes also need to commit * Cancelling placing a terminal/script box shouldn't have undo events * Don't commit tile events if removing entities * Clear redo buffer on level load * Remove unneeded pointers from memcpy * Add strings to lang files * Fix definition in Editor.h * Explain double-uncommit * Don't unconditionally commit tiles on room change I'm not that sure what I was thinking back then, but switching rooms would commit tiles no matter what, causing a huge mess. The behavior was intended to stop the "tile placement" action and commit it, but just happened no matter what... So this has been fixed, and a few comments have been added as well. * Fix mentioned issues & make process_undo static --------- Co-authored-by: NyakoFox <nyakowofox@gmail.com>
This is the source code to VVVVVV, the 2010 indie game by Terry Cavanagh, with music by Magnus Pålsson. You can read the announcement of the source code release on Terry's blog!
The source code for the desktop version is in this folder.
VVVVVV is still commercially available at thelettervsixtim.es if you'd like to support it, but you are completely free to compile the game for your own personal use. If you're interested in distributing a compiled version of the game, see LICENSE.md for more information.
Discussion about VVVVVV updates mainly happens on the "unofficial" VVVVVV discord, in the vvvvvv-code channel.
Credits
- Created by Terry Cavanagh
- Room Names by Bennett Foddy
- Music by Magnus Pålsson
- Metal Soundtrack by FamilyJules
- 2.0 Update (C++ Port) by Simon Roth
- 2.2 Update (SDL2/PhysicsFS/Steamworks port) by Ethan Lee
- Additional coding by Misa Kai
- Beta Testing by Sam Kaplan and Pauli Kohberger
- Ending Picture by Pauli Kohberger
- Localisations by our localisation teams
- With additional contributions by many others here on github <3
Description
Languages
ActionScript
54.3%
C++
44.4%
C
0.7%
Java
0.4%
CMake
0.2%
