Commit Graph
54 Commits
Author SHA1 Message Date
Le Philousophe fe26ec3b81 TINSEL: Fix int vs int32 discrepancies 2022-05-08 10:32:09 +02:00
Einar Johan Trøan Sømåen 1985bbce8b TINSEL: Map the correct colors for menus in Noir 2022-05-08 01:07:25 +02: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
Filippos Karapetis 640f2d6654 TINSEL: Simplify the palette handling code
Palettes are now loaded with the correct endianess inside GetPalette()
2021-11-06 23:09:50 +02: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
Eugene Sandulenko cf42883f5e TOON: Init memory before usage 2016-05-31 17:12:18 +02:00
Johannes Schickel 9b138f4eb4 TINSEL: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Filippos Karapetis 5692c378ec TINSEL: Simplify palette endianess conversions 2013-05-01 03:50:29 +03:00
Filippos Karapetis 687e47d332 TINSEL: Remove the unused ghost palette 2013-04-12 07:19:53 +03:00
Filippos Karapetis 94b328fa7f TINSEL: Fix black/white colors in the Mac version of DW1 2013-04-12 07:19:53 +03:00
Filippos Karapetis 45fcbdcd8c TINSEL: Fix misleading comment 2012-12-11 22:46:50 +02:00
Filippos Karapetis 532194db1f TINSEL: Fix the colors in the Mac version of DW1 2012-12-11 22:40:19 +02:00
Filippos Karapetis e21a547667 TINSEL: Fix what seems to be two bugs in the endianess handling code
This will need to be tested in a BE system for correctness. Fixes
the Mac version of DW1
2012-12-11 03:04:59 +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 c6cf4827d7 TINSEL: Revert most of the engine BE resource handling code
This was added in commit 3fdddd53b2.
However, having handling for both BE and LE resource complicates
the engine code unnecessarily. Thus, a different approach will be
done.
2012-12-10 17:38:22 +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
Alyssa Milburn be35baddc7 TINSEL: Rename globals to add g_ prefix. 2012-02-22 23:14:29 +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
Johannes Schickel 01d511bf1b TINSEL: Adapt to setPalette RGBA->RGB change.
This is done by converting the internal RGBA palette data to RGB before
calling setPalette. This might not be the best solution, but looking a bit
into the engine it seems like changing all the code to work with RGB instead
of RGBA might require some bit of work.
2011-02-15 23:32:41 +01:00
Max Horn 2d1c8a3533 ALL: Fix whitespaces / indention
svn-id: r55818
2011-02-07 23:01:06 +00:00
Max Horn ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Max Horn 5ceb54d088 TINSEL: Get rid of some global variables
These were actually all "harmless" (i.e. where no obstructions
to RTL support). Still good to get rid of 'em!

svn-id: r54286
2010-11-17 12:13:23 +00: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 9a350f4398 ENGINES: Get rid of some (f)printfs
svn-id: r54011
2010-11-01 16:04:47 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +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
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 cf3eab927b tinsel: added some comments to psx palette mapper
svn-id: r41806
2009-06-23 13:24:46 +00:00
Johannes Schickel 626765b71a Fix warning about signed vs. unsigned comparison.
svn-id: r41143
2009-06-03 16:28:09 +00:00
Fabio Battaglia ee04870cc2 tinsel: fixed endianess issue in psx palette remapper
svn-id: r41142
2009-06-03 16:15:17 +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 b9b3f12667 tinsel: avoid unnecessary checks in discworld psx palette remapper
svn-id: r40892
2009-05-25 17:51:11 +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 eba025f48f tinsel: fix for CLUT palettes in Discworld PSX
svn-id: r40873
2009-05-24 22:10:12 +00:00
Fabio Battaglia dd41ba80da tinsel: Changes to psx palette conversion function
svn-id: r40869
2009-05-24 17:08:03 +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 b45f2e21fa tinsel: changed PSX CLUT converter to report effective number of colours used in the palette
svn-id: r40151
2009-04-26 10:25:41 +00:00
Fabio Battaglia df81ef750c tinsel: added Discworld PSX palette converting function
svn-id: r40109
2009-04-24 11:54:10 +00:00
Johannes Schickel 0ea7589e2c TINSEL: Commit of parentheses patch from salty-horse. (from -devel "Enabling -Wparentheses in the Makefile").
svn-id: r39759
2009-03-30 12:08:12 +00:00
Kostas Nakos bf894deb06 silence compiler warnings: the names of some tinsel defines were shadowing standard winapi defines
svn-id: r39049
2009-03-01 19:46:07 +00:00
Joost Peters b89031b8d2 DW2/Tinsel2 endian fixes. Apart from some palette glitches the game is playable now.
svn-id: r36218
2009-02-04 19:52:00 +00:00
Joost Peters a0824205af some DW2 endian fixes
svn-id: r36058
2009-01-25 11:02:34 +00:00
Eugene Sandulenko 696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00