aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/render.cpp
AgeCommit message (Collapse)Author
2009-03-09Rewrote Common::List iterator code to ensure const correctness is preserved.Max Horn
We tried to implement the list iterators in a clever way, to reduce code duplication. But this is essentially impossible to do properly, sadly -- this is one of the places where the ugly drawbacks of C++ really show. As a consequence, our implementation had a bug which allowed one to convert any const_iterator to an iterator, thus allowing modifying elements of const lists. This rewrite reintroduces code duplication but at least ensures that no const list is written to accidentally. Also fix some places which incorrectly used iterator instead of const_iterator or (in the kyra code) accidentally wrote into a const list. svn-id: r39279
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-25Made Engine::_timer protectedMax Horn
svn-id: r35543
2008-12-24Slight cleanupFilippos Karapetis
svn-id: r35523
2008-12-22logicalWidth -> widthFilippos Karapetis
logicalHeight -> height svn-id: r35488
2008-12-21- Added some stubs for the SAGA2 games dino and fta2Filippos Karapetis
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM) - Removed getDisplayWidth() and getDisplayHeight() svn-id: r35473
2008-12-21Cleaned up the mess with game IDs and game types: removed game types, ↵Filippos Karapetis
reduced the game IDs and added game features where necessary svn-id: r35467
2008-12-12- Stop passing the scene clip rectangle around for no reasonFilippos Karapetis
- More changes for dirty rectangle handling - Stop adding dirty rectangles that cover the whole screen for no reason - Dirty rectangle handling is still very buggy, so it's still disabled svn-id: r35314
2008-12-10Some more dirty rectangle fixes, only 2 known glitches are leftFilippos Karapetis
svn-id: r35296
2008-12-09Some more dirty rectangle fixes (some glitches still remain)Filippos Karapetis
svn-id: r35294
2008-12-08Some more dirty rectangle changes (still incomplete)Filippos Karapetis
svn-id: r35288
2008-12-08More dirty rectangle related changesFilippos Karapetis
svn-id: r35285
2008-12-07More dirty rectangle related changes (dirty rectangle handling is still broken)Filippos Karapetis
svn-id: r35281
2008-12-07Some dirty rectangle related codeFilippos Karapetis
svn-id: r35267
2008-12-06- Prevented direct reference to the back buffer in many cases (apart from a ↵Filippos Karapetis
few, where it's modified directly) - Added skeleton code for dirty rectangle handling (still unfinished and non-working) - Added wrapper functions to access the back buffer, which add the appropriate dirty rectangles automatically svn-id: r35264
2008-12-06Fixed compilation when SAGA_DEBUG is definedFilippos Karapetis
svn-id: r35262
2008-12-06All the screen drawing functions draw to the back buffer, so there is no ↵Filippos Karapetis
point in passing it everywhere svn-id: r35260
2008-12-04Do not redraw the whole scene if an overlay is drawn above itFilippos Karapetis
svn-id: r35245
2008-12-04Removed more test code and performed some cleanupFilippos Karapetis
svn-id: r35241
2008-12-04Disabled all the test functions in SAGA. They can be enabled again by ↵Filippos Karapetis
defining SAGA_DEBUG to 1 in saga.h. This cuts down on the engine size a bit, for devices with little memory (e.g. the DS) svn-id: r35238
2008-11-11Implemented pauseEngineIntern() for the SAGA engineFilippos Karapetis
svn-id: r35007
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-09-19Fixed regression: The ITE intro is shown correctly againFilippos Karapetis
svn-id: r28958
2007-09-16Don't draw the scene background when actors are disabledFilippos Karapetis
svn-id: r28912
2007-09-14Removed the RF_PLACARD flag. Also, simplified sfPlaceActor and removed a non ↵Filippos Karapetis
needed check svn-id: r28901
2007-07-31Cleanup: removed dead code, fixed some comments and did some layout changesFilippos Karapetis
svn-id: r28362
2007-07-02Renamed a variable, to avoid confusing it with another variable with the ↵Filippos Karapetis
same name svn-id: r27853
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2006-10-22Backend modularization: Create timer manager, savefile manager and audio ↵Max Horn
mixer in the backends for increased flexibility svn-id: r24443
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582