Commit Graph
183 Commits
Author SHA1 Message Date
Paul Gilbert e02fbcebe7 SHERLOCK: RT: Hook talk widget refresh into talk logic 2015-07-03 17:20:47 -04:00
Paul Gilbert 76419173b5 SHERLOCK: RT: Fix infinite empty talk dialog in intro 2015-07-01 21:50:32 -04:00
Paul Gilbert 6b3fe382ec SHERLOCK: Change _lookPosition to use PositionFacing 2015-06-30 22:50:00 -04:00
Paul Gilbert 92ac962718 SHERLOCK: RT: Further split-off of Scalpel-specific code 2015-06-25 20:42:02 -04:00
Paul Gilbert f6c710e5b3 SHERLOCK: RT: Create pullNPCPaths to call each NPC's pullNPCPath method 2015-06-18 08:29:57 -04:00
Martin Kiewitz 6b017c2d83 SHERLOCK: remove inline from Talk::isOpcode() 2015-06-14 22:43:52 +02:00
Martin Kiewitz f713094c64 SHERLOCK: SS: fix talkInterf to handle int. chars
so that line wrapping works properly for international versions
2015-06-14 21:14:17 +02:00
Paul Gilbert b26bc29619 SHERLOCK: RT: Fix player animation when enterng scene 2015-06-14 10:57:05 -04: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
Paul Gilbert 92f54db76c SHERLOCK: Further changes for different opcode ranges 2015-06-13 20:06:31 -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 d8e57490a5 SHERLOCK: 3DO: movie playback for script events
also added debug information output
2015-06-13 21:15:34 +02:00
Martin Kiewitz e16ae1a2e7 SHERLOCK: 3DO: support for talk movies 2015-06-13 20:35:00 +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 69b4ae6c6c SHERLOCK: RT: Fix loading talk/script statements 2015-06-12 20:53:56 -04:00
Paul Gilbert ed29691b2f SHERLOCK: RT: Move RT fields added to Person to TattooPerson 2015-06-12 19:37:53 -04:00
Filippos Karapetis 9c66934608 SHERLOCK: RT: Initial implementation of cmdWalkHolmesToCoords 2015-06-12 22:03:15 +03:00
Paul Gilbert eb7fb21946 SHERLOCK: Refactor setWalking into Person classes 2015-06-11 23:26:58 -04:00
Paul Gilbert a97715f9dc SHERLOCK: Refactor gotoStand into Person classes 2015-06-11 22:55:36 -04:00
Paul Gilbert 3d0e2cb5b0 SHERLOCK: Beginning of descendent Person classes
Tattoo has some different Sprite methods, and since Person descends
from Sprite, need to create descendents from it. And this has also
necessitated some refactoring of People class's _data array
2015-06-11 22:02:33 -04:00
Paul Gilbert e336317ea7 SHERLOCK: Fix cmdWalkToCoords 2015-06-07 20:13:03 -04:00
Paul Gilbert af2a1a3351 SHERLOCK: Refactoring, cleanup, and fixes for savegame code 2015-06-07 19:18:14 -04:00
Paul Gilbert 9b837c308f SHERLOCK: Fix for switching speakers 2015-06-07 14:26:57 -04:00
Filippos Karapetis be46bfd1f9 SHERLOCK: Adapt more code to use FIXED_INT_MULTIPLIER 2015-06-07 21:07:00 +03:00
Filippos Karapetis dc43979a9c SHERLOCK: Split cmdGotoScene and add the Rose Tattoo implementation
This also adds some code missing from the Serrated Scalpel implementation
2015-06-07 20:51:45 +03:00
Paul Gilbert 02ff4ce495 SHERLOCK: Implemented talk/listen sequence methods 2015-06-07 11:37:15 -04:00
Paul Gilbert 261e418b5f SHERLOCK: Move Scalpel specific talk window drawing into ScalpelTalk 2015-06-06 23:37:55 -04:00
Paul Gilbert 933e675194 SHERLOCK: Setting up game specific People descendant classes 2015-06-06 22:40:29 -04:00
Paul Gilbert 3511f30a26 SHERLOCK: Created common base class for Sprite and Object 2015-06-06 21:31:48 -04:00
Paul Gilbert 57017e4bc1 SHERLOCK: Increase size of RT _talkHistory 2015-06-06 12:03:54 -04:00
Paul Gilbert 566d4805ef SHERLOCK: Move the Talk descendant classes into their own files 2015-06-05 23:05:22 -04:00
Paul Gilbert 389d453f0e SHERLOCK: Implement cmdMouseOnOff opcode 2015-06-05 22:52:26 -04:00
Paul Gilbert 9ada143d14 SHERLOCK: Further FIXED_INT_MULTIPLIER refactoring
Also converted multiplier factor from 100 to 1000, which will be
needed for Rose Tattoo
2015-06-05 21:13:48 -04:00
Paul Gilbert 9d67c95359 SHERLOCK: Fix gcc warnings 2015-06-03 22:05:52 -04:00
Paul Gilbert 60378fe228 SHERLOCK: Implemented setObjTalkSequence methods 2015-06-03 21:03:44 -04:00
Paul Gilbert 39c4a3d4c1 SHERLOCK: Add extra constructor field initializations 2015-06-01 22:24:42 -04:00
Torbjörn Andersson 2826a06bc5 SHERLOCK: Fix regression in conversations
This causes replies to once again be shown in their entirety,
instead of one line at a time.

There were two errors: First of all, _wait was always set to 1,
because one of the conditions was "|| _opcodes[OP_IF_STATEMENT]"
instead of "|| v == _opcodes[OP_IF_STATEMENT]".

Secondly, judging by the older version, this part of the code
should only be allowed to set _wait to 1, never to 0, because we
may have already set it to 1 for other reasons.
2015-05-31 16:05:31 +02:00
Paul Gilbert 6796444f08 SHERLOCK: Fix restoring info line when talk window closes 2015-05-30 20:14:38 -04:00
Paul Gilbert f4902b516e SHERLOCK: Moving split up classes into their own files 2015-05-28 08:31:53 -04:00
Paul Gilbert 0d4163c6e9 SHERLOCK: Implemented initial background clearing of RT doBgAnim 2015-05-27 20:26:40 -04:00
Paul Gilbert 1a1010f0ab SHERLOCK: Cleanup of checkBgShapes and updateBackground 2015-05-25 11:04:34 -04:00
Paul Gilbert 8331fa886f SHERLOCK: Fix People data initialization and general start fixes 2015-05-24 22:33:41 -04:00
Paul Gilbert 1f9f01c571 SHERLOCK: Implement cmdNextSong 2015-05-24 21:34:35 -04:00
Paul Gilbert 5513f72510 SHERLOCK: Implement cmdSetNPCWalkGraphics method 2015-05-24 21:28:12 -04:00
Paul Gilbert f9a2d091e9 SHERLOCK: Fix script opcode table lookup 2015-05-24 21:06:21 -04:00
Paul Gilbert b4849f21d2 SHERLOCK: Implement method stubs for Tattoo opcodes 2015-05-24 20:33:14 -04:00
Paul Gilbert 8a808654c8 SHERLOCK: Splitting Talk up to implement individual opcode methods 2015-05-24 18:59:25 -04:00
Paul Gilbert 55ab34b981 SHERLOCK: Fully implemented RT opcodes array 2015-05-24 15:17:05 -04:00