Commit Graph
41 Commits
Author SHA1 Message Date
Paul Gilbert 640e81d622 GLK: COMPREHEND: Rearrange order of beforeTurn/afterTurn 2020-11-07 18:50:33 -08: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 56f1386e06 GLK: COMPREHEND: Fix loading of extra string files 2020-07-04 15:36:52 -07:00
Paul Gilbert 9657799cef GLK: COMPREHEND: CC: Add crystal ball cutscene 2020-06-15 12:40:02 -07:00
Paul Gilbert 11bc7b4414 GLK: COMPREHEND: Fix corrupted string 2020-06-14 09:56:00 -07:00
Paul Gilbert 54c51805a8 GLK: COMPREHEND: Slightly decrease werewolf appearance
I just it's appearing a bit too frequently in ScummVM.
It may actually be accurate to the original; hard to
say for sure, since I haven't fully reviewed it's
random number generation. But what the heck
2020-06-14 09:56:00 -07:00
Paul Gilbert e06afde2d6 GLK: COMPREHEND: Reset vampire & werewolf on savegame load 2020-06-13 19:24:18 -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 8152652e6e GLK: COMPREHEND: Don't allow saving during TR intro 2020-06-13 17:59:37 -07:00
Paul Gilbert ea862e0772 GLK: COMPREHEND: Added endgame screen display 2020-06-13 17:59:36 -07:00
Paul Gilbert e522661d82 GLK: COMPREHEND: Fix monster randomness 2020-06-13 17:59:36 -07:00
Paul Gilbert 33abd0b98a GLK: COMPREHEND: Add remaining special opcode 2020-06-13 15:47:38 -07:00
Paul Gilbert 1344c1621f GLK: COMPREHEND: Cleanup of eagle/mice random events 2020-06-13 15:37:28 -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 2527b97605 GLK: COMPREHEND: Field renamings for Transylvania monsters 2020-06-13 15:37:28 -07:00
Paul Gilbert cf1f157f9f GLK: COMPREHEND: Implement Game Over failure 2020-06-13 15:37:28 -07:00
Paul Gilbert 4b5c81095b GLK: COMPREHEND: Don't allow blank names at start 2020-06-12 19:00:16 -07:00
Paul Gilbert e3cf51a868 GLK: COMPREHEND: Move static methods into ComprehendGame class 2020-06-10 17:49:33 -07:00
dreammaster 55b64c05d2 GLK: COMPREHEND: astyle formatting 2020-06-03 04:14:20 +01:00
Paul Gilbert 54e16ae6dd GLK: COMPREHEND: Cleanup of game classes 2020-06-02 19:09:39 -07:00
Paul Gilbert 99dffa8609 GLK: COMPREHEND: Fix naming of game virtual methods 2020-06-02 18:40:33 -07:00
Paul Gilbert 88c1d4ecf1 GLK: COMPREHEND: Cleanup of Crimson Crown code, remove deprecated data 2020-06-02 18:22:12 -07:00
Paul Gilbert 508a65a02e GLK: COMPREHEND: Renaming constant arrays to be uppercase 2020-06-02 18:22:12 -07:00
Paul Gilbert a06ed9ef2f GLK: COMPREHEND: Added loading of Transylvania title 2020-06-02 18:22:12 -07:00
Paul Gilbert d59873704c GLK: COMPREHEND: Converting picture drawing to an Archive abstraction 2020-06-02 18:22:11 -07:00
Paul Gilbert 0831f0d93c GLK: COMPREHEND: Remove deprecated utils file 2020-06-02 18:22:11 -07:00
Paul Gilbert 08de10a9ec GLK: COMPREHEND: Change _replaceWords to a StringArray 2020-06-02 18:22:11 -07:00
Paul Gilbert 093825f759 GLK: COMPREHEND: Changed StringTable to be a Common StringArray 2020-06-02 18:22:11 -07:00
Paul Gilbert 13b4698c83 GLK: COMPREHEND: Skeleton for savegames within ScummVM 2020-06-02 18:22:10 -07:00
Paul Gilbert 51ff674d99 GLK: COMPREHEND: Adding method for reading text 2020-06-02 18:22:09 -07:00
Paul Gilbert 16c36841aa GLK: COMPREHEND: gcc compilation fixes 2020-06-02 18:22:09 -07:00
Paul Gilbert ec99b086fc GLK: COMPREHEND: Capitalizing class names 2020-06-02 18:22:09 -07:00
Paul Gilbert 269b83f31e GLK: COMPREHEND: Removal of redundant struct prefixes 2020-06-02 18:22:09 -07:00
Paul Gilbert b0fe096225 GLK: COMPREHEND: Making comprehend game derive from game info 2020-06-02 18:22:09 -07:00
Paul Gilbert 14cf02cc1b GLK: COMPREHEND: Field renamings 2020-06-02 18:22:09 -07:00
Paul Gilbert 16b1713afd GLK: COMPREHEND: Change comprehend_game to ComprehendGame 2020-06-02 18:22:09 -07:00
Paul Gilbert 7e7e6a5fab GLK: COMPREHEND: Changing operation methods to virtual methods 2020-06-02 18:22:08 -07:00
Paul Gilbert 20533b4a1a GLK: COMPREHEND: Start of sub-classes for each different game 2020-06-02 18:22:08 -07:00
Paul Gilbert 2ecbd720ea GLK: COMPREHEND: Work on startup 2020-06-02 18:22:08 -07:00
Paul Gilbert 7423561d21 GLK: COMPREHEND: Adding recomprehend source files 2020-06-02 18:22:08 -07:00