Commit Graph
92 Commits
Author SHA1 Message Date
Paul Gilbert a0883e6aaf GLK: COMPREHEND: Fix wearing or removing goggles in too bright room 2020-11-19 20:22:37 -08:00
Paul Gilbert 640e81d622 GLK: COMPREHEND: Rearrange order of beforeTurn/afterTurn 2020-11-07 18:50:33 -08:00
Paul Gilbert ec6fb9353a GLK: COMPREHEND: Fix drawing too bright rooms 2020-11-07 10:32:00 -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
Paul Gilbert a4f9516bad GLK: COMPREHEND: Fleshing out OO-Topos handleSpecialOpcode 2020-10-26 20:56:12 -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 10b0f884c6 GLK: COMPREHEND: v2 script opcodes for beforeTurn script 2020-10-17 21:25:56 -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
Paul Gilbert 9eabb18ca8 GLK: COMPREHEND: Implement v2 inventory full opcode 2020-09-13 18:33:59 -07:00
Paul Gilbert a80a6b5208 GLK: COMPREHEND: Added OBJECT_CAN_TAKE opcode 2020-09-12 22:05:09 -07:00
Paul Gilbert 1cfc2ac225 GLK: COMPREHEND: Added VAR_EQ and VAR_GT opcodes 2020-09-12 21:58:44 -07:00
Paul Gilbert 9e4d151b8a GLK: COMPREHEND: Added VAR_GTE opcodes 2020-09-12 21:33:34 -07:00
Paul Gilbert 46702ce2bc GLK: COMPREHEND: Add extra info to script debugs 2020-09-08 18:45:40 -07:00
aryanrawlani28 d2da98d3b0 GLK: More usage of translations
- Add helpers in Advsys, Comprehend & ZCode to match functionality provided for strings.
2020-08-30 14:43:41 +02:00
aryanrawlani28 12e4f871a3 GUI: U32: Improve u32 in all engine subsystems
- Common: add wordWrap function to ustr.cpp
- Bladerunner: Explicitly state we have a U32String in subs (same as Subtitles::loadOuttakeSubsText)
- Don't use translations for engine specific "put strings", because they might not support.
- SCI: Use const references for showScummVMDialog
- SCUMM:
-- Don't use translation in md5 warning. left comments with the translated version.
-- Remove some redundant headers in help.cpp
-- Don't use translation in handleSaveload when printing to console
-- Also, display success transaction correctly via u32::format
- TESTBED: Use fake constructor when setting label of button
- SKY: Correctly use translation when using SaveStateDescription
- ULTIMA: Don't use translations when display_string
- ENGINES:
-- GenerateUnknownGameReport correctly, with proper translations.
-- There was an error, where a function had been declared twice, in a header file. Correct this.
2020-08-30 14:43:41 +02:00
aryanrawlani28 4506bcd9f3 GUI: U32: Fix compilation errors
After rebasing to get even with master, some compilation errors occured. This commit fixes that.
2020-08-30 14:43:41 +02:00
Paul Gilbert c492a5e602 GLK: COMPREHEND: Correctly map noun references 2020-07-04 19:45:17 -07:00
Paul Gilbert 4f8fb4a92e GLK: COMPREHEND: Rename object for better clarity 2020-07-04 16:57:12 -07:00
Paul Gilbert a3526a9e2b GLK: COMPREHEND: Fix testing object validity 2020-07-04 11:10:09 -07:00
Paul Gilbert a262a387c7 GLK: COMPREHEND: Parse/use action tables like original games 2020-07-03 15:47:11 -07:00
Paul Gilbert 0a600c2b6d GLK: COMPREHEND: Fix OPCODE_OBJECT_NOT_IN_ROOM 2020-07-01 18:47:12 -07:00
Paul Gilbert 0350abbcc2 GLK: COMPREHEND: Fixes for opcodes for items being present 2020-06-30 20:28:34 -07:00
Paul Gilbert 9d45f9264a GLK: COMPREHEND: Fix action matches with out of order words 2020-06-30 20:28:34 -07:00
Paul Gilbert 81c5d8f781 GLK: COMPREHEND: Further tweak for current object opcodes 2020-06-30 20:28:34 -07:00
Paul Gilbert 30046650d2 GLK: COMPREHEND: Sort out incorrect current object opcodes 2020-06-28 10:10:23 -07:00
Paul Gilbert 261779f1d2 GLK: COMPREHEND: Implement opcode 4E TEST_FALSE 2020-06-28 09:55:49 -07:00
Paul Gilbert df6bb8d7eb GLK: COMPREHEND: Add NULL script opcode 2020-06-27 21:33:24 -07:00
Paul Gilbert e3888b98b8 GLK: COMPREHEND: Implementing more original interpreter parser 2020-06-27 19:29:44 -07:00
Paul Gilbert f1ee97dbd5 GLK: COMPREHEND: Allow for non-contiguous word pairs 2020-06-27 09:59:28 -07:00
Paul Gilbert 2d20707551 GLK: COMPREHEND: CC: Fix 'leave house' action 2020-06-18 12:54:56 -07:00
Paul Gilbert 580c49ba42 GLK: COMPREHEND: Implement movement opcode 2020-06-17 20:12:29 -07:00
Paul Gilbert 551a4fca06 GLK: COMPREHEND: Use warning for missing opcodes 2020-06-17 20:12:29 -07:00
Paul Gilbert 4f318995dd GLK: COMPREHEND: Change Function to an Array 2020-06-17 18:43:17 -07:00
Paul Gilbert 5de4ec7fcd GLK: COMPREHEND: Adding const qualifier to script methods 2020-06-17 18:43:17 -07:00
Paul Gilbert e70a2b371a GLK: COMPREHEND: Describe items in room as original did 2020-06-15 20:38:19 -07:00
Paul Gilbert 9657799cef GLK: COMPREHEND: CC: Add crystal ball cutscene 2020-06-15 12:40:02 -07:00
Paul Gilbert 874bf6c376 GLK: COMPREHEND: Don't show picture toggled at startup 2020-06-15 12:40:02 -07:00
Paul Gilbert 8142f3d862 GLK: COMPREHEND: Remove deprecated code 2020-06-14 09:56:00 -07:00
Paul Gilbert 439736ab77 GLK: COMPREHEND: Move restarting game to outer game loop
This avoids crashes that were happening due to the
freed game scripts still trying to be processed after
they'd been destroyed during the restarting process
2020-06-13 19:18:51 -07:00
Paul Gilbert 649ab3ffa9 GLK: COMPREHEND: Implementing all original monster logic 2020-06-13 15:37:28 -07:00
Paul Gilbert 82012b78d3 GLK: COMPREHEND: Field renamings 2020-06-13 15:37:28 -07:00
Paul Gilbert f3f32e073f GLK: COMPREHEND: Remove unneeded FIXME from MOVE_TO_ROOM
The original's MOVE_TO_ROOM opcode simply uses FF as a room
number to skip changing rooms
2020-06-13 15:37:28 -07:00
Paul Gilbert f46d21a706 GLK: COMPREHEND: Implement loading savegames from launcher 2020-06-12 19:00:16 -07:00
Paul Gilbert 18620d247c GLK: COMPREHEND: Fix save and restore savegame slot selection 2020-06-12 19:00:16 -07:00
Paul Gilbert 99487000f8 GLK: COMPREHEND: Recognise quit to quit the game 2020-06-12 19:00:16 -07:00