Commit Graph

21 Commits

Author SHA1 Message Date
Andrew Kurushin
802ed6eb40 Fix bug #2963556: SAGA: Memory leaks #2
isomap-malloc to Common::Array conversation

svn-id: r48232
2010-03-10 21:44:58 +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
Filippos Karapetis
9a57f42399 logicalWidth -> width
logicalHeight -> height

svn-id: r35488
2008-12-22 14:36:58 +00:00
Filippos Karapetis
2257db88d3 - Added some stubs for the SAGA2 games dino and fta2
- 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-21 22:52:44 +00:00
Filippos Karapetis
dcca0c9f66 Fixed a regression in my last commit where some sprites were not clipped correctly
svn-id: r35318
2008-12-12 20:10:00 +00:00
Filippos Karapetis
cfa939d151 - Stop passing the scene clip rectangle around for no reason
- 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-12 14:23:02 +00:00
Filippos Karapetis
e27c494371 Some more dirty rectangle changes (still incomplete)
svn-id: r35288
2008-12-08 22:07:14 +00:00
Filippos Karapetis
78fd335a42 More dirty rectangle related changes (dirty rectangle handling is still broken)
svn-id: r35281
2008-12-07 18:49:35 +00:00
Filippos Karapetis
15dad27d79 Fixed typo
svn-id: r35279
2008-12-07 17:17:37 +00:00
Filippos Karapetis
065694dbb1 - Prevented direct reference to the back buffer in many cases (apart from a 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-06 18:23:34 +00:00
Filippos Karapetis
668eaea68c Also remove explicit surface passing to IsoMap::draw()
svn-id: r35261
2008-12-06 14:37:09 +00:00
Filippos Karapetis
9c04b0c229 All the screen drawing functions draw to the back buffer, so there is no point in passing it everywhere
svn-id: r35260
2008-12-06 14:24:40 +00:00
Filippos Karapetis
966239fc52 Code cleanup:
- 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-05-26 11:10:46 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Filippos Karapetis
335e9da41d Removed clamp() and used the common CLIP template instead
svn-id: r29927
2007-12-20 19:00:10 +00:00
Filippos Karapetis
1e483cc857 Use CLIP template for clipping in the SAGA engine
svn-id: r29855
2007-12-13 20:10:13 +00:00
Eugene Sandulenko
9a9e9d21a8 Moved MemoryStreamEndian from Saga to Common.
svn-id: r29038
2007-09-23 09:59:10 +00:00
Filippos Karapetis
cd20f09a9d Cleanup: removed dead code, fixed some comments and did some layout changes
svn-id: r28362
2007-07-31 18:08:40 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Andrew Kurushin
64c3407500 extract GameDescriptions to separate files (this will help compress_saga tool to detect sound resource)
svn-id: r22433
2006-05-13 10:30:38 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00