Commit graph

146 commits

Author SHA1 Message Date
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
Paul Gilbert
79a33dc3b6 SHERLOCK: Create separate opcode list for Scalpel vs Tattoo 2015-05-24 12:23:25 -04:00
Paul Gilbert
b4b6bf63db Merge branch 'master' into sherlock2 2015-05-22 22:31:21 -04:00
Paul Gilbert
bfbeed4f5e SHERLOCK: Replaced second MAX_PEOPLE definition with _characters.size() 2015-05-21 21:23:09 -04:00
Paul Gilbert
5c30a2c577 SHERLOCK: Clean up initialization and handling of NPC data 2015-05-21 20:07:54 -04:00
Paul Gilbert
87fe6a14a0 SHERLOCK: Correct some comments 2015-05-21 19:00:22 -04:00
Paul Gilbert
30133cef0e SHERLOCK: Re-add GCC_PRINTF and fix resulting GCC warnings 2015-05-20 08:28:12 -04:00
Strangerke
456e0c584f SHERLOCK: Use a bit more MenuMode and SaveMode 2015-05-19 20:07:24 +02:00
Paul Gilbert
1df183ffcb SHERLOCK: Move method comments from cpp to headers 2015-05-19 07:37:55 -04:00
Paul Gilbert
7c3ac25ac1 SHERLOCK: Further syntactic fixes 2015-05-18 23:44:59 -04:00
Paul Gilbert
a09937121c SHERLOCK: Syntactic fixes 2015-05-18 20:57:58 -04:00
Paul Gilbert
8d426ca464 SHERLOCK: Added more of the game options to the Engine tab 2015-05-18 20:43:26 -04:00
Paul Gilbert
b760c7d360 SHERLOCK: More replacing numbers with constants 2015-05-18 19:37:54 -04:00
Paul Gilbert
0b50a077f7 SHERLOCK: Fix spacing in constructors 2015-05-18 18:12:58 -04:00
Strangerke
0aebac9174 SHERLOCK: Fix some issues pointed by LordHoto 2015-05-18 23:23:37 +02:00
sirlemonhead
5e351b6bf3 SHERLOCK: Replace scumm_stricmp() with equalsIgnoreCase() 2015-05-17 20:41:46 +01:00
Paul Gilbert
40f7fff429 SHERLOCK: Beginnings of UserInterface split for Scalpel vs Tattoo 2015-05-17 08:09:14 -04:00
Paul Gilbert
2a7019bd3d SHERLOCK: Remove redundant _scriptCurrentIndex field 2015-05-14 00:58:24 +02:00
Strangerke
72c9b9f56b SHERLOCK: Implement sound priority 2015-05-13 14:43:50 +02:00
sirlemonhead
a0467ea60d SHERLOCK: Correct some minor spelling mistakes 2015-05-12 08:57:21 -04:00
Willem Jan Palenstijn
902b791165 SHERLOCK: Make copyright headers consistent 2015-05-09 18:06:05 +02:00
Strangerke
f622d7471e SHERLOCK: Some more fixes 2015-05-09 13:08:36 +02:00
Paul Gilbert
263f33a9f8 SHERLOCK: Fix some reads beyond script end in doScript 2015-05-08 20:41:12 -04:00
Strangerke
bf0882badc SHERLOCK: Fix some more GCC warnings 2015-05-08 18:28:45 +02:00
Strangerke
d9e93f8e01 SHERLOCK: some code formatting 2015-05-07 19:33:44 +02:00
Paul Gilbert
d8673cfe44 SHERLOCK: Dropped _saveSeqNum in favor of _savedSequences size 2015-05-06 20:46:03 -04:00
Paul Gilbert
0554e893ce SHERLOCK: Fix picking up knife in taxidermy 2015-05-03 18:19:12 -10:00
Paul Gilbert
32d46dc00a SHERLOCK: Fix crash when moving crates 2015-05-03 18:17:50 -10:00
Paul Gilbert
eb4757d6e3 SHERLOCK: Fix original game bug when testing powdery substance 2015-05-02 14:34:49 -10:00
Paul Gilbert
b4c3d9840c SHERLOCK: Extra method comments 2015-05-01 17:17:24 -10:00
Paul Gilbert
42a99354f9 SHERLOCK: Rename playPrologue to play 2015-05-01 16:53:22 -10:00
Paul Gilbert
093d7877e6 SHERLOCK: Fix conversation with Lord Brumwell 2015-05-01 14:22:21 -10:00
Paul Gilbert
b8372695eb SHERLOCK: Refactored out _ongoingCans field 2015-05-01 10:08:14 -10:00
Paul Gilbert
9d99f1ebe7 SHERLOCK: Fix looking at items with multiple pages of description 2015-04-30 21:46:12 -10:00
Paul Gilbert
d32eb9a70f SHERLOCK: Simplify all the castings of char to byte in Talk and Journal 2015-04-30 21:31:18 -10:00
Paul Gilbert
56f8d54e51 SHERLOCK: Use script opcode constants in journal loading 2015-04-30 21:07:33 -10:00
Paul Gilbert
821040deaa SHERLOCK: Fix blank talk windows sometimes remaining open 2015-04-30 21:00:48 -10:00
Paul Gilbert
d811e4a9ff SHERLOCK: Fix color of talk response text 2015-04-30 20:44:19 -10:00