Commit Graph

39 Commits

Author SHA1 Message Date
Filippos Karapetis
e0314f9ecd SAGA: Turned several unnecessarily inherited classes into typedefs
svn-id: r55677
2011-01-31 11:36:14 +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
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
5d72a614ec SAGA: Add more thread-related output.
svn-id: r49697
2010-06-15 10:16:32 +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
Max Horn
ed6602502f SAGA: Fix ScriptThread::operator=; some tweaking
svn-id: r48398
2010-03-24 23:19:27 +00:00
Andrew Kurushin
91e7d27468 Fix bug #2963556: SAGA: Memory leaks
svn-id: r48224
2010-03-10 17:05:25 +00:00
Eugene Sandulenko
be1d586cd5 Removing now redundant comment. The fix was correct.
svn-id: r46868
2010-01-02 00:22:46 +00:00
Johannes Schickel
6385e77d85 Fix undefined operation in setNoPendingVerb (someone with knowledge of SAGA should review this, see the TODO comment). (Thanks to syke for reporting this)
svn-id: r46848
2010-01-01 20:37:02 +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
448a98b885 Changed ScriptThreadList to hold a list of pointers, not a list of instances. This avoids the whole &* mess, as well as the strange references to the list head
svn-id: r39934
2009-04-11 12:46:00 +00:00
Filippos Karapetis
7287457672 Got rid of SortedList
svn-id: r39928
2009-04-11 09:54:55 +00:00
Filippos Karapetis
02ca56eec8 Removed all but one of the functions of the SortedList, apart from the custom insert() operation. It's only used in one place now (in _drawOrderList)
svn-id: r39925
2009-04-11 09:23:40 +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
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
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
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
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
990e9a7828 Script modules are now unloaded correctly when changing chapters in IHNM
svn-id: r28918
2007-09-16 04:22:52 +00:00
Filippos Karapetis
769dd1d7a2 Several bugfixes:
- The spiritual barometer display in IHNM is now updated only when necessary, to speed drawing up. This also corrects an issue where the spiritual barometer display was updated only after changing a scene
- sf92 is sfDemoSetInteractive
- It's now possible to use dashes and underscores in savegames
- Screen fading when changing scenes is now done correctly: the interface will no longer be incorrectly briefly shown while the screen is fading to black
- The interface mode is now correctly set in the non-interactive part of the IHNM demo
- sfScriptGotoScene does not have a transition parameter, therefore that parameter has been removed

svn-id: r28643
2007-08-17 06:08:18 +00:00
Filippos Karapetis
3e9c4be280 The help screen in the IHNM demo is shown correctly now
svn-id: r28406
2007-08-02 14:43:10 +00:00
Filippos Karapetis
ec4a240b50 The help screens in the IHNM demo are shown a bit more correctly now, though they're still buggy
svn-id: r28399
2007-08-02 01:56:45 +00:00
Filippos Karapetis
63f3d5b253 Partially implemented opcodes 87, 88 and 89, used in the help system of the IHNM demo. It's still buggy, though
svn-id: r28398
2007-08-02 01:04:44 +00:00
Filippos Karapetis
a09a95c99a sf92 is not null in the demo version of IHNM
svn-id: r28343
2007-07-30 23:30:08 +00:00
Filippos Karapetis
7498c6b43e It's now possible to exit from the psychic profile screen in IHNM
svn-id: r28325
2007-07-30 14:22:53 +00:00
Filippos Karapetis
38f3b09e58 IHNM: sf103 is sfQueueMusic. Now, when doing a good/bad deed in IHNM, the music changes correctly
svn-id: r27936
2007-07-06 12:39:00 +00:00
Eugene Sandulenko
f7b28b95ad More efforts to implement proper fade after cutaway. One little glitch is left.
svn-id: r27502
2007-06-17 01:00:06 +00:00
Filippos Karapetis
3fd5347421 Fixed conversations in IHNM. Now, when a dialog option is selected, the protagonist will say it out properly before we hear the other character's reply. Also, added some more code for sfScriptFade and made it a stub for now, as it still needs work
svn-id: r27264
2007-06-10 00:36:01 +00:00
Filippos Karapetis
f4299e81c1 Implemented the sfWaitFrames script function for IHNM. Many animations should display more correctly now (e.g. actor "zapping" animations, Ben falling off the stairs). They're still not correct, as frameCount is not updated properly
svn-id: r27055
2007-06-02 15:26:05 +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
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00