From d3181ebf2a489af35ce46e0b2cd1d2e87bd80143 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 15 Jun 2026 11:39:16 -0700
Subject: [PATCH] Updated to version 4.0.2
---
CMakeLists.txt | 2 +-
Maelstrom.rc | 8 ++++----
Xcode/Maelstrom.xcodeproj/project.pbxproj | 4 ++--
android-project/app/build.gradle | 2 +-
game/Maelstrom.h | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b5370db8..01369461 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.7...4.0)
set(MAJOR_VERSION 4)
set(MINOR_VERSION 0)
-set(MICRO_VERSION 1)
+set(MICRO_VERSION 2)
set(SDL_REQUIRED_VERSION 3.4.2)
set(SDL_NET_REQUIRED_VERSION 3.2.0)
diff --git a/Maelstrom.rc b/Maelstrom.rc
index ff0c6eee..72862fcf 100644
--- a/Maelstrom.rc
+++ b/Maelstrom.rc
@@ -54,8 +54,8 @@ IDI_ICON1 ICON DISCARDABLE "Data\Icons\icon.ico"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 4,0,1,0
- PRODUCTVERSION 4,0,1,0
+ FILEVERSION 4,0,2,0
+ PRODUCTVERSION 4,0,2,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -72,12 +72,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Sam Lantinga"
VALUE "FileDescription", "Maelstrom"
- VALUE "FileVersion", "4, 0, 1, 0"
+ VALUE "FileVersion", "4, 0, 2, 0"
VALUE "InternalName", "Maelstrom"
VALUE "LegalCopyright", "Copyright (C) 2026 Sam Lantinga"
VALUE "OriginalFilename", "Maelstrom.exe"
VALUE "ProductName", "Maelstrom"
- VALUE "ProductVersion", "4, 0, 1, 0"
+ VALUE "ProductVersion", "4, 0, 2, 0"
end
END
BLOCK "VarFileInfo"
diff --git a/Xcode/Maelstrom.xcodeproj/project.pbxproj b/Xcode/Maelstrom.xcodeproj/project.pbxproj
index f91615f4..148bbff9 100644
--- a/Xcode/Maelstrom.xcodeproj/project.pbxproj
+++ b/Xcode/Maelstrom.xcodeproj/project.pbxproj
@@ -951,7 +951,7 @@
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
- MARKETING_VERSION = 4.0.1;
+ MARKETING_VERSION = 4.0.2;
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.Maelstrom;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1008,7 +1008,7 @@
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
- MARKETING_VERSION = 4.0.1;
+ MARKETING_VERSION = 4.0.2;
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.Maelstrom;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
diff --git a/android-project/app/build.gradle b/android-project/app/build.gradle
index e5b26f0d..60539842 100644
--- a/android-project/app/build.gradle
+++ b/android-project/app/build.gradle
@@ -12,7 +12,7 @@ android {
minSdkVersion 21
targetSdkVersion 35
versionCode 27
- versionName "4.0.1"
+ versionName "4.0.2"
externalNativeBuild {
ndkBuild {
arguments "APP_PLATFORM=android-21"
diff --git a/game/Maelstrom.h b/game/Maelstrom.h
index a6af361f..4c1317a2 100644
--- a/game/Maelstrom.h
+++ b/game/Maelstrom.h
@@ -22,7 +22,7 @@
#include "rect.h"
#ifndef VERSION
-#define VERSION "4.0.1"
+#define VERSION "4.0.2"
#endif
#define VERSION_STRING VERSION