120717 Commits

Author SHA1 Message Date
Martin Gerhardy
930aefbaa9 EVENTRECORDER: fixed missing events in eventQueue of DefaultEventManager
due to the fact that we aborted every event that wasn't a key-repeat event, we never filled the event queue
2021-07-08 15:05:35 +02:00
Martin Gerhardy
f1d9fd2c8a TWINE: debug logging 2021-07-08 15:05:35 +02:00
Martin Gerhardy
669e3fcba3 EVENTRECORDER: don't skip events by calling getMillis() during processMillis()
If for some reason getMillis() was called in any of the functions that are called
inside of processMillis() the getNextEvent would skip events. To prevent this we
detect recursive calls to processMillis() now and assume that no further millisecond
has passed since the initial call.
2021-07-08 15:05:35 +02:00
Martin Gerhardy
2a658b9d65 EVENTRECORDER: quit scummvm after end of recorder file was reached.
This might also become a return to launcher, but I've somehere read the hint that
the event recorder was only meant to play back one game per session. We'll see.
2021-07-08 15:05:35 +02:00
Martin Gerhardy
70167d8423 EVENTRECORDER: debug logging 2021-07-08 15:05:35 +02:00
Martin Gerhardy
36afa639a4 EVENTRECORDER: skip some getMillis for the event recorder
they are running as event source and would bring the event recorder into an out-of-sync state
2021-07-08 15:05:35 +02:00
Martin Gerhardy
f35cc92aaf EVENTRECORDER: ignore other event sources when playing back a record 2021-07-08 15:05:35 +02:00
Martin Gerhardy
5ae72dc190 EVENTRECORDER: removed unused variable 2021-07-08 15:05:35 +02:00
Martin Gerhardy
375d8dc4a4 EVENTRECORDER: changed event recorder format and added more events
the custom engine events were missing and the default event manager transforms the backend events
. Which means that the event recorder is not persisting the low level key press/release events
but the already transformed custom engine events of the keymapper
2021-07-08 15:05:35 +02:00
Cameron Cawley
bb16fae4b4 STARK: Provide a more descriptive error when TinyGL is selected 2021-07-08 15:00:41 +02:00
Cameron Cawley
2b5d75f830 STARK: Allow using the OpenGL 1.x renderer when shaders are unavailable 2021-07-08 15:00:41 +02:00
Eugene Sandulenko
a471edf94c I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1648 of 1648 strings)
2021-07-08 12:39:29 +00:00
Le Philousophe
d4702047da AGS: Fix int/int32 build failure 2021-07-08 13:28:47 +02:00
ysj1173886760
2f574b8988 DIRECTOR: constrain offset of BITD decoder to either 1 or 0. 2021-07-08 17:48:00 +08:00
Orgad Shaneh
c9a19011bf EVENTRECORDER: Use a dynamic array for buffer in PlaybackFile
It is allocated on the stack.
2021-07-08 10:59:09 +02:00
Paul Gilbert
7e42ae4eec MOHAWK: Revert incorrect format specifier changes 2021-07-07 22:07:10 -07:00
Paul Gilbert
93bc3a65d4 AGS: use text encoding hint from translation
From upstream f77000a5ef7a7188022c6d5d8f25941ae1e19ef6
2021-07-07 22:07:10 -07:00
Paul Gilbert
5dc90dabc4 AGS: Added encoding hint to the TRS/TRA
From upstream 37efe963fd6f3bd62de248a71e8a7aa97a1ba1c2
2021-07-07 22:07:10 -07:00
Paul Gilbert
81f0088064 AGS: Start in the UTF-8 mode, switch encoding based on game data
From upstream 1d8a47d494a5211645ca2883b7c1f4931e1cc34a
2021-07-07 22:07:10 -07:00
Paul Gilbert
e582a09612 AGS: Reprogram file/path functions to always use UTF-8 encoding
From upstream d9fba3fba3ec5f012297f1ec7dd0d1d5a55f3255

