Skip to content

Commit

Permalink
Updated build version (3.6.1.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed Jun 26, 2023
1 parent 3d8b567 commit 549b564
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
VERSION 3.6.1.2
LANGUAGES CXX C)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMake")
Expand Down
37 changes: 36 additions & 1 deletion Changes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
REVISION HISTORY
================
VERSION 3.6.1 - Beta, May 2023
VERSION 3.6.1 - Beta, June 2023

Editor:
- Made Editor a Dpi-aware application, which might improve its looks in Windows 10
Expand All @@ -13,22 +13,39 @@ Editor:
Zoom is done by Ctrl + Mouse Wheel and room now zooms towards or outwards the cursor position.
- In Room Editor the context menu is now displayed by RMB or Shift + RMB while editing masks.
The individual room mode menu is merged with the "copy coordinates" command when shown.
- In Sprite Manager added command "View" -> "Show filenames" which toggles display of a sprite's
source filename under the sprites.
- Reimplemented multiple sprites properties edit in the Sprite Manager. This ability was
dropped in 3.5.0 unintentionally.
- During sprite export Editor will display a proper progress dialog.
- Implemented Log Panel that lets you see the engine and game logs right in the Editor.
- Added "Leave room after fade-out" event to Rooms (called "Unload" by default).
- Added Translated property to all GUI Controls (was available only in ListBox). Translated
property tells whether this control's text has to be translated, and applied text direction
(in right-to-left text mode).
- Fixed importing SCI fonts with >128 chars.
- Fixed font preview did not properly display characters with indexes 128-255
(regression since 3.6.0).
- Fixed full spritefile recreation would write duplicate sprites into the spritefile, if game
project (Game.agf file) contained multiple sprites with same ID for any reason (for example,
if they were added by manually editing Game.agf).

Script API:
- Implemented Room's "After fade-out" event.
- Added eEventLeaveRoomAfterFadeout event for the global "on_event".
- Added eEventGameSaved event which runs after game was saved.
- Added Game.ResetDoOnceOnly(), which completely resets all DoOnceOnly instances.

Engine:
- Significant performance improvement to scripts. Script running speed restored to a level
close to AGS 3.2.1. Testing few "script-heavy" games showed fps raise by up to 30-40%
compared with 3.6.0 engine.
- Performance improvement to creating, deleting and manipulating Overlays; allows the game
to have thousands of those with much less slowing down.
- WFN font renderer now too supports unicode mode and renders texts in utf-8, so long as the
font contains glyphs of corresponding indexes.
- Buttons, ListBoxes and TextBoxes now support Right-to-left text direction.
- DrawingSurface.DrawString now supports Right-to-left text direction.
- Ensure that character and object scaling is updated even when the game is not drawn.
This fixes rare issues when their scale property did not update in time whilst the game was
completely fadeout, and similar cases.
Expand All @@ -38,11 +55,29 @@ Engine:
- Fixed script behavior in case a local variable was assigned a value without being initialized
with a zero memory by compiler's intruction beforehand. This is not a problem with the standard
compiler, but technically could be an issue with any custom implementation.
- Fixed speechlines were adjusting their Y position while trying to not overlap GUIs even when
these GUIs are completely offscreen.
- Fixed first Sierra-style speechline in a sequence was adjusting its Y position without need
when GUIs are set to be hidden during game pause (this includes blocking speech).
Normally, the speechlines are adjusting their Y position in order to not overlap GUIs,
but when GUIs are hiding during speech there should not be any need to do so.
- Fixed GUI controls were not redrawn right after option OPT_RIGHTTOLEFT is changed in script.
- Object.SetView now lets invalid loop and frame values, and fallbacks to using loop 0, frame 0,
printing a warning. This is also consistent with backwards-compatble SetObjectFrame() behavior.
- Engine will disable vsync in a "infinite fps" mode, because vsync prevents getting more fps.
- Engine will force any in-game debug messages to be displayed in standard message boxes,
disregarding game's "Display all messages as speech" option.

Engine Plugin API:
- Fixed IAGSEngine.GetFontType() incorrectly reporting TTF font type for WFN fonts with more than
128 characters.

Compatibility:
- In Editor, restored all the Character's variables available in "backward-compatible" mode.
This is primarily to make it easier to import very old games.
- Fixed slower character walking speeds in pre-3.1 upscaled and high-resolution games.
- Fixed Object.SetView() and SetObjectFrame() not treating -1 for loop and frame as
"keep previous values" in older games.
- Allow to run an animation over a loop with zero frames, by using the placeholder frame.
This lets particular old games to continue running instead of crashing with error.

Expand Down
4 changes: 2 additions & 2 deletions Common/core/def_version.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef __AGS_CN_CORE__DEFVERSION_H
#define __AGS_CN_CORE__DEFVERSION_H

#define ACI_VERSION_STR "3.6.1.1"
#define ACI_VERSION_STR "3.6.1.2"
#if defined (RC_INVOKED) // for MSVC resource compiler
#define ACI_VERSION_MSRC_DEF 3,6,1,1
#define ACI_VERSION_MSRC_DEF 3,6,1,2
#endif

#define SPECIAL_VERSION ""
Expand Down
2 changes: 1 addition & 1 deletion Editor/AGS.Editor/app.manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="3.6.1.1" name="AGSEditor"/>
<assemblyIdentity version="3.6.1.2" name="AGSEditor"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
Expand Down
2 changes: 1 addition & 1 deletion Editor/AGS.Types/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Version
public static readonly bool IS_BETA_VERSION = true;
public const string AGS_EDITOR_DATE = "June 2023";
public const string AGS_EDITOR_FRIENDLY_VERSION = "3.6.1";
public const string AGS_EDITOR_VERSION = "3.6.1.1";
public const string AGS_EDITOR_VERSION = "3.6.1.2";
public const string AGS_EDITOR_COPYRIGHT = "Copyright © 2006-2011 Chris Jones and 2011-2023 others.";
}
}
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "3.6.1.1",
"version": "3.6.1.2",
"versionFriendly": "3.6.1",
"versionSp": "Beta2",
"versionSp": "Beta3",
"versionYear": "2023",
"versionMonth": "June",
"versionIsBeta": "true",
Expand Down

0 comments on commit 549b564

Please sign in to comment.