Commit graph

44 commits

Author SHA1 Message Date
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
Peter Kohaut
c356bb4c67 TINSEL: Add support for loading Scale polygons for Noir
New type of polygon used to construct groundplane
2021-08-08 20:15:18 +02:00
Peter Kohaut
5b3a45abc1 TINSEL: Fixed polygon loading for V3 2021-03-06 17:46:14 +01:00
Einar Johan Trøan Sømåen
f9c1f62cdd
TINSEL: Partially implement scene loading for Discworld Noir 2021-02-16 23:24:27 +01:00
Matthew Duggan
e15c3b35db TINSEL: Fix build when DEBUG is defined 2021-01-11 11:44:56 +09:00
Filippos Karapetis
ae91b7e056 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
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
Paul Gilbert
41692ef48a TINSEL: Refactored Tinsel engine to use the Common coroutine scheduler 2012-05-17 20:42:23 +10: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
2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02: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
02636c2071 TINSEL: Rename Poly pp to ptp in various places, for consistency; cleanup
svn-id: r45429
2009-10-27 00:38:19 +00:00
Max Horn
2e964baeef Some const correctness changes; cleanup
svn-id: r44850
2009-10-09 21:47:33 +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
Filippos Karapetis
a983c88e37 Reverted parts of revisions #44292, #44293, #44295 and #44296, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44312
2009-09-24 17:24:42 +00:00
Filippos Karapetis
3a976bfb6f TINSEL: Fixed some warnings about unreachable code
svn-id: r44295
2009-09-24 09:50:22 +00:00
Paul Gilbert
644ba1ceab Bugfix for assert in the DW2 Cartwheel scene
svn-id: r43558
2009-08-20 12:04:31 +00:00
Torbjörn Andersson
0999534749 The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)

svn-id: r41061
2009-05-31 10:02:16 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Paul Gilbert
f405dff025 Bugfixes for incorrect Poly class usage in the CheckNPathIntegrity DEBUG method
svn-id: r39627
2009-03-23 08:49:05 +00:00
Paul Gilbert
93ff05cb6d Removed unused variables from a DEBUG method
svn-id: r39625
2009-03-23 08:31:14 +00:00
Max Horn
00907f32bd TINSEL: More polygon code cleanup
svn-id: r39618
2009-03-22 23:02:54 +00:00
Max Horn
7714b20abf TINSEL: cleanup
svn-id: r39617
2009-03-22 23:02:09 +00:00
Filippos Karapetis
c26a162606 Converted some leftover tinselV1 code, so that the engine builds when DEBUG is set
svn-id: r39598
2009-03-21 19:57:54 +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
Joost Peters
7adf721492 Proper endianness handling in MatchingLevels().
Fixes #2603000 "DW2: Long pause entering Shades (big endian)"

svn-id: r38316
2009-02-15 22:25:34 +00:00
Joost Peters
fdce2ea425 Fix palette on big endian
svn-id: r36219
2009-02-04 20:55:15 +00:00
Joost Peters
00e5b84f9f endian fix
svn-id: r36196
2009-02-01 23:06:35 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Paul Gilbert
6187ec38fb Added extra endian conversion. This may fix bug #2462700
svn-id: r35566
2008-12-27 04:11:28 +00:00
Paul Gilbert
48f5e51c77 Added handling for record differences in the hotspot/polygon format in DW1 Demo
svn-id: r35331
2008-12-13 08:40:04 +00:00
Max Horn
cabfbb4903 Removed some dead code, clarified comments, cleanup
svn-id: r35293
2008-12-09 19:54:01 +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
bfcc4339c1 More tinsel cleanup
svn-id: r33280
2008-07-25 09:17:47 +00:00
Max Horn
4acde448f5 Moved POLYGON struct into polygon.cpp; got rid of some more typedefs
svn-id: r33241
2008-07-23 14:42:27 +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