pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ags: update to ags-

Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <>
Pushed By:	yhardy
Date:		Sun Apr 24 00:02:16 2016 +0200
Changeset:	75efe55d475c0cab6b1789d5736d5e9228445138

Modified Files:
Removed Files:

Log Message:
ags: update to ags-


Editor Features:
- Path to resource's (sprite, audio) source file is now saved as relative one if the file is
  located inside game project's folder.
- Removed arbitrary limit of the script imports (was 50000).
- Script allows struct member qualifiers to be in any order.
- Better detection of integer constants overflow in script.
- Removed arbitrary limit of integer default value of +/-32000. Integer values are now limited
  by correct 32-bit values (-2147483648 to 2147483647).
- Support for negative constants in enums.
- Better folding markers and indentation guides in script editor.

Editor Bug Fixes:
- Fixed compiler crash if unknown keyword used after "readonly".
- Fixed compiler did not properly report incorrect type of dynamic array in function declaration.
- Fixed compiler did not report proper type name in case of syntax error sometimes.
- Fixed mouse cursor flicker above the script editor.

Engine Features:
- Removed unconfigurable mouse cursor's acceleration (Windows).
- Support for mouse cursor speed control: may be defined in configuration and changed in script.
- A config option for keeping consistent cursor speed relative to user's desktop resolution.
- Support for locking mouse inside window: automatic lock is enabled in configuration, and user
  may use Ctrl+Alt combination to lock/release mouse at any time.
- Restricted writing game files to special system directories
  (game is forbidden to write files into installation directiory or by absolute path).
  Unsafe paths are either remapped (when possible) or rejected.
- Support for player defined saves & game file directory.
- -v/--version command line argument makes engine display its version and bail.

Engine Bug Fixes:
- Fixed crash if screenshot is taken while game window was minimized or moving.
- Fixed alpha blend did not work properly for speech portrait if blinking frame did not have alpha channel.
- Fixed Display and Say script commands were displaying text for minimal amount of time under certain conditions.
- Fixed legacy audio functions did not start digital music playback if MIDI driver failed to initialize.
- Fixed game was run in smallest possible window if graphics driver failed to initialize fullscreen mode.
- Fixed "--help" command line argument not working all times depending on its order.
- Fixed engine did not always properly closed application window when running debug build.

Script API:
- Supported late_repeatedly_execute_always() callback in script, called after game has updated, but
  before it is drawn.
- Added Mouse.ControlEnabled (readonly) and Mouse.Speed properties.
- Added System.HasInputFocus property which tells if game currently has focus or runs at background.

Cosmetics & convenience:
- Clarified disabled MIDI option name in WinSetup.
- Extended information displayed if graphics driver failed to initialize.
- Clarified error messages for running unsupported games.

To see a diff of this commit:;a=commitdiff;h=75efe55d475c0cab6b1789d5736d5e9228445138

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

 ags/Makefile                                 |  2 +-
 ags/distinfo                                 |  8 ++++----
 ags/patches/patch-Engine_Makefile-defs.linux | 26 --------------------------
 3 files changed, 5 insertions(+), 31 deletions(-)

diff --git a/ags/Makefile b/ags/Makefile
index 2293f4e..f877e83 100644
--- a/ags/Makefile
+++ b/ags/Makefile
@@ -2,7 +2,7 @@
 MASTER_SITES=	${MASTER_SITE_GITHUB:=adventuregamestudio/}
diff --git a/ags/distinfo b/ags/distinfo
index 7cd1c83..5829dcc 100644
--- a/ags/distinfo
+++ b/ags/distinfo
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.2 2015/09/14 22:26:14 yhardy Exp $
-SHA1 (ags/v. = 7ece377457e722df2717668cc9fa14f79e3e9f0f
-RMD160 (ags/v. = fc16f11033396b104f5ea81ab5dbb5a16e66a660
-Size (ags/v. = 36093799 bytes
+SHA1 (ags/v. = 556dff07b25db260d004f750d5a433308fece679
+RMD160 (ags/v. = 8802c586f845c59af89c44370da31721dddf5cc6
+SHA512 (ags/v. = 288f98c2af35f41793d672af0cf517d306392ca7b781bb646e3bae56cd342d22c92c8e517812e5b62740fe6728384b61f30f885066d9b682b845ba60a5cb078b
+Size (ags/v. = 20009200 bytes
 SHA1 (patch-Common_core_endianness.h) = 2c5c1b5d3b80711c1eadec3652f18a4cede9c8eb
-SHA1 (patch-Engine_Makefile-defs.linux) = 0db95aa375f9800ef24436173309827400c8d73d
 SHA1 (patch-Engine_libsrc_libcda-0.5_linux.c) = 6272b02ee98f79a57f8b72167d4aa8bceff34992
diff --git a/ags/patches/patch-Engine_Makefile-defs.linux b/ags/patches/patch-Engine_Makefile-defs.linux
deleted file mode 100644
index 45a8ad4..0000000
--- a/ags/patches/patch-Engine_Makefile-defs.linux
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-Engine_Makefile-defs.linux,v 1.1 2015/08/18 18:47:58 yhardy Exp $
-Fix compiler and linker flags.
---- Engine/Makefile-defs.linux.orig	2015-07-12 16:14:07.000000000 +0000
-+++ Engine/Makefile-defs.linux
-@@ -1,8 +1,10 @@
- INCDIR = ../Engine ../Common ../Common/libinclude ../Plugins
-+CFLAGS += $(shell pkg-config --cflags allegro ogg theora vorbis)
- CXXFLAGS := -fno-rtti -Wno-write-strings $(CXXFLAGS)
- LIBS := -rdynamic $(shell allegro-config --libs) -laldmb -ldumb -Wl,-Bdynamic -ltheora -logg 
-+LIBS += $(shell pkg-config --libs allegro freetype2 ogg theora vorbis)
- ifeq ($(USE_TREMOR), 1)
-   LIBS += -lvorbisidec
-@@ -10,7 +12,7 @@ ifeq ($(USE_TREMOR), 1)
- else
-   LIBS += -lvorbis
- endif
--LIBS += -lvorbisfile -lfreetype -logg -ldl -lpthread -lm -lc -lstdc++
-+LIBS += -lvorbisfile -lfreetype -logg ${DL_LIBS} -lpthread -lm -lc -lstdc++
- ifeq ($(ALLEGRO_MAGIC_DRV), 1)

Home | Main Index | Thread Index | Old Index