Thierry Crozat
713d13e7ad
SUPERNOVA: Mark intentional fallthrough in switch
2018-01-31 21:09:10 +00:00
Thierry Crozat
4c857e1706
SUPERNOVA: Fix incorrect sanity check for debug command
...
This was reported by coverity (CID 1385537).
2018-01-31 20:58:02 +00:00
Thierry Crozat
bab0bf2b1e
SUPERNOVA: Improve command button size for translations
2018-01-31 20:45:31 +00:00
Henrik "Henke37" Andersson
f71dc0d8ab
SCUMM: Check for and flag demos correctly
...
Rewrote the detection matching to use the extra field like the other
two.
This requires extensive testing due to touching code shared for a lot of
games and being sensitive to individual versions of games.
2018-01-31 21:01:28 +01:00
Colin Snover
4e6b60948d
SCUMM: Remove variable shadowing
2018-01-31 12:24:32 -06:00
Adrian Frühwirth
90ce265ab8
TUCKER: Print infobar string if no savegame exists
...
Before, the ingame load dialog pretended to allow loading savegames from
all possible slots even if no savegames existed.
This introduces the original interpreter's behavior which instead loads
a resource string from infobar.txt informing the user that no savegames
are available.
2018-01-31 19:23:56 +01:00
Adrian Frühwirth
ce790bff1c
TUCKER: Fix sentence bar offsets
...
Fixes Trac#10413 and Trac#10414.
2018-01-31 19:22:56 +01:00
Adrian Frühwirth
1133b34954
TUCKER: Fix dirty rects drawing bug in drawStringInteger()
2018-01-31 19:20:31 +01:00
Adrian Frühwirth
89cbf91d63
TUCKER: Use existing enum for verbs
2018-01-31 19:18:07 +01:00
Adrian Frühwirth
9c910b9000
TUCKER: Fix dentist music in mall being played incorrectly
2018-01-31 19:17:35 +01:00
Colin Snover
979ae76ec1
SCUMM: Fix compilation failure
2018-01-31 12:08:17 -06:00
Adrian Frühwirth
4daf3e4ea5
TUCKER: Fix bubbles in Plugs shop
...
Fixes Trac#6641.
2018-01-31 19:06:57 +01:00
Adrian Frühwirth
3c37c42bd0
TUCKER: Cure Bud's and Billy's seasickness
...
This ensures that the calculated offsets for Bud and Billy are [0,2] px
and follow the sequence 0px -> 1px -> 2px -> 1px -> 0px as opposed to
the earlier 0px -> 1px -> 2px -> 3px -> 0px which resulted in them
teleporting back to their original location and on top of that being
out of sync with the boat.
Fixes Trac#6643.
2018-01-31 19:02:29 +01:00
Adrian Frühwirth
ff8e4a4410
TUCKER: Fix walking Royston glitch
...
Fixes Trac#6640.
2018-01-31 19:00:47 +01:00
Eugene Sandulenko
cb5436dd16
TUCKER: Clarify comment in room palette handling code
2018-01-31 18:37:24 +01:00
Adrian Frühwirth
7485fc3f75
TUCKER: Fix color cycling in submarine room
...
Fixes Trac#6378.
2018-01-31 18:36:03 +01:00
Adrian Frühwirth
321a563a31
TUCKER: Fix font rendering bug
...
Fixes Trac#6370.
2018-01-31 18:05:27 +01:00
Eugene Sandulenko
52ecf7f5b2
SCUMM: Fix warning (it generates another one in common/ though)
2018-01-31 18:02:04 +01:00
Colin Snover
2e061d95c5
COMMON: Move VER macro for serializer into common code
2018-01-31 17:58:01 +01:00
Colin Snover
9916b26383
SCUMM: Replace UB-triggering serialization code with Common::Serializer
...
Fixes Trac#10342.
2018-01-31 17:58:01 +01:00
Colin Snover
9d10a998ae
SCUMM: Fix stack overflow initializing locals
...
This happens when clicking on the triangular button in room 27 in
The Dig.
There are probably several other places where this overflow
happens, since there are several different `int args[16]` in
the code (and many more `int args[` of various sizes, not all of
which are at least NUM_SCRIPT_LOCAL).
2018-01-31 17:56:33 +01:00
Colin Snover
b166746b9c
SCUMM: Fix stack overflow initializing locals
...
This happens at least when trying to right click on the motorcycle
at the start of Full Throttle.
2018-01-31 17:56:33 +01:00
Adrian Frühwirth
16eac57834
SCUMM: implement lipsync for v7 games
2018-01-31 16:38:07 +01:00
Giovanni Bajo
3a60637d77
SCUMM: really implement lipsync
...
It looks like the code was there, but it was never fully implemented
because _curSoundPos was never being incremented. Experimentally,
it looks like it works if it is a 60FPS counter.
2018-01-31 16:36:24 +01:00
Paul Gilbert
09095d6647
XEEN: Move the World of Xeen ending cutscene to it's own file
2018-01-31 06:59:27 -05:00
Paul Gilbert
7c56192205
XEEN: Further implementation of World of Xeen ending
2018-01-30 22:09:10 -05:00
Paul Gilbert
cb022f3911
XEEN: Explicitly use DT_PHYSICAL in DamageType field comparisons
2018-01-30 19:12:55 -05:00
Colin Snover
3025257c6e
SCI: Add detection entry for LB2 ES floppy
...
Fixes Trac#10416.
2018-01-30 17:59:24 -06:00
Thierry Crozat
2ba8ef9dc0
SUPERNOVA: Ensure the GuiElement _text field is null terminated
...
This was reported by coverity (CID 1385566), and althought this was
unlikely to happen, it was not impossible (due to the translations).
2018-01-30 22:06:03 +00:00
Thierry Crozat
13324efb7f
SUPERNOVA: Fix out of bound access when exiting the engine while in a dialog
...
This was reported by coverity (CID 1385572).
2018-01-30 21:48:20 +00:00
Paul Gilbert
265fd398fb
XEEN: In progress implementing World of Xeen endgame
2018-01-30 08:05:00 -05:00
Paul Gilbert
104c01f85a
XEEN: Hook up script opcodes to show ending cutscenes
2018-01-29 19:10:38 -05:00
Thomas Fach-Pedersen
270b691b27
BLADERUNNER: Remove simple walking hack
...
Rename previously unnamed walking parameter 'interruptible'
2018-01-29 21:52:17 +01:00
Peter Kohaut
a4229c9398
BLADERUNNER: Completed KIA interface
...
Added Diagnostic section - small button above main buttons
Added Pogo section - easter egg - write "pogo" while KIA is open
Code formatting again
2018-01-29 20:42:35 +01:00
Peter Kohaut
0c930b06ed
BLADERUNNER: Added KIA interfaces
...
Crimes interface done
Suspects interface done
Added some game constants
Fixed font rendering for other languages
Fixed anoying clang warning
2018-01-29 18:32:09 +01:00
Paul Gilbert
86c084cf9a
XEEN: Implemented cmdDisplayLarge opcode
2018-01-28 21:41:59 -05:00
Paul Gilbert
d76ba5a1c1
XEEN: Removal of redundant TODOs
2018-01-28 15:47:24 -05:00
Paul Gilbert
d110ce4777
XEEN: Fix virtual destructor warnings for Music
2018-01-28 12:23:15 -05:00
Paul Gilbert
0655cff514
XEEN: Change ErrorDialog to MessageDialog
2018-01-28 12:21:44 -05:00
Paul Gilbert
6f05085af3
XEEN: Flesh out missing ErrorDialog code
2018-01-28 12:15:32 -05:00
Paul Gilbert
319b2c29d5
XEEN: Added logic for music/sound toggling
2018-01-28 11:53:11 -05:00
Peter Kohaut
9dffe62959
BLADERUNNER: Fix compilation issues
2018-01-28 11:14:29 +01:00
Peter Kohaut
1e5f9d3078
BLADERUNNER: Added basic KIA interface
...
Settings works
Help works
Clue database works
Fixed code for inserting objects into scene
Reorganization of few files
Unification & code formatting of few older files
2018-01-28 10:57:16 +01:00
Paul Gilbert
3a937f19c0
XEEN: Second compilation fix
2018-01-27 22:02:35 -05:00
Paul Gilbert
6160f3842c
XEEN: Implement save manager save/load methods
2018-01-27 21:55:26 -05:00
Paul Gilbert
ac7ec1febe
XEEN: Hopeful compilation fix
2018-01-27 21:54:39 -05:00
Paul Gilbert
b1b0f6be2e
XEEN: Control panel dialog now showing
2018-01-27 21:39:40 -05:00
Paul Gilbert
6080d63339
XEEN: Implementing control panel dialog
2018-01-27 20:00:24 -05:00
Paul Gilbert
12eacafe0e
XEEN: Implement screen shaking
2018-01-27 17:12:23 -05:00
Paul Gilbert
540f47294a
XEEN: Move Scripts _v2 to Combat _damageTarget
...
The _damageTarget field is wonky. In most places, such as in
giveCharDamage, it's treated like an enum. But in the if opcode
logic (cmdIf), it's definitely treated a character index
2018-01-27 16:27:03 -05:00