Commit Graph

43 Commits

Author SHA1 Message Date
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
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Paul Gilbert
b697026ae0 Library routine and interpreter fixes for the DW1 demo
svn-id: r35257
2008-12-06 11:35:31 +00:00
Paul Gilbert
7a49843047 Beginning of support for DW1 Demo - Interpret has been changed to support opcode differences, and CallLibraryRoutine has a new mapping list of routines
svn-id: r35252
2008-12-06 02:07:30 +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
Max Horn
04985c8ac9 TINSEL: Got rid of PIMAGE, PINT_CONTEXT, PINV_OBJECT, PINV_DEF, PCONFBOX, PCONFINIT
svn-id: r33282
2008-07-25 09:19:06 +00:00
Max Horn
69dac1d4f2 Moved scheduler / process managment code into a new class Scheduler
svn-id: r33259
2008-07-24 08:59:17 +00:00
Max Horn
c441c5261f Added Tinsel engine to main repos (no news item for it ON PURPOSE)
svn-id: r33230
2008-07-23 09:02:47 +00:00