diff --git a/CMakeLists.txt b/CMakeLists.txt index ce7a6b0615c..6efc3d72def 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.1.9 + VERSION 3.6.1.10 LANGUAGES CXX C) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMake") diff --git a/Changes.txt b/Changes.txt index 68b34f4b352..63f00803527 100644 --- a/Changes.txt +++ b/Changes.txt @@ -1,6 +1,6 @@ REVISION HISTORY ================ -VERSION 3.6.1 - Beta, September 2023 +VERSION 3.6.1 - Beta, October 2023 Common features: - Implemented Deflate compression option for sprites. @@ -36,6 +36,9 @@ Editor: Characters, GUIs, and so forth. In that case it will find a game's entity and open a respective editor panel for it. This still does not work for some types, such as Room objects, and Views. - Added main menu commands for opening a Project folder and Compiled folder. + - Added "Export Global Messages to script" menu command. This command is meant for upgraded + pre-3.2 game projects, and will generate a script with a String array, moving global messages + texts there. - For script's tabs added a context menu command for opening this script's location. - Added "Scale Character sprite offsets" property to General Settings. This property refers to scaling of Character.z and sprite offsets added by LockViewOffset script command. @@ -47,12 +50,27 @@ Editor: (in right-to-left text mode). - Support '\n' linebreak character in the Label's Text and potentially other text properties. - Config will now be saved in UTF-8, letting to support setup program's title text in unicode. + - Made Editor be somewhat more tolerate to missing XML nodes in Game.agf, in many cases it will + still let open a game. + - When upgrading older game projects, Editor will insert a call to SetRestartPoint() in the end + of the 'game_start' function in GlobalScript.asc. This is done to complement removal of an + automatic restart point in the engine. This inserted command is safe to remove. + - When upgrading pre-3.2 rooms with disabled SaveLoadEnabled property the Editor will reset + this property and insert a comment with a warning into the corresponding room's script. + This is done because this property is deprecated as is no longer accessible. - Fixed Editor refusing to open a game if one of the translation files is missing. + - Fixed Project Explorer's folders collapsing after certain user actions, such as dragging + items or renaming things. - Fixed GUI editor could display selection rectangle from a different GUI editor pane, if two or more are displayed on screen at the same time. + - Fixed Script editor not marking "autoptr" and "builtin" as keywords. + - Fixed Script editor not applying color theme to character literals. - Fixed Editor could miss some of the files when cleaning up old compiled files after the Game's Filename property is changed. +Scripting: + - Support "#else" preprocessor directive. + Script API: - Implemented Room's "After fade-out" event. - Added eEventLeaveRoomAfterFadeout event for the global "on_event". @@ -67,6 +85,8 @@ Script API: InventoryItem, Object. - Added Object.AnimationVolume property, which works similar to Character.AnimationVolume. - Added static File.ResolvePath() and File.Path attribute. + - Added support for a text formatting to a number of functions: + DisplayAtY(), Character.SayAt(), Character.SayBackground(), DrawingSurface.DrawStringWrapped(). Engine: - Significant performance improvement to scripts. Script running speed restored to a level @@ -87,8 +107,13 @@ Engine: - DrawingSurface.DrawString now supports Right-to-left text direction. - All the script File functions now treat paths in case-insensitive way (including subdirs), which makes them platform-independent. + - Removed an automatic SetRestartPoint() call at startup. This is done in case user does not want + to use default "restart" save slot, or has a custom save system. - Support handling multiple mouse clicks per game frame, similar to how multiple key presses were supported since 3.6.0. + - When starting up, engine will now precache only first 4 or 8 loops of the starting player + character's View. This is done to avoid filling sprite cache with too much sprites at once + in case when the player's View contains lots of additional animations. - Characters will now have their graphic offsets, set by Character.z property and LockViewOffset() function, scaled along with the character's own scaling. This is done so long as the respective game option is enabled in the General Settings. @@ -116,6 +141,8 @@ Engine: - Deprecated in-game "console", as practically useless. - Added new config settings in "graphics" section: "sprite_cache_size" (which replaces deprecated "cachemax" in "misc") and "texture_cache_size". + - Fixed engine failing to startup sometimes if controller device subsystem failed to init + (it should not init at all in this version, as we do not support joysticks yet). - Fixed Characters may be seemingly "walking in place" for some time when arriving at destination. - Fixed speechlines were adjusting their Y position while trying to not overlap GUIs even when these GUIs are completely offscreen. diff --git a/Common/core/def_version.h b/Common/core/def_version.h index 8a286ae7972..3a3511eafe1 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.1.9" +#define ACI_VERSION_STR "3.6.1.10" #if defined (RC_INVOKED) // for MSVC resource compiler -#define ACI_VERSION_MSRC_DEF 3,6,1,9 +#define ACI_VERSION_MSRC_DEF 3,6,1,10 #endif #define SPECIAL_VERSION "" diff --git a/Editor/AGS.Editor/app.manifest b/Editor/AGS.Editor/app.manifest index 6dcddc62daa..1958f76b4b7 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 ae0dfde8459..8a864c7d7f0 100644 --- a/Editor/AGS.Types/Properties/AssemblyInfo.cs +++ b/Editor/AGS.Types/Properties/AssemblyInfo.cs @@ -22,9 +22,9 @@ namespace AGS.Types public class Version { public static readonly bool IS_BETA_VERSION = true; - public const string AGS_EDITOR_DATE = "September 2023"; + public const string AGS_EDITOR_DATE = "October 2023"; public const string AGS_EDITOR_FRIENDLY_VERSION = "3.6.1"; - public const string AGS_EDITOR_VERSION = "3.6.1.9"; + public const string AGS_EDITOR_VERSION = "3.6.1.10"; public const string AGS_EDITOR_COPYRIGHT = "Copyright © 2006-2011 Chris Jones and 2011-2023 others."; } } diff --git a/version.json b/version.json index 3816ca9fd9e..cba57c59a28 100644 --- a/version.json +++ b/version.json @@ -1,9 +1,9 @@ { - "version": "3.6.1.9", + "version": "3.6.1.10", "versionFriendly": "3.6.1", - "versionSp": "Beta10", + "versionSp": "Beta11", "versionYear": "2023", - "versionMonth": "September", + "versionMonth": "October", "versionIsBeta": "true", "appID": "6fcbc804-4887-4786-bcf6-b0786e1e983d" } \ No newline at end of file