Filippos Karapetis
94fae0c94d
TINSEL: Move all dialog-related functions into a new Dialogs class
2020-10-04 01:15:23 +03:00
Filippos Karapetis
05e7af7c65
TINSEL: Reset more global vars upon engine destruction
2020-10-04 01:15:21 +03:00
Filippos Karapetis
9322b11fd8
TINSEL: Move all scroll-related functions into a new Scroll class
2020-10-04 01:15:20 +03:00
Filippos Karapetis
5bb0332383
TINSEL: Rename variables in the Handle class
2020-10-04 01:15:20 +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
bb54f3cd4f
TINSEL: Move all actor-related functions into a new Actor class
...
Also, merge the two different SetMoverZ() functions
2020-10-04 01:15:18 +03:00
Filippos Karapetis
4f269c76d1
TINSEL: Move all cursor-related functions into a new Cursor class
2020-09-25 22:24:14 +03:00
Filippos Karapetis
64b750ab2e
TINSEL: Move background related functions into a new Background class
2020-02-22 18:41:39 +02:00
Filippos Karapetis
eed258261a
TINSEL: Merge PrimeBackground() and InitBackground()
2020-02-22 18:41:39 +02:00
Filippos Karapetis
6fa96182f7
TINSEL: Move font-related code into a new Font class
...
Also, remove some wrapper functions in tinlib.cpp
2020-02-22 18:41:39 +02:00
Johannes Schickel
9b138f4eb4
TINSEL: Make GPL headers consistent in themselves.
2014-02-18 02:39:39 +01:00
Filippos Karapetis
5931df4426
TINSEL: Hopefully fix DW2 on BE systems
...
This reverts the endianess changes in commit c90d563
which do not work
properly in DW2 on BE systems (as GetSceneStruc()'s behavior is
different in DW2)
2013-12-05 03:12:05 +02:00
D G Turner
e07723e1d1
TINSEL: Fix compilation on FreeBSD with C++-11 enabled.
...
This is part of bug #3615056 and is due to NULL being defined as
nullptr when C++-11 is enabled, which is not valid being assigned
to a integer value.
2013-09-28 01:33:43 +01:00
Sven Hesse
989ea7cb56
JANITORIAL: Remove trailing whitespace
2013-07-14 19:01:47 +02:00
Filippos Karapetis
4b6907141b
TINSEL: Fix incorrect byte swapping on BE systems (bug #3614416 )
...
This is a regression from commit c90d56355f
Thanks to canavan for his testing and bisecting work
2013-06-17 21:08:29 +03:00
Willem Jan Palenstijn
2d1fd3b554
ALL: Fix typo (existant->existent)
2013-02-23 22:07:32 +01:00
Filippos Karapetis
b41d78bdd8
TINSEL: Fix intro scene skipping in DW1 Mac
2012-12-15 08:14:55 +02: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
Filippos Karapetis
c90d56355f
TINSEL: Simplify the scene entrance handling code
...
This also reverts the rest of the BE resource handling code
2012-12-10 17:38:23 +02:00
Filippos Karapetis
3fdddd53b2
TINSEL: Start handling the BE resources of the Mac versions of DW1
...
Refer to bug #3110936
This is still work in progress, but it doesn't affect the rest
of the LE versions of DW1. Both the Mac demo and the full
version still crash. The music in the Mac version is skipped for
now, as it isn't MIDI
2012-12-01 21:53:33 +02:00
Filippos Karapetis
e9730ca597
TINSEL: Fix bug #3541542 - "DW: PSX version dies when pressing ESC in intro"
...
DW1 PSX seems to have its own scene skipping code for scenes 2 and 3, thus
injecting our own causes it to hang. Scenes 2 and 3 can be skipped separately.
2012-09-03 04:32:31 +03: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
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
84184aabc0
ALL: colour -> color
2011-04-14 14:12:35 +02:00
md5
cd085b1ae8
TINSEL: Removed some unused global static variables
2011-04-10 17:27:48 +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
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
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
Joost Peters
a68b033a53
Fix incorrect memset() call (reported by Peter Bortas).
...
svn-id: r43375
2009-08-14 16:44:29 +00:00
Paul Gilbert
7dbfb326cc
Fixed dword alignment warning (as reported by salty-horse)
...
svn-id: r40198
2009-04-29 11:33:43 +00:00
Paul Gilbert
4a2e5bb793
Re-introduced the ability to skip the title scenes in Discworld 1. Since the exact scene numbers differed between language versions, this new version simply relies on skipping the first four screens - hopefully, none of the various versions will have any extra title screens.
...
svn-id: r40196
2009-04-29 10:37:00 +00:00
Filippos Karapetis
e1f8088328
Don't call _mixer->stopAll() when changing scenes, as this stops the enhanced audio tracks as well. Sounds are stopped by stopAllSamples()
...
svn-id: r35839
2009-01-12 15:51:11 +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
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
29a96430a0
TINSEL: Renamed CoroutineInstall back to ProcessCreate; got rid of yet another typedef; more cleanup
...
svn-id: r33249
2008-07-23 16:55:52 +00:00
Max Horn
3595a9b2a4
Removed some dead code
...
svn-id: r33236
2008-07-23 10:29:37 +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