Commit Graph
212 Commits
Author SHA1 Message Date
Paul Gilbert dabff21c44 GLK: COMPREHEND: Refresh gfx & show room desc after loading from GMM 2020-11-19 21:42:40 -08:00
Paul Gilbert a0883e6aaf GLK: COMPREHEND: Fix wearing or removing goggles in too bright room 2020-11-19 20:22:37 -08:00
Paul Gilbert 13458bee27 GLK: COMPREHEND: Correct OO-Topos flag checked for reverse video 2020-11-16 18:02:26 -08:00
Eugene Sandulenko 5936026209 ALL: Clarify POTFILES, remove redundant common/translations.h includes 2020-11-10 03:03:49 +01:00
Paul Gilbert 0624935077 GLK: COMPREHEND: Fix white on black rendering when wearing goggles 2020-11-08 15:01:20 -08:00
Paul Gilbert 640e81d622 GLK: COMPREHEND: Rearrange order of beforeTurn/afterTurn 2020-11-07 18:50:33 -08:00
Paul Gilbert 27df1fdf49 GLK: COMPREHEND: Implementing no-floodfill drawing mode 2020-11-07 18:50:33 -08:00
Paul Gilbert 6b55aa029f GLK: COMPREHEND: Fix some println calls, add more flag constants 2020-11-07 18:50:33 -08:00
Paul Gilbert a0a46b7c10 GLK: COMPREHEND: Added computerConsole method 2020-11-07 10:32:00 -08:00
Paul Gilbert ce1bdb3251 GLK: COMPREHEND: Remaining handleSpecialOpcode cases 2020-11-07 10:32:00 -08:00
Paul Gilbert b1b907b96b GLK: COMPREHEND: Renaming of computer printing method 2020-11-07 10:32:00 -08:00
Paul Gilbert ec6fb9353a GLK: COMPREHEND: Fix drawing too bright rooms 2020-11-07 10:32:00 -08:00
Paul Gilbert e549d95c89 GLK: COMPREHEND: Added checkShipWorking method 2020-11-06 20:42:53 -08:00
Paul Gilbert efefe7538a GLK: COMPREHEND: Add shipDepartCheck method 2020-11-06 20:42:53 -08:00
Paul Gilbert f46bd199dd GLK: COMPREHEND: Added fuelCheck method 2020-11-06 20:42:53 -08:00
Paul Gilbert 80e7e7244a GLK: COMPREHEND: Beginnings of per-turn OO-Topos logic 2020-11-06 20:42:53 -08:00
Paul Gilbert e2fb4558f5 GLK: COMPREHEND: Add OO-Topos title screen 2020-11-04 20:09:06 -08:00
Paul Gilbert 2e5d5ba9ac GLK: COMPREHEND: Workaround for crash trying to get non-items
In the original interpreter, if the first test following an OR
opcode fails, it doesn't execute the second, whereas ScummVM
does. This causes a crash in function 19h, where an OR
first tests if the noun is an item, and then if the item is
takeable. Rather than risking fiddling around with how the OR
functions, for now I've simply added an extra check to
OPCODE_OBJECT_TAKEABLE to allow for it
2020-11-02 19:54:37 -08:00
Paul Gilbert 27abcdc44c GLK: COMPREHEND: Further opcodes implemented 2020-11-01 15:09:44 -08:00
Paul Gilbert 25cbbb7743 GLK: COMPREHEND: Flag40 operands use parameter rather than noun 2020-11-01 14:55:09 -08:00
Paul Gilbert 0e926f8ab7 GLK: COMPREHEND: Move input line buffer to a class field 2020-11-01 14:55:09 -08:00
Paul Gilbert a5b9eeb7ab GLK: COMPREHEND: Fix answering rhetorical questions 2020-10-31 11:02:34 -07:00
Vladimir Serbinenko 29cfa7bb0f COMMON: Merge code for str.cpp and ustr.cpp
Most of the code in str.cpp and ustr.cpp is actually the same. Do some
template magic to merge them.
2020-10-31 14:05:30 +01:00
Paul Gilbert a4f9516bad GLK: COMPREHEND: Fleshing out OO-Topos handleSpecialOpcode 2020-10-26 20:56:12 -07:00
Paul Gilbert 4f168f41f2 GLK: COMPREHEND: Move some v2-only opcodes to v2 class 2020-10-25 21:59:04 -07:00
Paul Gilbert 43d25b567a GLK: COMPREHEND: Fix looking at 4-d mirror in OO-Topos 2020-10-25 21:38:28 -07:00
Paul Gilbert b104ca3fd5 GLK: COMPREHEND: Fix the item indexes for CLEAR_WORD/SET_WORD 2020-10-25 18:17:24 -07:00
Paul Gilbert b30d9ceefd GLK: COMPREHEND: Change _words array to use Common::Array 2020-10-25 18:17:24 -07:00
Paul Gilbert 586d7ccceb GLK: COMPREHEND: Added SET_WORD and CLEAR_WORD opcodes 2020-10-23 22:20:25 -07:00
Paul Gilbert 280e44f706 GLK: COMPREHEND: Verified v2 opcodes, added OPCODE_RANDOM_MSG 2020-10-23 21:28:13 -07:00
Paul Gilbert d220fb1adc GLK: COMPREHEND: Further fix OO-Topos strings 2020-10-23 20:59:54 -07:00
Paul Gilbert 1fef4148a1 GLK: COMPREHEND: More v2 opcodes verified 2020-10-23 20:36:21 -07:00
Paul Gilbert 71177654db GLK: COMPREHEND: Fix box drawing in OO-Topos room 2 2020-10-23 20:17:13 -07:00
Paul Gilbert df3c64a9ef GLK: COMPREHEND: Properly offset the _strings2 array for OO-Topos 2020-10-21 22:19:46 -07:00
Paul Gilbert e6674e1cb8 GLK: COMPREHEND: Per-turn script for OO-Topos now working 2020-10-21 22:15:03 -07:00
Paul Gilbert 0f56a48fe4 GLK: COMPREHEND: Handling of v2 inverted comparisons 2020-10-21 20:26:00 -07:00
Paul Gilbert 8b01000876 GLK: COMPREHEND: Proper handling of specified noun in v2 opcodes 2020-10-21 20:26:00 -07:00
Paul Gilbert facceff957 GLK: COMPREHEND: Further v2 opcode verification 2020-10-21 20:26:00 -07:00
Paul Gilbert 7c6e5c0f15 GLK: COMPREHEND: Properly get item for opcodes 2020-10-21 20:26:00 -07:00
Paul Gilbert 10b0f884c6 GLK: COMPREHEND: v2 script opcodes for beforeTurn script 2020-10-17 21:25:56 -07:00
Paul Gilbert 046af3f4c3 GLK: COMPREHEND: First command working in OO-Topis
Yay \o/
2020-10-17 20:27:15 -07:00
Paul Gilbert ebc831fb5a GLK: COMPREHEND: Verifying further opcodes 2020-10-17 20:25:55 -07:00
Eugene Sandulenko 18f6172125 GLK: COMPREHEND: Fix warning 2020-10-17 11:44:57 +02:00
Eugene Sandulenko b9b3ba3285 GLK: COMPREHEND: Added missing override keywords 2020-10-17 11:44:23 +02:00
Paul Gilbert 54980c1f6b GLK: COMPREHEND: Added item flag manipulation opcodes 2020-10-16 22:11:34 -07:00
Paul Gilbert 3933d43dd0 GLK: COMPREHEND: Implementing string replacement and other opcodes 2020-10-16 21:22:37 -07:00
Paul Gilbert b6183f85d7 GLK: COMPREHEND: Fix script dumper for v2 2020-10-16 21:22:37 -07:00
Paul Gilbert 49f6ee2868 GLK: COMPREHEND: Verify more v2 opcodes 2020-10-16 21:22:37 -07:00
Paul Gilbert 6640aa2274 GLK: COMPREHEND: Starting to properly add v2 opcodes 2020-10-15 20:39:33 -07:00
Paul Gilbert 0da4dcde56 GLK: COMPREHEND: Split opcode implementation into their own classes
Version 2 of the engine already has at least one opcode where the
implementation slightly changed and I had to have a version check.
To make things cleaner, there are new v1 and v2 game classes that
derive from ComprehendGame, and the opcode map setup has also been
moved into them.

Currently, the V1 engine has all the opcodes implementation. I need
to start reviewing the opcode calls in v2 again, and shift stuff
that is actually unchanged to the base class shared by both 1 & 2
2020-10-15 20:39:32 -07:00