Commit Graph

68219 Commits

Author SHA1 Message Date
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
Martin Kiewitz
916bce0340 SHERLOCK: 3DO: load sounds from room sounds dir
if no directory was given, load sounds from room sounds directory
2015-06-13 10:36:33 +02:00
Martin Kiewitz
2763ab39ef SHERLOCK: adjust vars b/c last 3DO cAnim commit 2015-06-13 10:22:13 +02:00
Martin Kiewitz
b5a4f622c2 SHERLOCK: 3DO: support for cAnim data (startCAnim)
it's now possible to leave the first room

Conflicts:
	engines/sherlock/objects.cpp
2015-06-13 10:18:46 +02:00
Strangerke
0f1b756242 SHERLOCK: Remove unused variables 2015-06-13 08:18:05 +02:00
Strangerke
09f7611651 SHERLOCK: In startCAnim, check range before accessing sequence array 2015-06-13 08:09:38 +02:00
Strangerke
5887d92d17 SHERLOCK: Reduce the scope of some variables, add a couple of CHECKMEs 2015-06-13 08:07:34 +02:00
Strangerke
b87b081cfc SHERLOCK: Fix 3 CppCheck warnings 2015-06-13 07:52:42 +02:00
Paul Gilbert
803c06beb9 SHERLOCK: RT: Implement startCAnim 2015-06-12 23:23:16 -04:00
Paul Gilbert
6221c1de82 SHERLOCK: Move walkToCoords from People to Person 2015-06-12 23:13:21 -04:00
Paul Gilbert
5dc79a8f32 SHERLOCK: RT: Implement animation structure changes 2015-06-12 22:20:28 -04:00
Paul Gilbert
a3fb5ab1fb SHERLOCK: RT: Fix cmdSetNPCDescOnOff method 2015-06-12 21:21:55 -04:00
Paul Gilbert
a17823877d SHERLOCK: RT: Fix initial globals flag values at startup 2015-06-12 21:07:43 -04:00
Paul Gilbert
69b4ae6c6c SHERLOCK: RT: Fix loading talk/script statements 2015-06-12 20:53:56 -04:00
Paul Gilbert
1a4d723e60 SHERLOCK: RT: Refactor and remove remaining uses of MAX_NPC 2015-06-12 20:23:41 -04:00
Martin Kiewitz
3e76be25f4 SHERLOCK: 3DO: adjust walking frame number for 3DO
3DO has 110 animation frames, PC has 55
we adjust the requested frame number accordingly
so that the correct walking animation is chosen
2015-06-13 02:05:55 +02:00
Paul Gilbert
8ac4ab484c SHERLOCK: Split up loadWalk into descendent classes 2015-06-12 20:01:27 -04:00
Paul Gilbert
ed29691b2f SHERLOCK: RT: Move RT fields added to Person to TattooPerson 2015-06-12 19:37:53 -04:00
Martin Kiewitz
cbafff20c2 SHERLOCK: set _rrmName during loadScene()
_rrmName should be the full name of the room data file
on 3DO this filename is a bit different than on PC
2015-06-13 00:52:15 +02:00
Martin Kiewitz
210b9f92e1 SHERLOCK: 3DO: adjust object cAnim loading
data layout is also not the same as on PC
2015-06-13 00:37:32 +02:00
Martin Kiewitz
46a49849cc SHERLOCK: 3DO: fix object loading of open action
fixes door being locked in first room
2015-06-12 23:59:29 +02:00
Martin Kiewitz
8d385f300e SHERLOCK: 3DO: implement offX/Y for cel room data
fixes graphical glitches when watson sits down
2015-06-12 23:34:32 +02:00
Martin Kiewitz
fd14f53a3b SHERLOCK: 3DO: font support: free memory 2015-06-12 23:14:11 +02:00
Martin Kiewitz
132f33a306 SHERLOCK: 3DO: font support
not perfect yet because 3DO has built-in anti-aliasing
and it seems the fonts were designed with this in mind
2015-06-12 23:12:42 +02:00
Martin Kiewitz
765dbe647c SHERLOCK: 3DO: some work on font file loading 2015-06-12 21:26:24 +02:00
Filippos Karapetis
9c66934608 SHERLOCK: RT: Initial implementation of cmdWalkHolmesToCoords 2015-06-12 22:03:15 +03:00
Martin Kiewitz
91558e5f25 SHERLOCK: 3DO: disable portraits for 3DO
3DO does not include portrait data and instead used videos
2015-06-12 19:16:04 +02:00