Commit Graph
106 Commits
Author SHA1 Message Date
Vladimir Serbinenko f90c541b9b SAGA: Use screen height if bgmask height is zero 2022-11-14 00:27:33 +01:00
Vladimir Serbinenko 0c56fe819a SAGA: Treat resources with "ECHO is on\r\n" as invalid
There are some number of them in Amiga build but they're invalid. Skip them
2022-11-14 00:27:33 +01:00
Vladimir Serbinenko 03c1d029a1 SAGA: Make unknown scene descriptor size an error
Wrong size usually means that we've got the wrong resource. Just error
out as continueing is futile
2022-11-14 00:27:33 +01:00
Vladimir Serbinenko ee8151e007 SAGA: Support decoding AGA and ECS graphics 2022-11-14 00:27:33 +01:00
Vladimir Serbinenko 8ff65b22cc SAGA: Introduce flag for differentiating mask and dissolve background image
On Amiga they're actually loaded differently. Fortunately only intro uses
later cases so we can ust mark specific intro scenes as needing special
handling.
2022-11-14 00:27:33 +01:00
Vladimir Serbinenko 8809f2db79 SAGA: Make loadStrings accept configurable endianness
On Amiga releases some files use LE and others BE, so allow to specify
it manually
2022-11-14 00:27:33 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 2930d37788 SAGA: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Filippos Karapetis e9c60720c0 SAGA: Remove SAGA2 references, code and stubs
All SAGA2 game development will continue in the new SAGA2 engine
2021-07-01 16:23:48 +03:00
sluicebox 93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
D G Turner f26bb57ef8 SAGA: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 15:11:36 +00:00
Filippos Karapetis ba930cf65e SAGA: Remove curly brackets from some 1-line if statements 2016-05-22 16:28:41 +03:00
Filippos Karapetis 5311191687 SAGA: Add support for the scene descriptors of the ITE DOS demo 2015-07-04 01:51:45 +03:00
Willem Jan Palenstijn 8919a8e841 SAGA: Avoid code duplication 2015-05-14 16:55:10 +02:00
Filippos Karapetis 2e8e85310d SAGA: Only handle the puzzle scene for ITE 2015-05-12 00:32:57 +03:00
Filippos Karapetis e663395435 SAGA: Add wrappers for queuing music events 2014-07-20 17:10:55 +03:00
Filippos Karapetis b14a2599bc SAGA: Get rid of the MUSIC_DEFAULT flag 2014-07-20 17:10:55 +03:00
Johannes Schickel daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
Matthew Hoops 740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel c1be2aedbb SAGA: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Johannes Schickel e30cb84210 SAGA: Take advantage of Sufrace::getPixels. 2013-08-03 04:02:52 +02:00
Johannes Schickel 8617edea04 SAGA: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:33 +02:00
Tomas Jakobsson fe10773ac3 SAGA: Update to new IFFDecoder for PBM images 2013-01-06 20:04:50 +01:00
Christoph Mallon d9bcf1a3bf SAGA: Simply use a Graphics::Surface instead of a Saga::Surface. 2011-11-21 15:59:00 +01:00
Filippos Karapetis 0d3a2267c7 SAGA: Removed several game flags, which are now found more reliably on the fly
- The logo screens of all ITE versions are shown correctly now
- Wyrmkeep versions, demo versions with scene substitutes, demos with
mono music and demo versions with LE VOX encoded voices are all found
automatically now
2011-07-09 15:59:30 +03:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Andrew Kurushin 0970cdf5e5 SAGA: reduce memory usage
svn-id: r53782
2010-10-24 22:52:57 +00:00
Andrew Kurushin 599094d3a0 SAGA: fix SAGA_DEBUG; fix IHNM cutaway typo
svn-id: r53781
2010-10-24 22:40:37 +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 e3ea3b5b7e SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with Common::Array
svn-id: r53773
2010-10-24 20:22:21 +00:00
Andrew Kurushin b10cd22d51 SAGA: replace Events malloc base linked list with Common::List
svn-id: r53751
2010-10-23 23:07:10 +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 8b72f49460 SAGA: replace Script and Thread "::*alloc" & "::free" with Common::Array
svn-id: r53678
2010-10-21 22:32:50 +00:00
Andrew Kurushin 6be5d2554d SAGA: replace StringTable "::realloc" with Common::Array; reduce amount of memory for every string table
svn-id: r53651
2010-10-20 20:53:32 +00:00
Eugene Sandulenko a9d9471357 SAGA: fix warning
svn-id: r52150
2010-08-17 11:02:02 +00:00
Eugene Sandulenko 0b8f8d7a24 SAGA: Fix bug #2886151.
Bug #2886151: "ITE: Mouse stops responding at Boar Castle" fixed
by implementing a workaround. It is a script bug in original.

svn-id: r49724
2010-06-15 10:25:13 +00:00
Eugene Sandulenko 7746321ed6 SAGA: Fix bug #1970191.
Bug #1970191: "IHNM: Psychic Profile problem". Still there is a
slight artefact. When the profile has 2 pages and is skipped,
there are two fade-ins in a row. It could be checked by analysing
event queue.

svn-id: r49698
2010-06-15 10:16:53 +00:00
Eugene Sandulenko 723cb6c0f0 SAGA: Moved more code under ENABLE_IHNM
svn-id: r49696
2010-06-15 10:16:13 +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
Nicola Mettifogo 36828287ad * Moved the updated IFF code from Parallaction to common/
* Updated Parallaction and SAGA to use the new decoder infrastructure.

svn-id: r41465
2009-06-12 08:51:05 +00:00
Johannes Schickel b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Max Horn 82f862c6b2 SAGA: Simplified Scene::skipScene, changed loadScene to take a LoadSceneParams ref instead of a ptr
svn-id: r39943
2009-04-11 21:38:14 +00:00
Max Horn 7412b0f8e8 SAGA: Stop needlessly using operator*() and operator->() (many of the resulting &* uses can be removed if references are used instead of pointers everywhere, which would be a good idea anyway)
svn-id: r39920
2009-04-11 00:29:12 +00:00
Filippos Karapetis 9d7111006d - Reworked the different file types a bit
- Some initial work on Dinotopia's intro sequence

svn-id: r39234
2009-03-08 15:39:19 +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
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 f3db2bf1c3 Added some more stubs for FTA2
svn-id: r35475
2008-12-21 23:43:12 +00:00