Commit Graph

15 Commits

Author SHA1 Message Date
Einar Johan Trøan Sømåen
1a2f18e421
TINSEL: Further refactor InventoryObjects
So that we don't need vtables for the InventoryObject-objects, only
for the container.
2022-05-26 21:02:05 +02:00
Einar Johan Trøan Sømåen
757aea8ed6 TINSEL: Implement basic menu support (NOIR) 2022-05-11 08:59:07 +03:00
Einar Johan Trøan Sømåen
dd1ba7c85c TINSEL: Implement a container for accessing the INV_OBJECTs
This way we encapsulate the iteration, thus making sure that
the appropriate stride is used (Noir has more fields).
2022-05-11 08:59:07 +03:00
D G Turner
137a775ea0 TINSEL: Fix GCC Compiler Warnings 2022-05-08 16:57:48 +01:00
Filippos Karapetis
0b84a042d5 TINSEL: Fix regression with inventory objects in DW1 and DW2
Regression caused by 70d1dbb00f.

This change will break the inventory changes done for DW3, and will
need to be fixed accordingly for it.

DW3 has two new fields in its INV_OBJECT struct. However, there are
variables in the code that are cast from memory blobs, so adding
these new fields breaks DW1 and DW2. We'll either need to add a new
structure for DW3, or read the struct members individually instead of
casting the memory blobs to this struct.
2022-05-08 15:12:31 +03:00
Einar Johan Trøan Sømåen
0c908cd1db
TINSEL: Use scoped enum for system reels.
Also map a few more of them.
2022-05-07 21:25:32 +02:00
Einar Johan Trøan Sømåen
58fa9fa6da
TINSEL: Implement WhichInventoryOpen for Noir. 2022-05-07 21:25:23 +02:00
Einar Johan Trøan Sømåen
c101363240
TINSEL: Stub OPENNOTEBOOK (Noir) 2022-05-06 19:39:24 +02:00
Filippos Karapetis
8d813f5dca TINSEL: Fix comment formatting 2022-04-27 00:33:15 +03:00
Jakob Wagner
c44ec28e2b TINSEL: Implement SystemReel subsystem
Implementation of one special path in SetSystemReel is missing.
2022-04-27 00:33:15 +03:00
Jakob Wagner
70d1dbb00f TINSEL: Add barebones Notebook subsystem
And implement the BOOKADDHYPERLINK libcall.
The subsystem contains known fields and constants.
2022-04-27 00:33:15 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
D G Turner
27b8a47297 TINSEL: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings 2021-03-18 23:36:40 +00:00
Einar Johan Trøan Sømåen
ea21659084
TINSEL: Implement LZSS decompression for Noir 2021-02-06 01:04:54 +01:00
Einar Johan Trøan Sømåen
0f78bfeeae
TINSEL: Adjust LoadFile for Noir, stubbing out compression for now. 2021-02-06 00:29:47 +01:00