Martin Kiewitz
56a0ba8b20
SHERLOCK: 3DO: make inventory work somewhat
...
inventory images is in item.lib on 3DO
2015-06-14 19:35:09 +02:00
Martin Kiewitz
2d70a7af6d
SHERLOCK: add boundary checks to fixed text class
...
for action strings
2015-06-14 18:14:52 +02:00
Paul Gilbert
724fe7e4f6
SHERLOCK: Move _walkDest from People to Person
2015-06-14 12:10:26 -04:00
Paul Gilbert
275064ad23
SHERLOCK: RT: Fix player movement whilst walking
2015-06-14 11:58:28 -04:00
Martin Kiewitz
e3afaddea3
SHERLOCK: fixed text German adjustment
...
2 lines were duplicated, fixed it
2015-06-14 17:55:57 +02:00
Martin Kiewitz
1b6a60f359
SHERLOCK: action processing uses fixed text class
...
action error messages are now localized too
2015-06-14 17:52:11 +02:00
Paul Gilbert
b26bc29619
SHERLOCK: RT: Fix player animation when enterng scene
2015-06-14 10:57:05 -04:00
Paul Gilbert
be5df8e304
SHERLOCK: Compilation fix
2015-06-14 10:21:50 -04:00
Martin Kiewitz
21f0038f96
SHERLOCK: journal uses fixed text class now
...
journal buttons and some text is now localized
2015-06-14 15:49:32 +02:00
Paul Gilbert
5b65b76a8f
SHERLOCK: RT: Fix initialization of character animation sequences
2015-06-14 09:39:20 -04:00
Paul Gilbert
5364b46d6a
SHERLOCK: RT: Move checkObject from Object to BaseObject
...
checkObject needs to be called in checkSprite now, which is in
the Sprite class. So the method and a few others it depeends
on have been moved into BaseObject
2015-06-14 08:56:00 -04:00
Martin Kiewitz
a33a4fa591
SHERLOCK: inventory uses fixed text class now
...
inventory buttons now localized
2015-06-14 14:51:43 +02:00
Martin Kiewitz
e7dcf4905e
SHERLOCK: fixedText class to support localizations
...
also implemented text for windows (exit/up/down) using this class
2015-06-14 14:13:55 +02:00
Filippos Karapetis
9e1ae6d82a
SHERLOCK: RT: Initial support for multiple sound effects
...
The paper boy in the intro sounds correct now
2015-06-14 13:34:37 +03:00
Martin Kiewitz
a7e73e5785
SHERLOCK: improve image palette detection
...
fixes German+Spanish menu bars. The first menu bar of those versions
is the exact same size as a palette.
2015-06-14 11:49:32 +02:00
Martin Kiewitz
eea44236d7
SHERLOCK: 3DO: enable button pressing in UI
2015-06-14 10:37:51 +02:00
Torbjörn Andersson
870d0d23a3
SHERLOCK: Add mutex to Sherlock MIDI parser
...
Hopefully this will put a stop to random crashes when music starts
and/or stops. I'm never quite sure just how much locking is
necessary, though...
2015-06-14 10:33:31 +02:00
Paul Gilbert
8629feb410
SHERLOCK: RT: Implemented walk setup
2015-06-14 00:43:19 -04:00
Paul Gilbert
5531cf9fd5
SHERLOCK: Refactored walk data block to e a proper structure
2015-06-13 21:07:50 -04:00
Martin Kiewitz
8d07a00f39
SHERLOCK: font class char 0xE1 treatment -> 135
...
instead of 136. confirmed via disassembly.
happens in German version, when talking to kid in 2nd room
2015-06-14 02:27:23 +02:00
Paul Gilbert
92f54db76c
SHERLOCK: Further changes for different opcode ranges
2015-06-13 20:06:31 -04:00
Paul Gilbert
c5490b8ecc
SHERLOCK: SS: German and Spanish use an alternate opcode range
2015-06-13 19:46:33 -04:00
Martin Kiewitz
41b74a89d2
SHERLOCK: font class adjustment for int. versions
...
- allow characters > 0x80
- adjust characters >= 0x80 (Spanish + German didn't do exactly
the same)
- behavior inside SH2 unconfirmed
- makes text in SH1 German+Spanish work
2015-06-14 01:05:36 +02:00
Paul Gilbert
2909c968e5
SHERLOCK: RT: Fix initial facing of characters within scene
2015-06-13 17:59:45 -04:00
Paul Gilbert
a9ee64f857
SHERLOCK: RT: Replace values of 256 with SCALING_THRESHOLD
2015-06-13 17:14:07 -04:00
Martin Kiewitz
2528a892bf
SHERLOCK: add detection for SH1 German+Spanish
2015-06-13 22:57:56 +02:00
Paul Gilbert
02f582d5af
SHERLOCK: RT: Implement setWalking
2015-06-13 16:48:34 -04:00
Filippos Karapetis
864dc6acb7
SHERLOCK: Initial implementation of the NPC-related opcodes
...
This includes cmdWalkHolmesAndNPCToCAnimation, cmdWalkNPCToCAnimation,
cmdWalkNPCToCoords and cmdWalkHomesAndNPCToCoords
2015-06-13 23:27:21 +03:00
Paul Gilbert
d314257968
SHERLOCK: Simplify UseType to derive from ActionType
2015-06-13 15:48:02 -04:00
Martin Kiewitz
8e789002b3
SHERLOCK: 3DO: talk movie playback changes
...
only trigger movie playback inside Talk::doScript when scripts
switch to new speaker. That way longer text won't trigger
movie playback.
2015-06-13 21:47:38 +02:00
Martin Kiewitz
1e5e7243ff
SHERLOCK: 3DO: dialog movie player adjustment
...
cut scriptname to 6 characters in case it's longer than that
2015-06-13 21:22:23 +02:00
Martin Kiewitz
d8e57490a5
SHERLOCK: 3DO: movie playback for script events
...
also added debug information output
2015-06-13 21:15:34 +02:00
Filippos Karapetis
23f368c981
SHERLOCK: Add names of missing opcodes and controls in warning messages
2015-06-13 22:05:51 +03:00
Filippos Karapetis
b69b09ef5a
SHERLOCK: Clean up ADJUST_COORD slightly
2015-06-13 22:04:41 +03:00
Filippos Karapetis
559478defc
SHERLOCK: Clean up the parameter passed in talk3DOMovieTrigger()
2015-06-13 22:04:00 +03:00
Martin Kiewitz
4626e641fc
SHERLOCK: 3DO: close and delete videoDecoder
...
...after playing a movie.
2015-06-13 20:57:58 +02:00
Paul Gilbert
7d2f15d821
SHERLOCK: RT: Implemented doStandardControl
2015-06-13 14:53:50 -04:00
Martin Kiewitz
e16ae1a2e7
SHERLOCK: 3DO: support for talk movies
2015-06-13 20:35:00 +02:00
Paul Gilbert
1c5bb23f02
SHERLOCK: RT: Reset _runningProlog when loading a savegame
2015-06-13 11:47:17 -04:00
Martin Kiewitz
c1102af1c3
SHERLOCK: 3DO: object loading: fix _use loading
...
fixes murder scene room crash
2015-06-13 17:41:10 +02:00
Paul Gilbert
debe270d6f
SHERLOCK: RT: Implemented handleInput method
2015-06-13 11:38:12 -04:00
Martin Kiewitz
cacf8fbcb0
SHERLOCK: 3DO: add checks to ccb header reading
...
verify that height+width from PRE0/PRE1 are correct
security check
2015-06-13 17:18:59 +02:00
Martin Kiewitz
45f27edb0a
SHERLOCK: 3DO: adjust sprite frame only for walk
...
only adjust animation frame for walk.anim
map uses another set of images and the same sprite code
2015-06-13 16:43:45 +02:00
Martin Kiewitz
9c59dc8c8d
SHERLOCK: 3DO: implement map support + cel 8-bit
...
added PLUT shading
2015-06-13 16:29:21 +02:00
Paul Gilbert
d9ccf57dd0
SHERLOCK: RT: Fix getting default scene player position
2015-06-13 10:13:53 -04:00
Martin Kiewitz
cfb0891153
SHERLOCK: 3DO: load scene: load exits seek
2015-06-13 13:27:44 +02:00
Martin Kiewitz
17a0239523
SHERLOCK: 3DO: room loading: load exits
2015-06-13 13:21:00 +02:00
Torbjörn Andersson
276a96f127
SHERLOCK: Added color enum for 235 (button background color?)
...
At some point, at least some of these will have to be handled
differentl for the 3DO version, since it uses 16 bpp. I hope this
will make them easier to find when that time comes.
2015-06-13 12:27:17 +02:00
Torbjörn Andersson
26072306de
SHERLOCK: Use BLACK instead of 0 for consistency
...
I've deliberately left the 0 in showCityCutscene3DO(), because in
that one case it clearly isn't a palette index. (Though in the case
of black, it makes no difference.)
2015-06-13 12:20:17 +02:00
Martin Kiewitz
cf4cf41e95
SHERLOCK: fix delete[] inside room loader
2015-06-13 10:59:42 +02:00