Walter Agazzi
50a655871f
AGS: Engine: fixed dialog parser not drawn on the correct position
...
From upstream 394866b2928433475fcfd0a3ab298e2b70570cbc
2023-01-17 17:27:07 +00:00
Walter Agazzi
e7d348f9a4
AGS: Updated build version (3.6.0.35)
...
From upstream b956da6dc1403dae7a25d880b4adfd3990f7b59b
2023-01-17 17:27:07 +00:00
Walter Agazzi
028567e890
AGS: Engine: improved parameter logging in SetAudioTypeVolume
...
from upstream 94598f32ff20494a3239f258ac972f8108bc05bf
2023-01-17 17:27:07 +00:00
Walter Agazzi
902b92341d
AGS: Engine: prevent invalid parameter in video player
...
partially from upstream 4efaf8116a2bd0bcf909b174dc28b945e4b52745
2023-01-17 17:27:07 +00:00
Walter Agazzi
43bdb0d5c5
AGS: Script API: Mouse.AutoLock
...
From upstream f49501a18b48767184e5f3d5da355405e29ad9e
2023-01-17 17:27:07 +00:00
Cameron Cawley
138a983d80
COMMON: Refactor VSync handling to match the other options
2023-01-16 18:09:53 +01:00
Walter Agazzi
63a2dc4388
DETECTION: Convert all GOG strings to GOG.com
2023-01-15 11:46:46 +02:00
Thierry Crozat
1de1274cda
AGS: Add detection for new GOG Mac versions of several games
2023-01-10 23:36:09 +00:00
Eugene Sandulenko
d3f9ddcb44
AD: Move canPlayUnknownVariants() override to a flag.
2023-01-09 18:56:50 +01:00
Walter Agazzi
0ee9002929
AGS: Add detection for some old games/versions
2023-01-05 13:00:39 +01:00
Walter Agazzi
de34fdbe68
AGS: Fix mousepress not being tracked
...
This caused the "autoclick/skipping lines" bugs
2023-01-03 14:31:27 +00:00
Walter Agazzi
134f64c7ed
AGS: Add Mac versions for some Steam games
2023-01-02 19:56:39 +01:00
Walter Agazzi
bbdc4cbcc7
AGS: Add detection for newer MAGS/itch.io versions
2023-01-02 19:56:38 +01:00
Walter Agazzi
dd4ae98a29
AGS: Add detection for Lord of the Bytes episodes
...
From AGS forums
2022-12-28 11:12:38 +01:00
Walter Agazzi
c23c8967a7
AGS: Add detection for various old games
...
From AGS forums
2022-12-28 11:12:38 +01:00
Walter Agazzi
de08c711f2
AGS: Add Graceward CE demo
2022-12-28 11:12:38 +01:00
Walter Agazzi
ee959bb087
AGS: Add detection for two games
...
TRAC 13985 - 13986
2022-12-26 23:07:03 +01:00
Walter Agazzi
2608712649
AGS: Add/update detection for some commercial games
...
* Beyond The Edge of Owlsgard
* Castle Agony
* Perfect Tides
2022-12-23 17:21:44 +01:00
grisenti
92606bb7b8
AGS: improve find for AGS3::std::set
2022-12-21 13:45:25 +01:00
grisenti
7e6c494733
AGS: add erase method for elements to AGS3::std::set
2022-12-21 13:45:25 +01:00
grisenti
088c83fcf9
AGS: replace use of equality checks in AGS3::std::set
2022-12-21 13:45:25 +01:00
D G Turner
d5277a95c0
AGS: Fix Enumerated Type Comparison Mismatch GCC Compiler Warning
...
This is emitted when -Wenum-compare is passed to GCC.
2022-12-19 00:07:37 +00:00
Donovan Watteau
2c804b9c71
AGS: Fix AmigaOS and NDS builds
2022-12-18 14:03:39 +01:00
Thierry Crozat
1d4d6d501e
AGS: Engine: corrected some of the key evt queue exceeding loops
...
Part of upstream 66738a0c4550ec349dcf45ec39030b56332e1ea8
2022-12-17 22:10:55 +01:00
Thierry Crozat
ccbe6f5419
AGS: Engine: in video_check_user_input() exceed all the keypress buffer
...
From upstream f7b90bbaaa242e4dc79d26fdddaf7e269e7ce600 and part of
upstream 66738a0c4550ec349dcf45ec39030b56332e1ea8
2022-12-17 22:10:55 +01:00
Thierry Crozat
b052270504
AGS: Engine: in built-in dialogs exceed all the keypress buffer at once
...
From upstream ec194e7fbd964f29e590d3b446db9dd3804e9e02
2022-12-17 22:10:55 +01:00
Thierry Crozat
57266951a9
AGS: Engine: fixed built-in textboxes not responding to printed chars
...
From upstream f1064e91c3b71e2bed4d866bb57b2d32fc1fed25
2022-12-17 22:10:55 +01:00
Thierry Crozat
3286cf18ec
AGS: Engine: in display_main exceed all the keypress buffer
...
From upstream d2100b01ee4a85219b481dcd7593f0e0d419523e
2022-12-17 22:10:55 +01:00
Thierry Crozat
871d4b54e1
AGS: Engine: in DialogOptions exceed all the keypress buffer
...
From upstream 5488f02bae108c1f191a5b6ca3a46eee6497058a
2022-12-17 22:10:55 +01:00
Thierry Crozat
c156608796
AGS: Engine: fixed dangerous use of String::Wrapper in logging
...
From upstream 588d91ab6a09877eab06bf66073239db0d28271b
2022-12-17 22:10:55 +01:00
Thierry Crozat
5772893340
AGS: Engine: fixed CallScriptFunction for the ancient games + added comments
...
Was broken by dec92f05ea
(e38df03c5d1658a2c44a26ba4ee6f22663c1e701 in upstream).
Some games do not have function arg count appended to the function names in
the export table; in that case `export_args` remained uninitialized.
From upstream cdbb7a7367db57e14983015232ecc97f6a3dd212
2022-12-17 22:10:55 +01:00
Thierry Crozat
31c1d49762
AGS: fixed skip_rle_bitmap8() made no sense whatsoever
...
This fixes loading pre 2.55 games.
From upstream 3df6b7185685bcd6a2d6cbdb7b5c3b62ea5dc9b0
2022-12-17 22:10:55 +01:00
Eugene Sandulenko
d0ab65a318
AGS: sprintf -> snprintf
2022-12-16 11:14:41 +01:00
Thierry Crozat
da8d47e72e
AGS: Updated build version (3.6.0.34)
...
From upstream 01f3a19eb80bed3e0803c37a9649e9560485038b
2022-12-15 22:40:17 +01:00
Thierry Crozat
aa6c07f03e
AGS: Plugin API: few adjustments to recently added methods
...
From upstream ddf9aee9c360a60edcc2f3107fbac41f8efbe93c
2022-12-15 22:40:17 +01:00
Thierry Crozat
6c18c2d5b5
AGS: Engine: support Clifftop Games custom engine's resolution mod
...
From upstream 6a238e9cb4acda222898dd4b597cf20581b401f6
This replaces a slightly different fix we had in ScummVM. But this new
code works better and fixes bug #12949
2022-12-15 22:40:17 +01:00
Thierry Crozat
9a14045e0e
AGS: Common: fixed linker error at BufferedStream::BufferSize
...
From upstream 919f14226d1391bdee7ea50ac4825414b4dd5e95
2022-12-15 22:40:17 +01:00
Thierry Crozat
5c8287dfec
AGS: Common: fixed BufferedSectionStream not preventing read past end
...
There have been this stupid oversight all along since the introduction
of the class: while it reported Length and EOS correctly, it still
allowed to read past the end.
This can cause issues if the user code relies, for example, on Read()
or ReadByte() return value.
For upstream code, in practice this fixes MP3 streaming, where the length
of data is not always possible to precalculate. In ScummVM we used a
different code for MP3, but this may fix other cases as well.
From upstream 6f02bedc65b902ce41858b7e92970662020a11cf
2022-12-15 22:40:17 +01:00
Thierry Crozat
3dee5bb762
AGS: Script API: add "restrictToViewport" arg to Screen.ScreenToRoomPoint()
...
This argument works similarily to Viewport.ScreenToRoomPoint():
if it's set to true then the function returns null if there's no
viewport under the cursor; if it's set to false it converts
coordinates through the primary viewport in such case.
From upstream 5014c502aa487d3cbdf01e99d57306f2131d4c54
2022-12-15 22:40:17 +01:00
Thierry Crozat
9a3ff9b285
AGS: Implement shake screen and flip screen support
...
This is partially based on upstream 675560f7c2060528ba7c75d5ecca78c56b9f0d8e
2022-12-15 22:40:17 +01:00
Thierry Crozat
54e99b36e9
AGS: Engine: support pre-3.5.0 Label.TextAlignment with legacy values
...
Some custom engines supported Label.TextAlignment before 3.5.0 got this
added officially, except they used old alignment constants.
From upstream 46fc9bac4fa6082561a1937861b3e567ccea2cd4
2022-12-15 22:40:17 +01:00
Thierry Crozat
c8eae1fa27
AGS: SpriteFont: corrected Clifftop's VariableWidth font height values
...
Got their meaning wrong on the first time.
From upstream d94f20742284ea75abbde86905159c490a7b4d46
2022-12-15 22:40:17 +01:00
Thierry Crozat
7d88a52275
AGS: Engine: fixed restoring a legacy savegame
...
From upstream 9776df3c8403f252e981f5518c48eace2e83d373
2022-12-15 22:40:17 +01:00
Thierry Crozat
39c98f652c
AGS: Engine: initialize SDL audio using env variables, don't SDL_AudioInit
...
The code is present but not used in ScummVM. Keeping it synchronized
with upstream might help in the future.
From upstream fcf4b76914a25daaf5a7b711b7ed287e5eaae9f6
2022-12-15 22:40:17 +01:00
Thierry Crozat
2548567c5d
AGS: Updated build version (3.6.0.33)
...
From upstream 57423a7e7e790c43c71d408fd3a28ccfc2e6a3e2
2022-12-15 22:40:17 +01:00
Thierry Crozat
75a67377d6
AGS: Script API: added File.WriteRawInt(), complementing ReadRawInt
...
From upstream cf23239bcce2e50377866090a11f1489602fdd65
2022-12-15 22:40:17 +01:00
Thierry Crozat
ed8e6fb1ce
AGS: added safety check for removing sprites
...
Part of upstream a9e0e47ecfeec205a49ceaf8dd681944eede5eca
2022-12-15 22:40:17 +01:00
Thierry Crozat
d9a52bac54
AGS: SpriteFont: compatibility fix for engine interface < 26
...
From upstream 29741334fc18c9cf5f55e5032087f72031a25954
2022-12-15 22:40:17 +01:00
Thierry Crozat
7ac540ed28
AGS: Updated build version (3.6.0.32)
...
From upstream c5ca2a632371b2509d380c3887ee8d9885c37f42
2022-12-15 22:40:17 +01:00
Thierry Crozat
887f156f73
AGS: Engine: OpenGL, Software drivers also try 24bit display modes for 32bit
...
This is mostly a cosmetic fix, as graphic mode was created successfully anyway.
But the engine was incorrectly reporting no suitable modes available.
From upstream 4399d6448c579c648fe7e0c157a6d5f1adc74a6c
2022-12-15 22:40:17 +01:00