Commit Graph

68153 Commits

Author SHA1 Message Date
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
Martin Kiewitz
9bacb04918 SHERLOCK: font class 2015-06-12 18:48:44 +02:00
Martin Kiewitz
143cc1a1f9 SHERLOCK: fix mouse cursor loading for PC 2015-06-12 18:39:20 +02:00
Martin Kiewitz
645f51e079 SHERLOCK: 3DO: basic UI support 2015-06-12 18:38:26 +02:00
Martin Kiewitz
4858adb72d SHERLOCK: 3DO: mouse cursor support 2015-06-12 18:33:23 +02:00
Martin Kiewitz
174aa230b6 SHERLOCK: 3DO: fix library loading on 3DO
also disable journal recording for 3DO
2015-06-12 18:14:36 +02:00
Martin Kiewitz
b6fe6ef8f5 SHERLOCK: 3DO: object load UseTypes found 2015-06-12 17:39:51 +02:00
Martin Kiewitz
9dd61883f0 SHERLOCK: 3DO: object load found ActionTypes 2015-06-12 17:20:56 +02:00
Martin Kiewitz
2267218e2f SHERLOCK: 3DO: object loading - more figured out 2015-06-12 16:34:00 +02:00
Martin Kiewitz
094e7505e1 SHERLOCK: 3DO: object: found lookPos 2015-06-12 16:12:34 +02:00
Martin Kiewitz
fc5bd36d5e SHERLOCK: 3DO: object._maxFrames found in objdata 2015-06-12 14:53:18 +02:00
Martin Kiewitz
98c827eb4c SHERLOCK: 3DO: fix entrance loading 2015-06-12 14:23:34 +02:00
Martin Kiewitz
316cd55bb2 SHERLOCK: 3DO: room fade in, font ignore UI ignore 2015-06-12 13:53:44 +02:00
Martin Kiewitz
b668b1edd7 SHERLOCK: 3DO: fix setPixels() for RGB565 2015-06-12 13:30:16 +02:00
Martin Kiewitz
3cca918ec7 SHERLOCK: 3DO: fix multiple frame decoding
when multiple frames were decoded, all but the last one were
free()d
2015-06-12 13:25:08 +02:00
Martin Kiewitz
6c2c0cdfef SHERLOCK: surface setPixels get pixelformat 2015-06-12 11:59:33 +02:00