mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
No description
8036471e76
This checks the return value of PHYSFS_readBytes() in all cases, and uses a wrapper to not duplicate common logic. If the read fails, then it will vlog an error, else if the amount of bytes read was less than expected, it will vlog a warning. Additionally, the space allocated for a file in FILESYSTEM_loadFileToMemory is SDL_calloc()ed instead of SDL_malloc()ed so if there are less bytes than expected, the memory will at least be zeroed. This also means we don't have to do the null termination, because the last byte will already be zeroed. The return value of PHYSFS_readBytes() when reading the headers of binary blobs now assigns to `header->size`, so the call has been placed after the increment to `offset` because `offset` needs the correct (i.e. intended) size of the header. |
||
---|---|---|
.github | ||
desktop_version | ||
mobile_version | ||
third_party | ||
tools | ||
.gitattributes | ||
.gitmodules | ||
License exceptions.md | ||
LICENSE.md | ||
README.md |
This is the source code to VVVVVV, version 2.0+. For more context about this release, see the announcement on Terry's blog!
License
VVVVVV's source code is made available under a custom license. See LICENSE.md for more details.
In general, if you're interested in creating something that falls outside the license terms, get in touch with Terry and we'll talk about it!
Authors
- 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
- Beta Testing by Sam Kaplan and Pauli Kohberger
- Ending Picture by Pauli Kohberger
Versions
There are two versions of the VVVVVV source code available - the desktop version (based on the C++ port, and currently live on Steam), and the mobile version (based on a fork of the original flash source code, and currently live on iOS and Android).