Commit Graph
82 Commits
Author SHA1 Message Date
Vladimir Serbinenko 8b3aaa3351 SAGA: Use colors from ECS-palettes when needed 2022-12-21 14:58:09 +01:00
Vladimir Serbinenko 486856168b SAGA: Add voice support for ITE Amiga 2022-12-14 17:42:20 +01:00
Vladimir Serbinenko 002ec9cf03 SAGA: Adjust isNonInteractiveDemo for Amiga
On Amiga main resource file is just an index, so it's very small even on
the full game
2022-11-14 00:27:33 +01:00
Vladimir Serbinenko 9fae5e4efd SAGA: Load module strings as little-endian
No idea why they're stored this way
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
a/ 4c41632a01 SAGA: Fix a hitzone detection bug in ITE 2021-04-14 18:28:04 +02:00
sluicebox 93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
athrxx 9148e8822d SAGA: (ITE/PC98) - fix voices in second intro part 2020-05-19 16:18:30 +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 ca8785fdbf SAGA: Filter scene verbs on objects properly for IHNM. Fixes bug #9712
The original check was incorrectly disabled for IHNM in commit
ab6fb8e9c3. The check has been enabled again, with an added condition
for actors that can be used, like the jukebox in Gorrister's
2017-08-20 17:10:33 +03:00
Filippos Karapetis a95d22a2cd SAGA: Initial work on the DOS ITE demo 2015-07-04 01:51:45 +03:00
Johannes Schickel c1be2aedbb SAGA: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Filippos Karapetis dae9fbd9e6 SAGA: Fixed script bug #3358007 - "IHNM: Freeze when exiting from the motor room's right door"
Thanks to digital for finding the actual script bug
2011-10-04 01:56:10 +03:00
D G Turner 9c2759c1a7 SAGA: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-06-02 20:54:49 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn 0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02: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 b10cd22d51 SAGA: replace Events malloc base linked list with Common::List
svn-id: r53751
2010-10-23 23:07:10 +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 521eb95aea SAGA: fix gcc warn
svn-id: r53679
2010-10-21 22:35:57 +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
Torbjörn Andersson 54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Torbjörn Andersson aa631a64dc Removed unused variable. I believe thread->_instructionOffset serves the same
purpose that 'addr' was inteded to.

svn-id: r50951
2010-07-16 23:23:30 +00:00
Filippos Karapetis b57bab8e3b Added automatic detection for the non-interactive ITE demos
svn-id: r49046
2010-05-16 10:23:44 +00:00
Filippos Karapetis 3f2471418d Fixed the music in some Mac versions of ITE and disabled some unused code for the original DOS demo of ITE
svn-id: r48139
2010-02-26 22:24:48 +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
Johannes Schickel b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Max Horn 41bd7cd94b SAGA: changed _threadList back to a list of ScriptThread objs, instead of ptrs to instances.
svn-id: r39944
2009-04-11 21:38:41 +00:00
Filippos Karapetis b3b8624869 Plugged another memory leak introduced with rev #39934
svn-id: r39936
2009-04-11 14:44:03 +00:00
Filippos Karapetis 7886aedebb Fixed a nasty regression from the script system rewrite (commit #35670), which will cause crashes under certain conditions, and probably makes SAGA games non-completable.
When a script thread is waiting for another thread, the current instruction offset should not be modified. The thread processing function would incorrectly continue in some special cases, and would incorrectly alter the current instruction offset. This becomes apparent in some special cases only, which made it hard to spot - plus, SAGA games have not been tested for 0.13.0, so there weren't any reports for this.

This change SHOULD go to the 0.13.0 branch, but we've already tagged...

svn-id: r38581
2009-02-20 10:49:43 +00:00
Filippos Karapetis e504c0d8ab Removed unused code
svn-id: r36210
2009-02-03 17:02:57 +00:00
Filippos Karapetis 40d6a3c1e5 Split the script module into two parts, for SAGA1 and SAGA2 games
svn-id: r35689
2009-01-02 23:16:08 +00:00
Filippos Karapetis 90d762c261 Wrapped more engine-specific code around appropriate ifdefs
svn-id: r35679
2009-01-02 19:10: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
Filippos Karapetis 32f73fd34c Rewrote the SAGA script system to use an opcode table, like in other engines
svn-id: r35670
2009-01-02 13:59:34 +00:00
Eugene Sandulenko 696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis dd7ea11ac4 SAGA2 HRS resources should be loaded correctly now
svn-id: r35539
2008-12-25 15:19:33 +00:00
Filippos Karapetis c8ca4d59bc - Implemented the SAGA2 resource loader
- Some cleanup

svn-id: r35536
2008-12-25 12:09:24 +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
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
Christopher Page dd423f803b SAGA: Fixed memory leaks in the SAGA engine
svn-id: r32673
2008-06-12 16:58:02 +00:00
Jordi Vilalta Prat 66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +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