Commit Graph

37 Commits

Author SHA1 Message Date
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
Fabio Battaglia
7e11e57339 tinsel: start adding transparency support to Discworld PSX
svn-id: r40697
2009-05-18 19:56:54 +00:00
Fabio Battaglia
3771f9aef2 tinsel: fix drawing of some sprites, cursor and fonts in discworld PSX, palette is still wrong though
svn-id: r40606
2009-05-15 12:46:53 +00:00
Fabio Battaglia
10caf64618 tinsel: begin modifying drawing function to support psx 4-bit cluts
svn-id: r40119
2009-04-24 15:14:26 +00:00
Fabio Battaglia
a016ed90ba tinsel: start wiring some Discworld PSX graphical functions into engine
svn-id: r40091
2009-04-23 16:17:22 +00:00
Fabio Battaglia
33180805ad tinsel: Enable Discworld PSX detection and begin adding some function to support Discworld PSX graphics
svn-id: r40090
2009-04-23 15:29:34 +00:00
Kostas Nakos
a718713925 only center vertically in DW2
svn-id: r39052
2009-03-01 21:03:46 +00:00
Johannes Schickel
5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Willem Jan Palenstijn
dcc81b07e5 move necessary code outside of assert
svn-id: r35414
2008-12-17 19:25:54 +00:00
Paul Gilbert
87a0976185 Added code differences for DW1 demo to allow the first game screen to start
svn-id: r35268
2008-12-07 07:44:52 +00:00
Paul Gilbert
e625bd54de Implemented the Tinsel v0 WrtNonZero graphics renderer
svn-id: r35258
2008-12-06 11:36:15 +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
52a3dd7581 TINSEL: Get rid of Graphics::Surface class
svn-id: r33275
2008-07-25 09:12:03 +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