Commit Graph
64 Commits
Author SHA1 Message Date
Filippos Karapetis 022906fb86 TINSEL: Remove unused defines 2022-05-12 01:25:18 +03:00
Einar Johan Trøan Sømåen 3675462951 TINSEL: Implement constant rendering for Noir
(This needs to take 16 bpp into account)
2022-05-08 01:07:15 +02: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
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Alexandre Detiste 6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Filippos Karapetis 4f1676e38b TINSEL: Initial work on the Saturn version of DW1
This version is using the same graphics format as the PSX version, with
differences in resource endianess, but features digital music with a
different track structure and has a different sound sample format

Pending issues:
- Font rendering is wrong - this is evident in the text and menus in
  the game title screen
- Cursor sprite and trails are wrong - can be seen in the menu of the
  game title screen
- Digital music is not supported yet - seems that a different track
  structure is used
- The sound sample format is different than the PC version - looks to
   be raw, but isn't
- The game crashes at the first room after watching Rincewind's waking
  up cutscene
2021-09-04 12:13:18 +03:00
Peter Kohaut b22b990173 TINSEL: Fixed rendering for more text messages 2021-08-02 20:58:22 +02:00
Peter Kohaut e242a76694 TINSEL: Added Noir font rendering 2021-08-02 01:08:29 +02:00
Peter Kohaut b4cebc67c4 TINSEL: Removed binary literals 2021-03-06 18:12:29 +01:00
Peter Kohaut e59a470db3 TINSEL: Updated addional drawing routines for v3
Implemented playing of films of objects (not movies).
Fixed rendering of the main menu.
Increased the size of parameters of coroutines.
2021-03-04 20:45:32 +01:00
Peter Kohaut 3ea299fca6 TINSEL: Updated drawing routines for V3
Updated drawing of the background
Implemented drawing of transparent sprites
2021-02-26 10:22:18 +01: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
Marcus Comstedt 2a1b80fe18 TINSEL: Fix crash on big-endian hosts 2016-02-08 21:26:37 +01:00
Johannes Schickel 9b138f4eb4 TINSEL: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Johannes Schickel 2977ff8ba0 TINSEL: Take advantage of Surface::getPixels. 2013-08-03 04:02:52 +02:00
Filippos Karapetis f3f3d5bcbf TINSEL: Clear the screen with the correct color in DW1 Mac 2013-05-01 03:53:00 +03:00
Filippos Karapetis 53e82436e6 TINSEL: Simplify overflow calculation inside MacDrawTiles()
Thanks to wjp for noticing this
2013-04-12 07:19:52 +03:00
Filippos Karapetis 55fee6d97b TINSEL: Enhanced music is not supported in the Mac version of DW1
Also, did some minor whitespace formatting
2012-12-18 02:24:46 +02:00
Filippos Karapetis 6f81d914f2 TINSEL: Fix sprite clipping in DW1 Mac 2012-12-15 19:52:27 +02:00
Filippos Karapetis 96397a5741 TINSEL: Initial version of the graphics drawing function for DW1 Mac
Still some graphical glitches remain, as clipping isn't done correctly
2012-12-15 08:14:55 +02:00
Filippos Karapetis a3f22b8804 TINSEL: Unify the PSX graphics drawing code with the rest
This is nitpicking, for uniformity which I forgot to add in a previous
cleanup commit
2012-12-13 02:00:59 +02:00
Filippos Karapetis b1732f9aca TINSEL: Clean up the graphics draw types code 2012-12-11 23:46:57 +02:00
Filippos Karapetis f23e7a246c TINSEL: Merge the different TinselV0/V1 graphics code handlers 2012-12-11 04:03:22 +02:00
Filippos Karapetis 6c0a24fd7c TINSEL: Add an initial incomplete graphics decoder for DW1 Mac
Part of the game graphics is now shown
2012-12-11 03:06:50 +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
Alyssa Milburn be35baddc7 TINSEL: Rename globals to add g_ prefix. 2012-02-22 23:14:29 +01:00
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Johannes Schickel 61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01: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
Paul Gilbert 168670acb2 TINSEL: Fix for #3087863 - Code analysis warnings
svn-id: r53471
2010-10-15 08:52:22 +00:00
Torbjörn Andersson 5997307081 Fixed GCC warnings. (Same warning twice, actually.)
svn-id: r50383
2010-06-27 17:06:26 +00:00
Paul Gilbert b6b4247335 Workaround that corrects some bad frame data in the Russian version that was causing the several game crashes
svn-id: r50372
2010-06-27 11:16:49 +00:00
Max Horn 8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Paul Gilbert 3e2ee197f1 Commit of dhewg's patch to fix screen refreshes on the Wii
svn-id: r43112
2009-08-08 09:34:23 +00:00
Fabio Battaglia dcbc6e7e69 tinsel: removed some warnings related to psx code and cleanup of psx palette remapper function
svn-id: r41138
2009-06-03 14:03:05 +00:00
Fabio Battaglia 5ef58bdfbe tinsel: avoid unnecessary iterations in Discworld PSX palette remapper
svn-id: r40879
2009-05-25 07:57:38 +00:00
Fabio Battaglia 910f43ffd8 tinsel: endianess fix Discworld PSX palette remapper
svn-id: r40876
2009-05-25 06:09:48 +00:00
Fabio Battaglia 6982ce53c2 tinsel: fix some uninitialized var used in Discworld PSX
svn-id: r40875
2009-05-24 23:06:39 +00:00
Fabio Battaglia eba025f48f tinsel: fix for CLUT palettes in Discworld PSX
svn-id: r40873
2009-05-24 22:10:12 +00:00
Johannes Schickel b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Fabio Battaglia 6651cdc97c tinsel: fix graphic corruption caused by wrong clipping of 8-bit images in Discworld PSX
svn-id: r40864
2009-05-24 14:37:53 +00:00
Fabio Battaglia a4b733403a tinsel: take into account clipping when drawing PSX 4-bit images
svn-id: r40862
2009-05-24 13:59:47 +00:00
Fabio Battaglia b70bbcf306 tinsel: fixed "Unknown drawing type" for inventory in Discworld PSX
svn-id: r40698
2009-05-18 20:05:30 +00:00