strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
12d5151ff4
COMMON: Remove default value for endianess in ReadStreamEndian subclasses
...
svn-id: r54441
2010-11-23 22:27:20 +00:00
Max Horn
a008d14055
ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; avoid using 'using'
...
svn-id: r54323
2010-11-18 16:38:03 +00:00
Andrew Kurushin
67cc1b8a84
SAGA: replace Resource:loadResource malloc with ByteArray class
...
svn-id: r53779
2010-10-24 22:17:44 +00:00
Andrew Kurushin
405c523bbb
SAGA: replace decodeBGImage malloc with ByteArray
...
svn-id: r53748
2010-10-23 21:56:16 +00:00
Andrew Kurushin
f24394b85f
SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation
...
add ByteArray type
fix debug Tile Hittest frame drawing
debug 0x%x => 0x%X
svn-id: r53719
2010-10-22 23:13:17 +00:00
Andrew Kurushin
c1505d6e51
SAGA: unroll IsoMap::drawTile buffer copy loop; refactor Sprite::drawClip
...
svn-id: r53677
2010-10-21 20:13:25 +00:00
Andrew Kurushin
d97d21e029
SAGA: replace Sprite "::*alloc" & "::free" with Common::Array
...
svn-id: r53658
2010-10-20 22:02:33 +00:00
Andrew Kurushin
e4029f6f0e
SAGA: SAGA: replace SpriteList "::realloc" with Common::Array
...
svn-id: r53628
2010-10-19 22:29:53 +00:00
Andrew Kurushin
0e7abce271
SAGA: fix submit 53486 "Added sanity checks for realloc() calls - bug report #3087852 ". zero count realloc may return NULL as valid value
...
svn-id: r53614
2010-10-19 15:31:07 +00:00
Filippos Karapetis
c1e47e0e60
SAGA: Added sanity checks for realloc() calls - bug report #3087852
...
svn-id: r53486
2010-10-15 12:56:17 +00:00
Filippos Karapetis
80acb21a56
Added automatic detection of the IHNM demo
...
svn-id: r49047
2010-05-16 10:36:21 +00:00
Andrew Kurushin
aa147a2f5a
refactor resource module:
...
- struct ResourceContext => class ResourceContext
- replace "*alloc","free" with array templates
- simplify createContexts routines
svn-id: r46254
2009-12-04 17:52:42 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Filippos Karapetis
95d92b0d24
Make sure that the currently buggy dirty rectangle handling code is not used. Also, make sure that the resource data pointer is initialized to zero
...
svn-id: r39655
2009-03-24 08:33:24 +00:00
Filippos Karapetis
eeaaabc7d4
The Mac version and Mac demo of ITE no longer crash on exit
...
svn-id: r35750
2009-01-06 10:34:51 +00:00
Filippos Karapetis
d5b6996c45
- Split the IHNM script functions into a different file
...
- 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-02 16:52:38 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis
9a57f42399
logicalWidth -> width
...
logicalHeight -> height
svn-id: r35488
2008-12-22 14:36:58 +00:00
Filippos Karapetis
437384a838
- Split the SAGA resource manager in 3 different ones, depending on the 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-22 14:13:15 +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
d0f4f97ea9
Cleaned up the mess with game IDs and game types: removed game types, reduced the game IDs and added game features where necessary
...
svn-id: r35467
2008-12-21 15:59:05 +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
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
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
Max Horn
c290bb977c
Fix compiler warning
...
svn-id: r35215
2008-12-03 11:05:07 +00:00
Robin Watts
8f3b2e9b4d
Remove warnings from NDS build.
...
svn-id: r35172
2008-11-29 18:01:16 +00:00
Filippos Karapetis
621847b2e2
Proper check for eos(), after the latest changes to OSystem
...
svn-id: r34554
2008-09-15 09:17:18 +00:00
Willem Jan Palenstijn
c8eeae8d4d
Big patch changing semantics of ReadStream::eos():
...
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-09-14 22:28:53 +00:00
Filippos Karapetis
3f56ff8742
Fixed crash on exit from commit #32742 - the memory leak was only in IHNM, not ITE (in ITE, the 4 sprite lists are actually one)
...
svn-id: r33492
2008-08-01 14:27:40 +00:00
Christopher Page
dd423f803b
SAGA: Fixed memory leaks in the SAGA engine
...
svn-id: r32673
2008-06-12 16:58:02 +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
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Filippos Karapetis
947608cd91
Changed an assertion to a warning
...
svn-id: r30369
2008-01-10 10:34:23 +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
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
4abcd58c76
Updated the ITE demo versions
...
svn-id: r28379
2007-08-01 02:19:05 +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
Filippos Karapetis
470dac5f8b
IHNM: Correct mapping of the arrow and save reminder sprites for the IHNM demo
...
svn-id: r28143
2007-07-19 01:28:41 +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