aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/sprite.cpp
AgeCommit message (Collapse)Author
2009-12-04refactor resource module:Andrew Kurushin
- struct ResourceContext => class ResourceContext - replace "*alloc","free" with array templates - simplify createContexts routines svn-id: r46254
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-03-24Make sure that the currently buggy dirty rectangle handling code is not ↵Filippos Karapetis
used. Also, make sure that the resource data pointer is initialized to zero svn-id: r39655
2009-01-06The Mac version and Mac demo of ITE no longer crash on exitFilippos Karapetis
svn-id: r35750
2009-01-02- Split the IHNM script functions into a different fileFilippos Karapetis
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS) svn-id: r35672
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-22logicalWidth -> widthFilippos Karapetis
logicalHeight -> height svn-id: r35488
2008-12-22- Split the SAGA resource manager in 3 different ones, depending on the ↵Filippos Karapetis
resource type (RSC for ITE, RES for IHNM and HRS for DINO/FTA2). The SAGA 2 HRS resource manager is still a stub - Added detection for the voice file of FTA2 svn-id: r35484
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-12Fixed a regression in my last commit where some sprites were not clipped ↵Filippos Karapetis
correctly svn-id: r35318
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-08Some more dirty rectangle changes (still incomplete)Filippos Karapetis
svn-id: r35288
2008-12-07More dirty rectangle related changes (dirty rectangle handling is still broken)Filippos Karapetis
svn-id: r35281
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-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-03Fix compiler warningMax Horn
svn-id: r35215
2008-11-29Remove warnings from NDS build.Robin Watts
svn-id: r35172
2008-09-15Proper check for eos(), after the latest changes to OSystemFilippos Karapetis
svn-id: r34554
2008-09-14Big patch changing semantics of ReadStream::eos():Willem Jan Palenstijn
eos() now only returns true _after_ trying to read past the end of the stream. This has a large potential for regressions. Please test! svn-id: r34549
2008-08-01Fixed crash on exit from commit #32742 - the memory leak was only in IHNM, ↵Filippos Karapetis
not ITE (in ITE, the 4 sprite lists are actually one) svn-id: r33492
2008-06-12SAGA: Fixed memory leaks in the SAGA engineChristopher Page
svn-id: r32673
2008-05-26Code cleanup:Filippos Karapetis
- Removed sagaresnames.h - Moved all special scenes to scene.h, and named them consistently (e.g. RID_ITE_OVERMAP_SCENE -> ITE_SCENE_OVERMAP) - Moved all resources which were used by the ITE intro into ite_introproc.cpp - Removed several defines which were only used once (e.g. the SFX names) - Reordered the GameResourceDescription resources so that ITE and IHNM specific resources are placed in the end - Updated the comment about the IHNM Mac music - Changed the callocs in loadPalAnim to mallocs, like in the rest of the code - Removed the MEM error svn-id: r32282
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-10Changed an assertion to a warningFilippos Karapetis
svn-id: r30369
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-12-13Use CLIP template for clipping in the SAGA engineFilippos Karapetis
svn-id: r29855
2007-09-23Moved MemoryStreamEndian from Saga to Common.Eugene Sandulenko
svn-id: r29038
2007-08-01Updated the ITE demo versionsFilippos Karapetis
svn-id: r28379
2007-07-31Cleanup: removed dead code, fixed some comments and did some layout changesFilippos Karapetis
svn-id: r28362
2007-07-19IHNM: Correct mapping of the arrow and save reminder sprites for the IHNM demoFilippos Karapetis
svn-id: r28143
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-05-13extract GameDescriptions to separate files (this will help compress_saga ↵Andrew Kurushin
tool to detect sound resource) svn-id: r22433
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582