@@ -34,6 +34,7 @@ Editor:
3434 using it; but you may still enter RGBA value by hand.
3535 - In General Settings added "Script Compiler" option that lets to choose between old and new
3636 script compilers for your game (see "Scripting" section below for the new compiler's details).
37+ - In General Settings added "GUI common controls handle only left mouse button" option.
3738 - Added Custom Properties for: Audio Clips, Dialogs, GUI, GUI Controls, Regions, Walkable Areas.
3839 - Added Enabled and Visible properties to Characters, Enabled property to Room Objects.
3940 - Added BlendMode property for Characters, GUI and Room Objects.
@@ -90,6 +91,10 @@ Scripting:
9091 - Dynamic arrays now have Length pseudo-attribute used to retrieve their length.
9192 - Global variables may now be declared right after struct's or enum's declaration, between
9293 the closing bracket and closing semi-colon.
94+ - Support regular (non-managed) struct and array variable initializers, where you can specify
95+ their element values either in the order of their declaration or as a "name1: value,
96+ name2: value" sequence. For arrays the latter would be "0: value, 1: value" and so forth.
97+ NOTE: this works only for global variables at the moment.
9398 - Functions now may call any other function from within same script, regardless of their
9499 order of declaration.
95100 - When calling a function you may specify parameter names like "name1: value, name2: value",
@@ -154,6 +159,12 @@ Script API:
154159 - Added ColorFormat enum, and optional "color_format" parameter to DynamicSprite's functions:
155160 Create(), CreateFromBackground(), CreateFromDrawingSurface(), CreateFromExistingSprite()
156161 and CreateFromFile().
162+ - Added DialogOptionsNumbering enum, to use when setting dialog options numbering mode.
163+ - Added multiple new properties to Dialog type: OptionsBulletGraphic, OptionsGap, OptionsGUI,
164+ OptionsGUIX, OptionsGUIY, OptionsHighlightColor, OptionsMaxGUIWidth, OptionsMinGUIWidth,
165+ OptionsNumbering, OptionsPaddingX, OptionsPaddingY, OptionsReadColor, OptionTextAlignment.
166+ Most of these are replacing previously existing old-style variables in "game" struct and
167+ OPT_* options. OptionsGUIX/Y and OptionTextAlignment are completely new features.
157168 - Added DrawingSurface.BlendImage() and DrawingSurface.BlendSurface() functions.
158169 - Added DrawingSurface.BlendMode property that lets define blend mode for primitive drawing
159170 operations (line, rectangle, triangle, etc).
@@ -179,6 +190,9 @@ Script API:
179190 - ViewFrame.Flipped property now returns eFlipDirection instead of bool.
180191 - Added optional width, height and layer parameters to SaveScreenShot().
181192 SaveScreenShot() now supports location tokens in file path.
193+ - Added new game-wide option OPT_GUICONTROLMOUSEBUT that defines whether common GUI controls
194+ are affected by the right mouse button or not (InventoryWindows are excluded from this, because
195+ they have their own special handling for RMB).
182196 - Added "walkarea[]" and "walkbehind[]" global arrays.
183197 - Global generated game objects (Characters, GUIs, etc), and global arrays of these objects
184198 (character[], object[], gui[], etc) are now declared as object *pointers* and arrays of
@@ -206,6 +220,7 @@ Engine:
206220 - Allow to run the game even if it has no fonts (log a warning).
207221 - Allow to continue running the game if any font failed to load on startup.
208222 Such font will simply not get drawn, unless replaced by a plugin, for example.
223+ - Standard Dialog options now support Right-to-left text mode.
209224 - Overlay.X and Y properties of textual screen overlays, such as blocking speech, now treat
210225 assigned values correctly as screen coordinates and return values set by user consistently.
211226 They also return the assigned values without any offsets for textual overlays created using
0 commit comments