Commit Graph
44 Commits
Author SHA1 Message Date
Einar Johan Trøan Sømåen 5b2a8fea37 TINSEL: Rename IsConvAndNotMove -> isConvAndNotMove 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 c2e94a0cf5 TINSEL: Rename the private methods in Dialogs to follow convention
Changing from PascalCase to camelCase
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 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 de164c168d TINSEL: Implement InventoryOrNotebookActive 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
Einar Johan Trøan Sømåen 5ba099f408 TINSEL: Rename IsConvAndNotMove -> isConvAndNotMove 2022-05-27 10:29:38 +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 a3d0b5206b TINSEL: Rename the private methods in Dialogs to follow convention
Changing from PascalCase to camelCase
2022-05-27 08:59:44 +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 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 89aefb7794 TINSEL: Implement InventoryOrNotebookActive 2022-05-26 21:07:21 +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 757aea8ed6 TINSEL: Implement basic menu support (NOIR) 2022-05-11 08:59:07 +03:00
Einar Johan Trøan Sømåen 1839780513 TINSEL: Convert inventory object attributes to enum class. 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
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 60ee470a88 TINSEL: Implement ADDINV3 (Noir) 2022-05-07 21:58:39 +02:00
Einar Johan Trøan Sømåen 0be8059cec TINSEL: Size WCOMP appropriately for Noir. 2022-05-07 21:25:44 +02:00
Jakob Wagner 99c1ea5ea0 TINSEL: Implement DECINVMAIN libcall
DECINVMAIN does not hail the loadingscreen scene yet because playing
it produces an incorrect corotine stack.
2022-04-27 00:33:15 +03:00
Jakob Wagner b71545857b TINSEL: Remap special inv indexes for v3
V3 requires discerning between NOOBJECT and INV_NOICON as the values
associated to these special indexes now differ.
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
Jakob Wagner a40cc7053d TINSEL: Implement HELDOBJECTORTOPIC libcall 2022-04-27 00:33:15 +03:00
Jakob Wagner 467706cbd8 TINSEL: Implement v3 path in HoldItem 2022-04-27 00:33:15 +03:00
Filippos Karapetis e90b45b226 TINSEL: Remove superfluous (and a bit confusing) pointer typedefs
This helps align tinsel with our code and type formatting  guidelines
2022-01-16 13:20:40 +02:00
Filippos Karapetis a3f7609de3 TINSEL: Refactor and simplify scene hopper data
This also allows us to remove struct packing, since the raw data is no
longer cast to the hopper structs
2022-01-09 22:38:43 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Peter Kohaut 25fa525969 TINSEL: Added base of Noir movers
Renamed rince.* files to movers to be more game independent.
Added elementary support for Noir movers which can use different logic.

Allows game to boot to the first interactive scene, but there is no 3D model rendered (that is WIP).
2021-08-08 20:15:18 +02:00
Filippos Karapetis 22ee8519a9 TINSEL: Fix compilation with non-C++11 compilers. Some renaming 2020-10-04 04:26:42 +03:00
Filippos Karapetis 94997ef7d3 TINSEL: Rename variables of the Dialogs class 2020-10-04 01:15:23 +03:00
Filippos Karapetis 94fae0c94d TINSEL: Move all dialog-related functions into a new Dialogs class 2020-10-04 01:15:23 +03:00
Johannes Schickel 9b138f4eb4 TINSEL: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Paul Gilbert 2dee92a908 TINSEL: Fixed portability issue with earlier savegames 2012-08-06 20:03:56 +10:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
Max Horn 51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
Max Horn 9cbed926cd Moved Tinsel::Serializer to Common::Serializer, so that I can use it in the SCI engine
svn-id: r39428
2009-03-15 20:30:57 +00:00
Eugene Sandulenko 696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis af945ac788 Merged the tinsel 2 engine with tinsel 1. Both Discworld 1 and Discworld 2 should be completable
svn-id: r35196
2008-12-01 20:35:36 +00:00