diff --git a/CMakeLists.txt b/CMakeLists.txt index c377cecdcd..42f6cf3378 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 4.00.00.02 + VERSION 4.00.00.03 LANGUAGES CXX C) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMake") diff --git a/Changes.txt b/Changes.txt index 3c0cf345cc..4676bc1317 100644 --- a/Changes.txt +++ b/Changes.txt @@ -25,7 +25,9 @@ Editor: - Script editor supports "word wrap" mode. - In General Settings added "Use extended compiler" option that lets to choose a new script compiler for your game (see list of changes in related section below). + - Added Enabled and Visible properties to Characters, Enabled property to Room Objects. - Added BlendMode property to Characters, GUI and Room Objects. + - Added FaceDirectionRatio property to General Settings, Room and Walkable Areas. - Added readonly Length property to AudioClips, for the reference. - Fixed faulty double-click on project items in case user dragged the cursor away. @@ -76,27 +78,39 @@ Script API: - Added SCRIPT_EXT_NESTEDPOINTERS macro which tells whether nested managed structs are supported by the compiler. - Added Joystick struct, meant to work with joystics and gamepads in script. - - Added ScriptName property to AudioClip, Character, Dialog, GUI, GUIObject, Hotspot, - InventoryItem, Object. - - Added static GetByName() function to AudioClip, Character, Dialog, GUI, GUIObject, Hotspot, - InventoryItem, Object. + - Added WalkableArea and Walkbehind structs which let work with these region types in OO-style. - Added BlendMode enum. + - Added Character.Enabled and Visible properties, added Object.Enabled property, + Character.on is deprecated. - Added Character.BlendMode, GUI.BlendMode, Object.BlendMode, Overlay.BlendMode. - Added Character.UseRegionTint and Object.UseRegionTint, deprecated Character.IgnoreLighting. - Added Camera.Rotation, Character.GraphicRotation, GUI.Rotation, Object.GraphicRotation, Overlay.Rotation. + - Added Game.FaceDirectionRatio, Room.FaceDirectionRatio, WalkableArea.FaceDirectionRatio + and Character.FaceDirectionRatio. - Added DrawingSurface.BlendImage() and DrawingSurface.BlendSurface() functions. - - AudioChannel.Position and PositionMs no longer return a very large value while skipping - cutscene. + - Added File.Rename(). + - ListBox.FillSaveGameList(), RestoreGameDialog() and SaveGameDialog() now let define a range + of save slots for display. + - Added MoveSaveSlot() which renames a savegame. + - Added "walkarea[]" and "walkbehind[]" global arrays. + - Global arrays of game objects (Characters, GUIs, etc) are now declared as arrays of object + *pointers*. From the user's perspective this is a mere formality, as working with these arrays + will be syntactically same, but this makes it easier for the engine to handle these arrays + and objects internally. - Removed "hasAlphaChannel" param from DynamicSprite.Create() and CreateFromExistingSprite(). - Removed HasAlphaChannel property from DialogOptionsRenderingInfo. - Removed "transparent" param from Overlay.CreateGraphical() and CreateRoomGraphical(). + - Removed Object.MergeIntoBackground() function as redundant, and complicating Object's logic. Engine: - Support joystick and gamepad input. - Implemented more accurate Character movement. The movement direction is now more precise and diagonal movement speed no longer may exceed MovementSpeed setting. - Animated buttons now display flipped frames correctly. + - AudioChannel.Position and PositionMs no longer return a very large value while skipping + cutscene. + - DeleteSaveSlot() no longer causes highest save to be renamed to fill a gap in saves. - Added FLAC support for music, speech and sound effects. - Added "--print-rtti" command line option which prints script RTTI table to the log. (RTTI stands for "runtime type information", and is used for handling of certain advanced diff --git a/Common/core/def_version.h b/Common/core/def_version.h index e6d256a291..38fdf71f36 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 "4.00.00.02" +#define ACI_VERSION_STR "4.00.00.03" #if defined (RC_INVOKED) // for MSVC resource compiler -#define ACI_VERSION_MSRC_DEF 4,00,00,02 +#define ACI_VERSION_MSRC_DEF 4,00,00,03 #endif #define SPECIAL_VERSION "" diff --git a/Editor/AGS.Editor/app.manifest b/Editor/AGS.Editor/app.manifest index 08cdc0ecda..a7a1591975 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 8c2039484e..326060e5b0 100644 --- a/Editor/AGS.Types/Properties/AssemblyInfo.cs +++ b/Editor/AGS.Types/Properties/AssemblyInfo.cs @@ -24,7 +24,7 @@ public class Version public static readonly bool IS_BETA_VERSION = false; public const string AGS_EDITOR_DATE = "February 2024"; public const string AGS_EDITOR_FRIENDLY_VERSION = "4.0.0"; - public const string AGS_EDITOR_VERSION = "4.00.00.02"; + public const string AGS_EDITOR_VERSION = "4.00.00.03"; public const string AGS_EDITOR_COPYRIGHT = "Copyright © 2006-2011 Chris Jones and 2011-2024 others."; } } diff --git a/version.json b/version.json index 443a33df37..d9e052dc0a 100644 --- a/version.json +++ b/version.json @@ -1,22 +1,22 @@ { - "version": "4.00.00.02", - "versionFriendly": "4.0.0", - "versionSp": "Alpha7", - "versionYear": "2024", - "versionMonth": "February", - "versionIsBeta": "false", - "appID": "572bfb67-1c66-4e44-bdad-322754f679a6", - "licenseLink": "https://opensource.org/license/artistic-2-0/", + "version": "4.00.00.03", + "versionFriendly": "4.0.0", + "versionSp": "Alpha8", + "versionYear": "2024", + "versionMonth": "February", + "versionIsBeta": "false", + "appID": "572bfb67-1c66-4e44-bdad-322754f679a6", + "licenseLink": "https://opensource.org/license/artistic-2-0/", - "dependencies": { - "sdlsound": { - "revision": "c5639414c1bb24fb4eef5861c13adb42a4aab950", - "urlHash": "2e9ab24fd861f61349b9386fd66c9851e9f03a60" - }, - "sdl": { - "revision": "2.30.0", - "release_type": "release", - "urlHash": "4819405433948907f3e212da6806c0e3bf4c28f2" + "dependencies": { + "sdlsound": { + "revision": "c5639414c1bb24fb4eef5861c13adb42a4aab950", + "urlHash": "2e9ab24fd861f61349b9386fd66c9851e9f03a60" + }, + "sdl": { + "revision": "2.30.0", + "release_type": "release", + "urlHash": "4819405433948907f3e212da6806c0e3bf4c28f2" + } } - } }