This only applies most of this commit, since it changes Allegro
code which I don't fully implement for ScummVM anyway, since all
path and file operations go via the ScummVM API anyway
2021-07-07 22:07:10 -07:00
Paul Gilbert
bfabf7c94d AGS: Fixed infinite wait in Object_Move under specific conditions
From upstream 9dbdfe423c870e010a887cada725a8bbdf2de16e
2021-07-07 22:07:10 -07:00
Paul Gilbert
7e322be394 AGS: Moved image (de)compression functions out from SpriteFile
From upstream a3c6e7cfded18daadab00474ff6d148904581f08
2021-07-07 22:07:09 -07:00
Paul Gilbert
41b1126aed AGS: Split SpriteCache, picking out read/write into SpriteFile class
From upstream 565eaaf90e63ad444798cd949b1e4c60dfb4a0f8
2021-07-07 22:07:09 -07:00
ysj1173886760
6de9ff5e42 DIRECTOR: amend function play 2021-07-08 11:05:17 +08:00
ysj1173886760
ee52e2274c DIRECTOR: eliminate forcing dims when setting cast in lingo 2021-07-08 10:10:07 +08:00
ysj1173886760
67f20656b5 DIRECTOR: use highest bit of _inkData of sprite to decide whether to scale bitmap castmember 2021-07-08 10:08:22 +08:00
Paul Gilbert
135ac365ac AGS: Fix error message for pre-2.5 games 2021-07-07 18:11:42 -07:00
ysj1173886760
0d7c1a51b2 DIRECTOR: amend resolvePaletteId. 2021-07-08 02:25:11 +02:00
ysj1173886760
2ef52a07cb DIRECTOR: amend the way we are parsing palette for D2 2021-07-08 02:25:11 +02:00
ysj1173886760
fcd8703356 DIRECTOR: regard 0 as the default palette 2021-07-08 02:25:11 +02:00
ysj1173886760
4ba52620e5 DIRECTOR: delete creating quick matte. 2021-07-08 02:25:11 +02:00
ysj1173886760
d92c06617b DIRECTOR: fixing createQDMatte 2021-07-08 02:25:11 +02:00
ysj1173886760
1b6f29b63a DIRECTOR: clean the surface after playing transitions 2021-07-08 02:25:11 +02:00
ysj1173886760
b152fc82aa DIRECTOR: amend setting sprites dims. 2021-07-08 02:25:11 +02:00
ysj1173886760
629ee4bfa3 DIRECTOR: Don't skip the compression when _bitsPerPixel == 1 2021-07-08 02:25:11 +02:00
ysj1173886760
6c8d4f3367 DIRECTOR: force to modify sprite dims when we are setting cast though lingo 2021-07-08 02:25:11 +02:00
ysj1173886760
d8d43958e8 DIRECTOR: use initialRect for sprite dims when ink type is copy 2021-07-08 02:25:11 +02:00
ysj1173886760
4add086365 DIRECTOR: create a stub for fplay 2021-07-08 02:25:11 +02:00
ysj1173886760
dc41917a74 DIRECTOR: implement text chunk fields operations 2021-07-08 02:25:11 +02:00
ysj1173886760
6e2a8fc08f GRAPHICS: MACGUI: implement setting text slant and text fontId of text chunks 2021-07-08 02:25:11 +02:00
ysj1173886760
42aa4739f8 DIRECTOR: implement chunk field operations for text cast member 2021-07-08 02:25:11 +02:00
ysj1173886760
56fad1585b DIRECTOR: implement setting text size for text cast member 2021-07-08 02:25:11 +02:00
ysj1173886760
8c70bab234 DIRECTOR: implement linespacing for text castmember, set line spacing default to 1 in D4 2021-07-08 02:25:11 +02:00
ysj1173886760
1492a06a84 GRAPHICS: MACGUI: amend interLinear for mactext 2021-07-08 02:25:11 +02:00
ysj1173886760
60c0e78d95 GRAPHICS: MACGUI: add line spacing for mactext 2021-07-08 02:25:11 +02:00
ysj1173886760
a841358e69 DIRECTOR: implement some basic field operations for text cast 2021-07-08 02:25:11 +02:00
ysj1173886760
6593d125b0 DIRECTOR: read rect dims as signed number instead of unsigned 2021-07-08 02:25:11 +02:00
ysj1173886760
bb456a64d2 DIRECTOR: switch to next frame when we are calling play done at script channel scripts. 2021-07-08 02:25:11 +02:00
ysj1173886760
111726031d DIRECTOR: set currentChannelId to 0 for script channel scripts. 2021-07-08 02:25:11 +02:00
ysj1173886760
13f5460ca4 DIRECTOR: only use the original sprites when we have to scale down the bitmap cast member 2021-07-08 02:25:11 +02:00