From 8361d90e8b74c13314a7062e0fb9038fa76bcbb4 Mon Sep 17 00:00:00 2001 From: Ivan Mogilko Date: Sun, 29 Dec 2024 11:41:38 +0300 Subject: [PATCH] Updated build version (3.6.2.5) --- CMakeLists.txt | 2 +- Changes.txt | 16 ++++++++++++++-- Common/core/def_version.h | 4 ++-- Editor/AGS.Editor/app.manifest | 2 +- Editor/AGS.Types/Properties/AssemblyInfo.cs | 2 +- version.json | 4 ++-- 6 files changed, 21 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3987cd1f946..c82232e968e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX ${CMAKE_CURRENT_SOURCE_DIR}/CMake/cxx_fla set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X deployment version") project(AGS - VERSION 3.6.2.4 + VERSION 3.6.2.5 LANGUAGES CXX C) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMake") diff --git a/Changes.txt b/Changes.txt index 0b47ccb5c09..12e32f4d58a 100644 --- a/Changes.txt +++ b/Changes.txt @@ -82,6 +82,7 @@ Editor: - Fixed "Color Finder" and color properties were mapping a color number to RGB values with accuracy mistakes, resulting in slightly different values than the engine would use. - Fixed an unhandled exception occuring when rebuilding rooms if any script's header is missing. + - Fixed a "unterminated string" error in Dialogs was not pointing to the actual error location. - Fixed double warning message when trying to close the Editor while a game test is running. Scripting: @@ -96,7 +97,7 @@ Script API: - Added global events: eEventDialogStart, eEventDialogStop, eEventDialogRun, eEventDialogOptionsOpen, eEventDialogOptionsClose (these are handled in "on_event"). - Events eEventGUIMouseDown and eEventGUIMouseUp now get additional parameters: mouse button, - mouse x and y positions. + mouse x and y positions (relative to the exact GUI). - Expanded "on_mouse_click" callback, now supports two more parameters: click x,y coordinates. - Added RestoredSaveInfo struct which contains information about game save's contents, - Support "validate_restored_save" callback, which lets user to validate restored saves with @@ -115,7 +116,8 @@ Script API: array of filenames found using certain pattern, and optionally sorted by name or time, in ascending or descending order. - Added File.GetFileTime() that returns file's modification time. - - Added File.ReadBytes(), File.WriteBytes(), File.ReadRawFloat(), File.WriteRawFloat(). + - Added File.ReadFloat(), WriteFloat(), ReadRawFloat(), WriteRawFloat(), ReadRawBytes() and + WriteRawBytes(). - Added SaveGameSortStyle enum and Game.GetSaveSlots() function that returns a dynamic array of save slot indexes, optionally sorted in certain way. - Added Game.GetSaveSlotTime() that returns a time this save slot was last written. @@ -164,8 +166,11 @@ Engine: - Engine supports returning to previously saved rooms which have less script data. It's important to remember though that it does no validation of restored room state on its own. - Dropped support for pre-3.5.0 game saves. + - Increased the cap of simultaneously loaded scripts to 1024 (this includes all regular script + modules, a single active dialog script, and a single active room script). - Engine no longer quits with error in case a script function assigned to a Room event is missing. Logs warnings about missing script functions assigned to any events. + - Character.FollowCharacter() can now have a distance parameter up to 32766 (was limited to 255). - Ensure that Character.Speaking returns true when a speech is playing even if the character has no speech view. - DynamicSprite.CreateFromFile() may now load 1-bit and 4-bit bitmaps, converting to 8-bit. @@ -178,6 +183,8 @@ Engine: - Support calling StopDialog() inside a dialog script, that will schedule dialog's stop command at the end of the current option script. - Removed arbitrary limit of 2k bytes for the result of String.Format(). + - Ensure that the objects with identical z-order (baseline) always keep same relative sort order + when being drawn (note: engine does not guarantee predefined order, only determenistic one). - Implemented video buffering on a separate thread. Allow to drop late video frames. - Added new accessibility config settings in "access" section: "speechskip", "textskip", "textreadspeed". These let player to override game's skipping style for character speech and @@ -191,9 +198,14 @@ Engine: will now schedule a proper dialog topic switch, equivalent to "goto-dialog" command. - Fixed calling Character.Animate() during idling state could cause incorrect error, reporting invalid animation loop. + - Fixed inventory cursor's crosshair hotspot was drawn incorrectly if active item's sprite has + a alpha channel. - Fixed displaying room masks with Debug command in legacy "upscale" mode. Engine Plugin API: + - Added IAGSEngine.CreateDynamicArray(), which lets plugins to create dynamic arrays. + - Added IAGSEngine.GetDynamicArrayLength() and IAGSEngine.GetDynamicArraySize(), which tell + the passed array object's number of elements, and total size in bytes respectively. - Added IAGSEngine.Log(), which lets plugins to print using engine's log system. Compatibility: diff --git a/Common/core/def_version.h b/Common/core/def_version.h index b4c696ac785..89528ba4281 100644 --- a/Common/core/def_version.h +++ b/Common/core/def_version.h @@ -1,9 +1,9 @@ #ifndef __AGS_CN_CORE__DEFVERSION_H #define __AGS_CN_CORE__DEFVERSION_H -#define ACI_VERSION_STR "3.6.2.4" +#define ACI_VERSION_STR "3.6.2.5" #if defined (RC_INVOKED) // for MSVC resource compiler -#define ACI_VERSION_MSRC_DEF 3,6,2,4 +#define ACI_VERSION_MSRC_DEF 3,6,2,5 #endif #define SPECIAL_VERSION "" diff --git a/Editor/AGS.Editor/app.manifest b/Editor/AGS.Editor/app.manifest index 6df63a52159..88413e26b5d 100644 --- a/Editor/AGS.Editor/app.manifest +++ b/Editor/AGS.Editor/app.manifest @@ -1,6 +1,6 @@  - + diff --git a/Editor/AGS.Types/Properties/AssemblyInfo.cs b/Editor/AGS.Types/Properties/AssemblyInfo.cs index 4579c5eae11..2e7460cc26c 100644 --- a/Editor/AGS.Types/Properties/AssemblyInfo.cs +++ b/Editor/AGS.Types/Properties/AssemblyInfo.cs @@ -25,7 +25,7 @@ public class Version public static readonly bool IS_BETA_VERSION = true; public const string AGS_EDITOR_DATE = "December 2024"; public const string AGS_EDITOR_FRIENDLY_VERSION = "3.6.2"; - public const string AGS_EDITOR_VERSION = "3.6.2.4"; + public const string AGS_EDITOR_VERSION = "3.6.2.5"; public const string AGS_EDITOR_COPYRIGHT = "Copyright © 2006-2011 Chris Jones and 2011-2024 others."; public static readonly string AGS_EDITOR_TARGETNAME = IntPtr.Size > 4 ? "64-bit" : "32-bit"; diff --git a/version.json b/version.json index 5f9330e2525..c5430675284 100644 --- a/version.json +++ b/version.json @@ -1,7 +1,7 @@ { - "version": "3.6.2.4", + "version": "3.6.2.5", "versionFriendly": "3.6.2", - "versionSp": "Beta4", + "versionSp": "Beta5", "versionYear": "2024", "versionMonth": "December", "versionIsBeta": "true",