53 Commits

Author SHA1 Message Date
Ľ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
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
Ľ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
Ľ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
6c4ae7f198 MUTATIONOFJB: Implement multiple speeches in one response line. 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
578a6794de MUTATIONOFJB: Improve documentation, rename cryptic variables. 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
Miroslav Remák
3b614f0832 MUTATIONOFJB: Implement RANDOM command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
febff83a4e MUTATIONOFJB: Draw objects (first frame only) and improve conversation support. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
20d6d71ec9 MUTATIONOFJB: Basic conversation support. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
f102667fc2 MUTATIONOFJB: Add support for DEFINE_STRUCT script command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
2fb867b2f5 MUTATIONOFJB: Fix issue with parsing #MACRO and #STARTUP right after end block command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
29a809d691 MUTATIONOFJB: Add rename command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
c25ed89572 MUTATIONOFJB: Refactor inventory UI into separate widget, add button widgets. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
9af3d8a238 MUTATIONOFJB: Implement UI for inventory. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
574bb83b97 MUTATIONOFJB: Add support for NEWROOM command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
e93e20dbe8 MUTATIONOFJB: Parse startup sections in scripts and fix change scene command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
7a18987301 MUTATIONOFJB: Support for running commands. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
938f222d48 MUTATIONOFJB: Add support for calling macros. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
e1d173ed75 MUTATIONOFJB: Add changescene debug command and fix macro debug commands. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
63c0dac961 MUTATIONOFJB: Add support for macro definitions. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
3928c52c0e MUTATIONOFJB: Add support for CAMEFROM command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
7a081f0605 MUTATIONOFJB: Load local (room) scripts. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
1d84041508 MUTATIONOFJB: Add Game class. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
fb75e483e4 MUTATIONOFJB: Fix GOTO command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
54c2c0aee6 MUTATIONOFJB: Add support for labels and goto. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
523f973e0a MUTATIONOFJB: Add support of IFPIGGY command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
ae979a8310 MUTATIONOFJB: Add support for IFITEM command and fix parsing conditional commands that are right after #ELSE. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
37ae32e1d3 MUTATIONOFJB: Don't store ActionInfo pointers, because they might be invalidated, and parse/show actions with two objects correctly. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
5854d310ee MUTATIONOFJB: Fix some code formatting issues. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
d3e281e24c MUTATIONOFJB: Fix uninitialized ChangeOperation, fix parsing tag in IF command and add some comments. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
b4dad9bca7 MUTATIONOFJB: Show multiple script commands in showsection debug command. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
dae522f63c MUTATIONOFJB: Implement inventory commands. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
bdb6582bb2 MUTATIONOFJB: Implement data model for inventory. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
5d29112f1c MUTATIONOFJB: Add say command with dummy implementation. 2018-08-25 23:12:01 +02:00
Ľubomír Remák
bbd3750aee MUTATIONOFJB: Add change scene command, implement listsections and showsection debug console commands. 2018-08-25 23:12:01 +02:00