aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/graphics.cpp
AgeCommit message (Collapse)Author
2011-04-17M4: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵Johannes Schickel
depth.
2011-04-14ALL: colour -> colorMax Horn
2011-02-20M4: Updated for OSystem Palette RGBA->RGB Change.D G Turner
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-01-03M4: Removed redundant colour index recalculation in palette managerPaul Gilbert
svn-id: r55098
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-03M4: Changed debug calls to debugCN since they all have newlinesPaul Gilbert
svn-id: r54047
2010-11-02M4: Remove redundant fflush callsMax Horn
svn-id: r54038
2010-11-02M4: Converted all printf's to debugPaul Gilbert
svn-id: r54035
2010-07-24M4: Bugfixes for depth ordering to fix the Z order of on-screen objectsPaul Gilbert
svn-id: r51239
2010-07-04Added support for horizontally flipped foreground sprites, which are ↵Paul Gilbert
indicated by setting the high bit of frame numbers svn-id: r50638
2010-06-30Removed deprecated destAdjust parameters from the frame drawing codePaul Gilbert
svn-id: r50524
2010-06-30Replaced Y offset from various drawing routines in favour of a viewport ↵Paul Gilbert
sub-surface - this will make it easier to clip sprites to within the drawable area svn-id: r50523
2010-06-26Bugfix to correctly handle transparency when rendering scaled spritesPaul Gilbert
svn-id: r50314
2010-06-23Made a warning more verboseFilippos Karapetis
svn-id: r50177
2010-06-23Corrected newly added palette conversion warningPaul Gilbert
svn-id: r50176
2010-06-23Changed some asserts to warningsFilippos Karapetis
svn-id: r50175
2010-06-20Implemented explicit transparency index support - the previous hardcoded ↵Paul Gilbert
index of 0 wasn't correct, since some sprites need that index svn-id: r50070
2010-06-15Bugfixes to depth processing that was causing the 'Microprose Design Group' ↵Paul Gilbert
message not to appear in the first intro scene svn-id: r49801
2010-06-14Fixes for memory leaks reported by ValgrindPaul Gilbert
svn-id: r49643
2010-06-12Reimplemented the scaled sprite drawing logic. The first introduction ↵Paul Gilbert
sequence scene now displays correctly svn-id: r49604
2010-06-11Bugfixes to correctly scroll the background during animationsPaul Gilbert
svn-id: r49596
2010-06-10Added extra code and support methods for properly clearing up backgrounds ↵Paul Gilbert
and used sprites when an animation sequence ends svn-id: r49566
2010-06-07Initial conversion of the AnimviewView class to use the expanded ↵Paul Gilbert
MadsAnimation class, rather than the older AAFile skeleton class svn-id: r49478
2010-06-03Properly implemented the logic for loading the correct interface background ↵Paul Gilbert
as specified in a scene's resources svn-id: r49409
2010-06-03Moved the MADS interface view into mads_scene.cpp and did a major cleanup of ↵Paul Gilbert
scene loading code svn-id: r49405
2010-05-28Implemented needed methods for scrolling surfaces horizontally or verticallyPaul Gilbert
svn-id: r49286
2010-05-23Major work done on the animation and support classes to match the originalPaul Gilbert
svn-id: r49150
2010-04-08Remove unused dereferenceOri Avtalion
svn-id: r48586
2010-03-26Bugfixes to the graphics display of dialogsPaul Gilbert
svn-id: r48405
2010-03-26Further fixed the setEntry method to make it Endian safePaul Gilbert
svn-id: r48404
2010-03-26Bugfix for logic used to calculate single RGB palette entriesPaul Gilbert
svn-id: r48403
2010-03-14Further work on separating M4 specific scene code into the m4_scene.cpp filePaul Gilbert
svn-id: r48256
2010-02-13Added the beginnings of scene set-up logicPaul Gilbert
svn-id: r48039
2010-01-30Beginnings of a separation of the MADS and M4 engines into separate classes. ↵Paul Gilbert
This will be cleaner then having checks everywhere for whether the game mode is MADS or M4. svn-id: r47705
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-19Fixed some cppcheck warnings.Torbjörn Andersson
svn-id: r47393
2009-12-12Implemented the rendering section of dialog displayPaul Gilbert
svn-id: r46338
2009-12-11Renamed line() to drawLine() to silence warning about function parameters inTorbjörn Andersson
dialogs.cpp shadowing it. Actually, the function doesn't seem to be used anywhere at the moment, but perhaps someone has future plans for it? svn-id: r46331
2009-12-07M4: Rename M4Surface::getData() to getBasePtr() for consistencyMax Horn
svn-id: r46279
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-06-18Renamed M4Surface::empty() to clear() (two reason: empty is not a verb, and ↵Max Horn
in class String it is used for a bool property) svn-id: r32733
2008-04-20Initial import of the work in progress M4 engineFilippos Karapetis
svn-id: r31600