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
Jakob Wagner
165ec9cbae
TINSEL: Replace TinselV3 checks with comparisons
2022-04-21 20:34:17 +03:00
Jakob Wagner
6b1dec7879
TINSEL: Replace TinselV1 checks with comparisons
2022-04-21 20:34:17 +03:00
Jakob Wagner
7fc6499264
TINSEL: Replace TinselV0 checks with comparisons
2022-04-21 20:34:17 +03:00
Jakob Wagner
67c3bce30e
TINSEL: Replace TinselV2 checks with comparisons
...
Until now, the TinselV* defines were used for discerning between
engine versions. The define TinselV2 was true for both v2 and v3.
Sticking to the old scheme would lead to confusion when more
special paths for v3 are implemented.
2022-04-21 20:34:17 +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
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
sluicebox
93eeffc84d
JANITORIAL: Update old bug tracker numbers
2021-03-03 02:15:05 +02:00
Einar Johan Trøan Sømåen
dfa3c1b67b
TINSEL: Add NOOP-instruction to pcode, and adjust accordingly.
2021-02-06 01:31:20 +01:00
Filippos Karapetis
9c9fc0cf2b
TINSEL: Reset more global vars upon engine destruction
2020-10-04 01:15:22 +03:00
Filippos Karapetis
ae2e05cbd3
TINSEL: Move all handle-related functions into a new Handle class
2020-10-04 01:15:19 +03:00
Filippos Karapetis
63ae50e790
TINSEL: Replace usage of NULL with nullptr
2020-02-29 02:21:41 +02:00
D G Turner
b25c4b21fd
TINSEL: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-30 23:12:30 +00:00
Paul Gilbert
da79ac1d42
TINSEL: Fix hang in DW1 GRA when using items on Temple big hammer
2018-04-18 21:06:08 -04:00
Johannes Schickel
9b138f4eb4
TINSEL: Make GPL headers consistent in themselves.
2014-02-18 02:39:39 +01:00
Filippos Karapetis
b05fa7f204
TINSEL: Add resource handling of the BE resources in DW1 Mac
...
This is the second attempt. All the BE resources of DW1 Mac are
handled correctly now. Added READ_16, READ_32, FROM_16, FROM_32 and
TO_32 to handle all of the different cases where endianess is
already handled. Note that the game scripts are LE, so these
haven't been changed
2012-12-11 02:56:48 +02:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Paul Gilbert
212551fe4e
TINSEL: Added script workaround for #3543624 - DW1 PSX demo idle animation
2012-07-15 20:58:14 +10:00
Paul Gilbert
41692ef48a
TINSEL: Refactored Tinsel engine to use the Common coroutine scheduler
2012-05-17 20:42:23 +10:00
Alyssa Milburn
be35baddc7
TINSEL: Rename globals to add g_ prefix.
2012-02-22 23:14:29 +01:00
Paul Gilbert
01616afecc
TINSEL: Revert of prior commits for #2893946
2011-10-16 16:14:02 +11:00
Paul Gilbert
6811a3daff
TINSEL: Alter previous DW1 bugfix so that DW2 still works properly
2011-10-14 20:38:00 +11:00
Paul Gilbert
d5690e09b3
TINSEL: Bugfix for #2893946 - DW1 psychiatrist scene isn't playing
2011-10-04 20:47:01 +11:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Matthew Hoops
9539017ee3
ALL: initialise -> initialize
2011-05-25 11:17:11 -04:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
1dbf8d73d5
TINSEL: Mark all (?) global vars with a FIXME comment
...
Use of global vars is what prevents RTL from working in Tinsel (and
probably in other engines). More specifically, the fact that many
global vars are not explicitly inited when the engine is (re)launched.
svn-id: r54262
2010-11-16 09:53:55 +00:00
Paul Gilbert
b161310193
Script workaround fix for bug #2917661 - Crash when interacting with D'Blah
...
svn-id: r50360
2010-06-27 01:06:51 +00:00
Max Horn
9de580aa6e
TINSEL: Cleanup the 'script workaround' code a bit.
...
* Rewrap comments to 72 columns
* Add some references to relevant bug tracker items
* Use sizeof instead of handcoding array lengths, which is error prone
and tedious
* Move definition of WorkaroundEntry from pcode.h to pcode.cpp
* Define FRAGMENT_WORD to make fragment code a bit more readable,
and also encoding of 16 bit words into it less error prone
* Make all code fragments static
svn-id: r48065
2010-02-15 10:01:26 +00:00
Paul Gilbert
86163d5a6c
Script workaround fix for DW1, for being able to give the whistle back to the pirate before the parrot
...
svn-id: r47987
2010-02-08 10:02:18 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
f692015301
Got rid of ReadStream::ioFailed()
...
svn-id: r46379
2009-12-15 08:18:57 +00: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
240f230c1e
TINSEL: Cleanup
...
svn-id: r45398
2009-10-26 10:40:16 +00:00
Max Horn
3399c3aeb6
Change doxygen inline comments from "//!" to "///" as proposed on -devel
...
svn-id: r44802
2009-10-08 21:28: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
Paul Gilbert
770cca79d0
Script workaround for partially off-screen text in DW1 GRA
...
svn-id: r44445
2009-09-28 09:56:05 +00:00
Paul Gilbert
31585ebac0
Added workaround fix for Amazon conversation being cut off in Act 2
...
svn-id: r44050
2009-09-13 10:58:31 +00:00
Paul Gilbert
97c2a8cb89
Added missing parameter size specifiers for the DW-GRA Palace Guards script fixes
...
svn-id: r43777
2009-08-28 08:43:30 +00:00
Paul Gilbert
416fb4f309
Corrected comments in the bug workaround list
...
svn-id: r43529
2009-08-19 08:24:40 +00:00
Paul Gilbert
c368f60a1d
Fix for some more !!HIGH STRINGS!! when talking to the palace guards
...
svn-id: r43468
2009-08-17 11:36:09 +00:00
Paul Gilbert
c9ef2d9809
Bugfix for #2831159 - Palace guards saying !!HIGH STRING!!
...
svn-id: r43093
2009-08-07 09:25:06 +00:00
Torbjörn Andersson
ff75d68f1c
Fixed GCC warning.
...
svn-id: r42536
2009-07-16 17:26:44 +00:00
Paul Gilbert
19e8b39249
Prior script fix also fixes bug #2820788 , with stealing wizard's mallets
...
svn-id: r42528
2009-07-16 09:53:19 +00:00
Paul Gilbert
f01bd0e9a3
Added game script fix for bug #2680397 - game hang when using the brochure on the Beekeeper
...
svn-id: r42527
2009-07-16 09:31:31 +00:00
Paul Gilbert
b04e3e7940
Added no blocking fix for Present Outside Inn scene as well
...
svn-id: r42522
2009-07-16 04:06:35 +00:00
Paul Gilbert
aeb2aa6630
Game script fix for bug #2525010 - in the GRA version, the luggage blocked Rincewind's exit from the Inn, leaving him in a non-walkable area
...
svn-id: r42521
2009-07-16 02:27:26 +00:00
Paul Gilbert
544bf83f33
Created a system for inserting arbitrary code fragments into game scripts, and added an initial fragment to fix the bug of being stuck in the past in the DW1 SCN version
...
svn-id: r42500
2009-07-15 08:55:12 +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