Commit Graph
93 Commits
Author SHA1 Message Date
Cameron Cawley 88bca6a8de MUTATIONOFJB: Fix warning 2019-04-11 21:21:21 +01:00
Ľubomír Remák d18c83e8b8 MUTATIONOFJB: Fix play animation command. 2019-02-03 23:35:43 +01:00
Ľubomír Remák b4fed90145 MUTATIONOFJB: Fix SETANIM and add support for pickupable statics. 2019-01-12 05:33:49 +01:00
Ľubomír Remák a97a14cc89 MUTATIONOFJB: Add support for SETANIM command. 2019-01-12 03:51:21 +01:00
Ľubomír Remák 0c340485e0 MUTATIONOFJB: Draw bitmaps.
Implement RB (bitmap visibility) command.
Implement stub for FLX and FLB (play animation) commands.
2018-11-02 23:26:58 +01:00
Ľubomír Remák b87391338e MUTATIONOFJB: Add basic support for RABLOAD command.
Also fix an issue with parsing IF command.
This commit makes the game completable (with many issues).
2018-10-31 19:19:41 +01:00
Ľubomír Remák 176c87dd4a MUTATIONOFJB: Add stub for switching game chapter. 2018-10-30 18:56:37 +01:00
Ľubomír Remák d4087d7902 MUTATIONOFJB: Allow completion of first chapter.
Implement dummy SPECIALSHOW command (skip puzzle).
Fix NEWROOM command parsing.
Fix use action on inventory items.
Fix interaction with certain doors.
2018-10-28 17:45:26 +01:00
Ľubomír Remák 0b746971f1 MUTATIONOFJB: Implement implicit actions.
Add implicit pick up action for certain statics.
Respect disabled implicit walk action for doors.
2018-10-28 14:57:53 +01:00
Ľubomír Remák d556890673 MUTATIONOFJB: Add support for combining items.
Introduce game screen and game widget.
Add status bar to show currently hovered and picked items.
Load hardcoded strings from game executable.
2018-10-28 13:08:41 +01:00
Ľubomír Remák c239a18620 MUTATIONOFJB: Small fixes.
Handle errors in save/load code.
Fix typo in Game::colorFromString.
2018-09-06 20:38:33 +02:00
Ľubomír Remák c36fb36afb MUTATIONOFJB: Add support for 'look' action on inventory items. 2018-09-06 19:38:16 +02:00
Ľubomír Remák bde1556b97 MUTATIONOFJB: Add support for loading save during startup. 2018-09-01 22:45:42 +02:00
Ľubomír Remák 543f7666f3 MUTATIONOFJB: Basic save/load support.
Warning: The save format is subject to change.
2018-08-30 23:38:41 +02:00
Miroslav Remák 260811106c MUTATIONOFJB: Allow script commands to access all objects.
Previously objects with IDs beyond the defined number of objects were not accessible to IfCommand and ChangeObjectCommand. For example, this would cause script errors inside Fisher's house.
2018-08-29 19:13:55 +02:00
Miroslav Remák 81789162d3 MUTATIONOFJB: Disallow interaction with inactive doors. 2018-08-29 19:13:55 +02:00
Miroslav Remák ad73f65a20 MUTATIONOFJB: Fix interaction with certain overlapped statics.
An active static overlapped by an inactive static with lower ID was not interactable. For example, this affected the scene with the sawfish, where the machine in the closet would be blocked by the closet itself.
2018-08-29 19:13:55 +02:00
Ľubomír Remák 26445f4c26 MUTATIONOFJB: Fix Coverity issues. 2018-08-27 20:07:53 +02:00
Ľubomír Remák b00395b0b9 MUTATIONOFJB: Fix MSVC warnings. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 0e90d6eae3 MUTATIONOFJB: Use advanced detector. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 696b61c146 MUTATIONOFJB: Move method comments to headers. 2018-08-25 23:12:01 +02:00
Ľubomír Remák cf878d8777 MUTATIONOFJB: Change old-style C casts to static_cast. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 959f37dfe4 MUTATIONOFJB: Don't mark internal strings as translatable. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 561309eaa2 MUTATIONOFJB: Fix missing lines between block ends. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 9f1c628d4b MUTATIONOFJB: Fix forward declarations of structs. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 4633b83986 MUTATIONOFJB: Improve documentation and naming. 2018-08-25 23:12:01 +02:00
Ľubomír Remák a25715a29b MUTATIONOFJB: Fix code formatting issues (with astyle). 2018-08-25 23:12:01 +02:00
Miroslav Remák 6ff609c514 MUTATIONOFJB: Improve documentation for statics. 2018-08-25 23:12:01 +02:00
Miroslav Remák 298bfc3d10 MUTATIONOFJB: Subclass Graphics::Font to reuse existing code. 2018-08-25 23:12:01 +02:00
Ľubomír Remák cd15dd82a2 MUTATIONOFJB: Check for out of bounds destination in blit_if. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 4fbbaf944a MUTATIONOFJB: Extend blit_if to support both ManagedSurface and Surface. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 32df911b4d MUTATIONOFJB: Implement SETCOL command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 3306cbfeaa MUTATIONOFJB: Implement SayCommand::execute. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 2e656e69b3 MUTATIONOFJB: Blit with threshold. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 6c4ae7f198 MUTATIONOFJB: Implement multiple speeches in one response line. 2018-08-25 23:12:01 +02:00
Miroslav Remák 215b87ccca MUTATIONOFJB: When redrawing room, draw object animations at their current frame instead of their first frame. 2018-08-25 23:12:01 +02:00
Miroslav Remák 96fbe2f881 MUTATIONOFJB: Fix crash when static/door name is set to empty string. 2018-08-25 23:12:01 +02:00
Miroslav Remák 9aa911314f MUTATIONOFJB: Handle hardcoded animations. 2018-08-25 23:12:01 +02:00
Miroslav Remák 578a6794de MUTATIONOFJB: Improve documentation, rename cryptic variables. 2018-08-25 23:12:01 +02:00
Ľubomír Remák cda1f0dd3a MUTATIONOFJB: Animate objects. 2018-08-25 23:12:01 +02:00
Miroslav Remák f94ff7aa8e MUTATIONOFJB: Implement word wrapping for subtitles. 2018-08-25 23:12:01 +02:00
Ľubomír Remák f70eb01061 MUTATIONOFJB: Add null check. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 74ef0d9cfe MUTATIONOFJB: Correctly handle empty animation frames. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 2ee0a90059 MUTATIONOFJB: Change cursor color when it's under entity. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 2cd1728f42 MUTATIONOFJB: Add support for repeating choices. 2018-08-25 23:12:01 +02:00
Miroslav Remák eaba12cecd MUTATIONOFJB: Use the vanilla cursor. 2018-08-25 23:12:01 +02:00
Ľubomír Remák d358a65bbc MUTATIONOFJB: Run extra sections from conversation. 2018-08-25 23:12:01 +02:00
Miroslav Remák d22da95282 MUTATIONOFJB: Fix multiple RANDOM commands in one script. 2018-08-25 23:12:01 +02:00
Ľubomír Remák 296835f84a MUTATIONOFJB: Draw object animations on map scene. 2018-08-25 23:12:01 +02:00
Miroslav Remák 3b614f0832 MUTATIONOFJB: Implement RANDOM command. 2018-08-25 23:12:01 +02:00