Commit Graph
137148 Commits
Author SHA1 Message Date
Eugene Sandulenko 519ef9d172 DIRECTOR: LINGO: Implement 'the frameLabel' 2020-08-04 23:36:41 +02:00
Roland van Laar f6602245b9 DIRECTOR: LINGO: follow the itemDelimeter
`the number of items in _chunkExpression_` follows the itemDelimiter.
2020-08-04 22:04:27 +02:00
Roland van Laar 022e6c138c DIRECTOR: LINGO: Warn chars is called with float
Director 2 and 3 can't handle floats in the chars builtin.
ScummVM can, but warns and returns a 0.
2020-08-04 21:46:12 +02:00
djsrv f4c652e76f DIRECTOR: Return true on handled key event 2020-08-04 15:16:18 -04:00
djsrv a7ca8a0b2c DIRECTOR: Get rid of busy wait for click loop 2020-08-04 15:14:05 -04:00
djsrv 5e96518ba7 DIRECTOR: Don't add delay to "wait for" tempos 2020-08-04 14:59:43 -04:00
djsrv 88bb397147 DIRECTOR: LINGO: Load correct name table 2020-08-04 13:26:15 -04:00
djsrv 4d4f2b2549 DIRECTOR: LINGO: Fake dispose FileIO obj on error
It will be disposed for real once the last reference is gone.
2020-08-04 12:00:46 -04:00
athrxx 48c2cb3043 KYRA: (LOL) -turn PR 2399 into gui option
- I don't want to have this as a default, since it is convenient for consoles but a matter of taste for desktop platforms
- Also tweak the suggested name a bit more to my liking
2020-08-04 17:11:31 +02:00
neuromancer 76a9a025dc KYRA: Automatically suggest current time and date when adding a new savegame (#2399)
This small quality-of-life change suggests a newsave name with the current time and date for the Land of Lore games. This allows to play the games with less usage of a keyboard (e.g. only mouse or remapping keys to a gamepad).
2020-08-04 17:11:01 +02:00
Paul Gilbert 0aea50fdbb ULTIMA4: Fix random party movement during combat 2020-08-03 21:56:03 -07:00
Nathanael Gentry 4496f009ab DIRECTOR: Improve D3 Mac palette channel loading 2020-08-04 00:28:00 -04:00
Nathanael Gentry 6b830e2051 DIRECTOR: Replace hardcoded base palette ID
It seems that not all movies do have the palette ID starting at 1025, so we'll
just load them by iterating through the hashmap.
2020-08-04 00:28:00 -04:00
Nathanael Gentry 97cbcaa4fe DIRECTOR: Read D3 palettes for Windows platform 2020-08-04 00:28:00 -04:00
Nathanael Gentry f2fe352c00 DIRECTOR: Gracefully exit on bad EXE 2020-08-04 00:28:00 -04:00
Matthew Jimenez 0e8d774df7 ULTIMA8: Implement GameMapGump::dumpMap debugger command 2020-08-03 21:53:39 -05:00
djsrv 0ccf8ab395 DIRECTOR: LINGO: Handle unused script flag
Appears in Lingo Expo/Simulation/MECH.
Any scripts that have this are empty and have no cast member.
2020-08-03 16:57:37 -04:00
djsrv d0002d5ef1 DIRECTOR: LINGO: Uniformly use 1-indexed script id 2020-08-03 16:57:37 -04:00
Eugene Sandulenko 2d4941a16a DIRECTOR: LINGO: Further fixes for 'go' syntax 2020-08-03 22:26:42 +02:00
Eugene Sandulenko dea5a8625d DIRECTOR: LINGO: Implement grammar for 'go the frame XX' 2020-08-03 22:05:37 +02:00
Eugene Sandulenko 15e305a32d DIRECTOR: Pre-D4 Director was integer-only 2020-08-03 21:54:50 +02:00
djsrv 4d17c4dde7 DIRECTOR: LINGO: Fix put into cast 2020-08-03 15:54:12 -04:00
Cameron Cawley be6134c5de BACKENDS: Add final keywords 2020-08-03 20:24:27 +01:00
djsrv 45f0399b72 DIRECTOR: LINGO: Fix tSET THEENTITYWITHID expr 2020-08-03 14:36:10 -04:00
Eugene Sandulenko f0dcd11784 DIRECTOR: LINGO: Fix DS compilation 2020-08-03 20:22:53 +02:00
djsrv 1088b2e6f5 DIRECTOR: LINGO: Allow trailing comma in arg lists 2020-08-03 13:46:00 -04:00
Eugene Sandulenko 44e4b6aada DIRECTOR: LINGO: Implement difference between asInt() and b_integer() 2020-08-03 19:00:30 +02:00
Eugene Sandulenko 5b73cddc4e DIRECTOR: LINGO: Made scummvmAssert* built-ins trace line numbers 2020-08-03 18:46:13 +02:00
Eugene Sandulenko db508e9875 DIRECTOR: LINGO: Implement Director-specific rounding (tested with D3-5) 2020-08-03 17:56:03 +02:00
Eugene Sandulenko 12a35cda57 DIRECTOR: Do not attempt to render cursor from empty sprite 2020-08-03 17:56:03 +02:00
Nathanael Gentry acf93352b3 DIRECTOR: Properly activate D3 palette castmembers 2020-08-03 11:05:58 -04:00
Nathanael Gentry 68d2852e90 DIRECTOR: Permit reassigning palette IDs 2020-08-03 11:01:49 -04:00
Nathanael Gentry 580f8b7fd0 DIRECTOR: Read D3 palette channel info 2020-08-03 11:01:49 -04:00
Roland van Laar 07b1314ff4 DIRECTOR: LINGO: Implement D3ism with chars
In D3 the builtin chars throws an error when called with a float.
Mimick this behavior by returning a Datum(0).
The choice was made to recreate this behavior to serve
as living documentation on how Director behaves.
2020-08-03 12:01:15 +02:00
Roland van Laar 1906ebcea0 DIRECTOR: LINGO: D3 float to int as round
D3 does a round, D4 a floor. Now when converting a Datum to an int
with D3 it's done with round. With D4 the default behavior is kept,
i.e. a floor.

Includes a test for charOf which tests this.
2020-08-03 12:01:15 +02:00
Roland van Laar 644704a5ba DIRECTOR: Allow Director Version change during runtime
There are subtle versions between director versions.
Changing the version during runtime allows for testing these
changes from the lingo tests.

Includes a new kThe keyword: kTheScummvmVersion.
The Director Version can be set and queried with it.
2020-08-03 12:01:15 +02:00
Eugene Sandulenko dd4866dd1b FULLPIPE: Another class variable initialization 2020-08-03 11:05:38 +02:00
Eugene Sandulenko 3e5d519858 FULLPIPE: Initialize class variable 2020-08-03 11:05:38 +02:00
Eugene Sandulenko 1841c29bca DIRECTOR: Remove unneeded condition 2020-08-03 11:05:38 +02:00
Eugene Sandulenko 3a390e863d DIRECTOR: LINGO: Remove dead code 2020-08-03 11:05:38 +02:00
Matthew Duggan c7a5dfe932 ULTIMA8: Remember shield sprite for most shields 2020-08-03 17:52:30 +09:00
Matthew Duggan a8baa9b286 ULTIMA8: add defensive null check for firetype 2020-08-03 17:52:30 +09:00
Matthew Duggan 3666cf9fce ULTIMA8: Initialize all the members 2020-08-03 17:52:30 +09:00
Eugene Sandulenko 0cef413abc DIRECTOR: LINGO: Added possibility to do a wildcard extra in patcher 2020-08-03 10:39:56 +02:00
Eugene Sandulenko ebbd65e13b DIRECTOR: Added 'extra' field to the patcher
Some games have more than one version. In order to have possibility
to specify what is it, we now match desc.extra too
2020-08-03 10:22:01 +02:00
sluicebox 852e6c2954 SCI: Removed unused GfxPicture::_animationNr 2020-08-02 22:20:48 -07:00
sluicebox c3e199309e SCI: Fix transposed pic transitions
Fixes two pic transitions which were backwards. The oldTransitionIDs
table masked this bug in several games. These are the transitions that
go to and from the edge of the screen and the center from all sides.

Examples of both transitions:
KQ6 entering oracle room 380
ECO2 restarting from any room

Example with the two-part blackout effect:
KQ4 looking through keyhole in room 51
2020-08-02 22:02:35 -07:00
Cameron Cawley 1cdf50ce75 GP2XWIZ: Fix compilation with older SDL versions 2020-08-03 01:17:13 +01:00
Cameron Cawley 4d2b45f3bd CONFIGURE: Always print the SDL version for SDL-based backends 2020-08-03 01:04:23 +01:00
Cameron Cawley 215c98d321 MAEMO: Fix compilation with older SDL versions 2020-08-02 23:03:30 +01:00