3 Commits
Author SHA1 Message Date
Ethan Lee 52ad6ae3c9 Use NEAREST instead of PIXELART for screenshot scaling, at least for now 2026-08-24 10:33:52 -04:00
Terry Cavanagh 714e380500 Added Licence exception for Pebble smart watch port of Super Gravitron 2026-08-23 16:42:44 +01:00
Dav999 7404ea6178 Fix SDL_PLATFORM_UNI defines
Just did my first SDL3 compile and noticed the console messages didn't
have any color anymore... Because that was conditional to
SDL_PLATFORM_UNI. I saw this during the SDL3 PR and found it odd, but
it's on https://wiki.libsdl.org/SDL3/README-migration#sdl_platformh.
It turns out it actually doesn't exist, it's supposed to be
SDL_PLATFORM_UNIX.
2026-08-23 10:51:31 -04:00
4 changed files with 10 additions and 4 deletions
+1
View File
@@ -24,3 +24,4 @@ Last updated on January 23rd, 2024.
| PortMaster distributions of the game for Linux Handheld devices | [portmaster](https://portmaster.games/) | A port manager GUI for Linux handheld devices | Permission is for non commercial use only. Display the following text in the readme to make it clear that this is an exception: "VVVVVV is a commercial game! The author has given special permission to make this port available for free. If you enjoy the game, please consider purchasing a copy at [thelettervsixtim.es](http://thelettervsixtim.es)."| [website](https://portmaster.games/detail.html?name=vvvvvv) | | PortMaster distributions of the game for Linux Handheld devices | [portmaster](https://portmaster.games/) | A port manager GUI for Linux handheld devices | Permission is for non commercial use only. Display the following text in the readme to make it clear that this is an exception: "VVVVVV is a commercial game! The author has given special permission to make this port available for free. If you enjoy the game, please consider purchasing a copy at [thelettervsixtim.es](http://thelettervsixtim.es)."| [website](https://portmaster.games/detail.html?name=vvvvvv) |
| Wii Port | [Alberto Mardegan](https://github.com/mardy/) | Port for the Nintendo Wii. | Permission is given to distribute a ready-to-use build for the Nintendo Wii containing the data.zip assets for non commercial use only. | [github repo](https://github.com/mardy/VVVVVV/tree/wii) | | Wii Port | [Alberto Mardegan](https://github.com/mardy/) | Port for the Nintendo Wii. | Permission is given to distribute a ready-to-use build for the Nintendo Wii containing the data.zip assets for non commercial use only. | [github repo](https://github.com/mardy/VVVVVV/tree/wii) |
| Recalbox Port | [digitalLumberjack](https://gitlab.com/recalbox/recalbox) | Port for Recalbox project. | Display the following text in the readme to make it clear that this is an exception: "VVVVVV is a commercial game! The author has given special permission to make this port available for free. If you enjoy the game, please consider purchasing a copy at [thelettervsixtim.es](http://thelettervsixtim.es)." | [website](https://recalbox.com/) | | Recalbox Port | [digitalLumberjack](https://gitlab.com/recalbox/recalbox) | Port for Recalbox project. | Display the following text in the readme to make it clear that this is an exception: "VVVVVV is a commercial game! The author has given special permission to make this port available for free. If you enjoy the game, please consider purchasing a copy at [thelettervsixtim.es](http://thelettervsixtim.es)." | [website](https://recalbox.com/) |
| Super Gravitron for the Pebble smart watch | [Eli Weiss](https://www.eli-weiss.com/) | Port of Super Gravitron for the Pebble smart watch, based on VVVVVV source code. | Cannot distribute the original levels. | [github](https://github.com/eliwss0/super-gravitron-pebble), [pebble appstore](https://apps.repebble.com/30755d3528b34509bb0b5107) |
+1 -1
View File
@@ -36,7 +36,7 @@ static int mkdir(char* path, int mode)
#include <sys/stat.h> #include <sys/stat.h>
#include <emscripten.h> #include <emscripten.h>
#define MAX_PATH PATH_MAX #define MAX_PATH PATH_MAX
#elif defined(SDL_PLATFORM_LINUX) || defined(SDL_PLATFORM_APPLE) || defined(SDL_PLATFORM_FREEBSD) || defined(SDL_PLATFORM_OPENBSD) || defined(SDL_PLATFORM_HAIKU) || defined(__DragonFly__) || defined(SDL_PLATFORM_UNI) #elif defined(SDL_PLATFORM_LINUX) || defined(SDL_PLATFORM_APPLE) || defined(SDL_PLATFORM_FREEBSD) || defined(SDL_PLATFORM_OPENBSD) || defined(SDL_PLATFORM_HAIKU) || defined(__DragonFly__) || defined(SDL_PLATFORM_UNIX)
#include <limits.h> #include <limits.h>
#include <sys/stat.h> #include <sys/stat.h>
#define MAX_PATH PATH_MAX #define MAX_PATH PATH_MAX
+6 -1
View File
@@ -382,7 +382,12 @@ bool UpscaleScreenshot2x(SDL_Surface* src, SDL_Surface** dest)
} }
} }
int result = SDL_BlitSurfaceScaled(src, NULL, *dest, NULL, SDL_SCALEMODE_PIXELART); /* PIXELART scaling would be cool here, but that's usually done in a shader while
* this is just a sw blit. SDL_surface.c currently just aliases this to NEAREST,
* so let's use that to improve 3.2 compatibility for now.
* -flibit
*/
int result = SDL_BlitSurfaceScaled(src, NULL, *dest, NULL, SDL_SCALEMODE_NEAREST);
if (result == 0) if (result == 0)
{ {
WHINE_ONCE_ARGS(("Could not blit surface: %s", SDL_GetError())); WHINE_ONCE_ARGS(("Could not blit surface: %s", SDL_GetError()));
+2 -2
View File
@@ -14,7 +14,7 @@
#elif defined(_WIN32) #elif defined(_WIN32)
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN
# include <windows.h> # include <windows.h>
#elif defined(SDL_PLATFORM_UNI) || defined(SDL_PLATFORM_APPLE) #elif defined(SDL_PLATFORM_UNIX) || defined(SDL_PLATFORM_APPLE)
# include <unistd.h> # include <unistd.h>
#endif #endif
@@ -285,7 +285,7 @@ static void check_color_support(void)
} }
color_supported = 1; color_supported = 1;
#elif (defined(SDL_PLATFORM_UNI) || defined(SDL_PLATFORM_APPLE)) && !defined(VLOG_USE_SDL) #elif (defined(SDL_PLATFORM_UNIX) || defined(SDL_PLATFORM_APPLE)) && !defined(VLOG_USE_SDL)
if (isatty(STDOUT_FILENO) && isatty(STDERR_FILENO)) if (isatty(STDOUT_FILENO) && isatty(STDERR_FILENO))
{ {
color_supported = 1; color_supported = 1;