Commit Graph
28 Commits
Author SHA1 Message Date
D G Turner f8c025dbf0 TINSEL: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings 2022-06-11 22:38:46 +01:00
Le Philousophe 6a9bf4785d TINSEL: Fix int32 discrepancy 2022-06-10 23:12:34 +03:00
Einar Johan Trøan Sømåen afc09057ab TINSEL: Refactor Notebook and System reels to follow naming conventions 2022-06-10 23:12:34 +03:00
Einar Johan Trøan Sømåen 50eb3bb542 TINSEL: Rename the public methods in Dialogs to follow convention 2022-06-10 23:12:34 +03:00
Einar Johan Trøan Sømåen bc178e9784 TINSEL: Add debug commands to add all clues, as well as listing them.
At the same time, name the NOTEBOOK_CLUE attribute appropriately
2022-06-10 23:12:34 +03:00
Einar Johan Trøan Sømåen 1f1f97c745 TINSEL: Implement pointer handling for Notebook 2022-06-10 23:12:34 +03:00
Einar Johan Trøan Sømåen 5c873a17b2 TINSEL: Implement polygon-handling for Notebook 2022-06-10 23:12:34 +03:00
Einar Johan Trøan Sømåen a0e5f431de TINSEL: Add initial event support to Notebook.
For now this should be enough to flip pages.
2022-06-10 23:12:34 +03:00
Einar Johan Trøan Sømåen 5c409b4bbb TINSEL: Implement library function CROSSCLUE 2022-06-10 23:12:34 +03:00
Einar Johan Trøan Sømåen ec6835dac7 TINSEL: Implement Notebook logic for adding clues and showing pages. 2022-06-10 23:12:34 +03:00
Einar Johan Trøan Sømåen 18668bd218 TINSEL: Further refactor InventoryObjects
So that we don't need vtables for the InventoryObject-objects, only
for the container.
2022-06-10 23:12:34 +03:00
Einar Johan Trøan Sømåen 51b2994659 Revert TINSEL refactors that happened too close to code freeze.
Revert "TINSEL: Fix int32 discrepancy"
- This reverts commit a640e6b489.

Revert "TINSEL: Refactor Notebook and System reels to follow naming conventions"
- This reverts commit 2cfc3b4ed2.

Revert "TINSEL: Rename IsConvAndNotMove -> isConvAndNotMove"
- This reverts commit 5ba099f408.

Revert "TINSEL: Rename the public methods in Dialogs to follow convention"
- This reverts commit 8ef52754a1.

Revert "TINSEL: Rename the private methods in Dialogs to follow convention"
- This reverts commit a3d0b5206b.

Revert "TINSEL: Add debug commands to add all clues, as well as listing them."
- This reverts commit fdfede64ca.

Revert "TINSEL: Implement pointer handling for Notebook"
- This reverts commit 195b04c9cf.

Revert "TINSEL: Implement polygon-handling for Notebook"
- This reverts commit 10cce703dc.

Revert "TINSEL: Add initial event support to Notebook."
- This reverts commit 61c94379cd.

Revert "TINSEL: Close Inventories when switching between them."
- This reverts commit 337aed1915.

Revert "TINSEL: Implement library function CROSSCLUE"
- This reverts commit 9519288acd.

Revert "TINSEL: Implement Notebook logic for adding clues and showing pages."
- This reverts commit 3580c17cc5.

Revert "TINSEL: Implement InventoryOrNotebookActive"
- This reverts commit 89aefb7794.

Revert "TINSEL: Minor style-fixes"
- This reverts commit e92fafb955.

Revert "TINSEL: Refactor IsInPolygon to be partially a member-function"
- This reverts commit fa7d448051.

Revert "TINSEL: Replace LockMem with GetFrame for FRAME"
- This reverts commit ec9c630fc5.

Revert "TINSEL: Replace LockMem with GetMultiInit for MULTI_INIT"
- This reverts commit fa8e3c506b.

Revert "TINSEL: Further refactor InventoryObjects"
- This reverts commit 1a2f18e421.
2022-05-27 19:55:36 +02:00
Le Philousophe a640e6b489 TINSEL: Fix int32 discrepancy 2022-05-27 17:04:26 +02:00
Einar Johan Trøan Sømåen 2cfc3b4ed2 TINSEL: Refactor Notebook and System reels to follow naming conventions 2022-05-27 10:39:56 +02:00
Einar Johan Trøan Sømåen 8ef52754a1 TINSEL: Rename the public methods in Dialogs to follow convention 2022-05-27 10:25:33 +02:00
Einar Johan Trøan Sømåen fdfede64ca TINSEL: Add debug commands to add all clues, as well as listing them.
At the same time, name the NOTEBOOK_CLUE attribute appropriately
2022-05-26 23:08:35 +02:00
Einar Johan Trøan Sømåen 195b04c9cf TINSEL: Implement pointer handling for Notebook 2022-05-26 22:29:36 +02:00
Einar Johan Trøan Sømåen 10cce703dc TINSEL: Implement polygon-handling for Notebook 2022-05-26 22:29:22 +02:00
Einar Johan Trøan Sømåen 61c94379cd TINSEL: Add initial event support to Notebook.
For now this should be enough to flip pages.
2022-05-26 22:09:31 +02:00
Einar Johan Trøan Sømåen 9519288acd TINSEL: Implement library function CROSSCLUE 2022-05-26 21:49:16 +02:00
Einar Johan Trøan Sømåen 3580c17cc5 TINSEL: Implement Notebook logic for adding clues and showing pages. 2022-05-26 21:48:17 +02:00
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 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 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
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