aboutsummaryrefslogtreecommitdiff
path: root/saga
AgeCommit message (Collapse)Author
2005-09-30fix compile warningAndrew Kurushin
svn-id: r18907
2005-09-30Don't draw actors during cutaways. (Not that it makes any difference atTorbjörn Andersson
this point. :-) svn-id: r18903
2005-09-29Fix fonts in intro. It is a very dirty code. Actually we should specifyEugene Sandulenko
font Ids in game settings. Also uhnm demo will definitely not work with current code as it has lesser number of fonts. svn-id: r18900
2005-09-29Remov obsolete commentEugene Sandulenko
svn-id: r18899
2005-09-29Fix SFX loading in IHNM. Now they're played.Eugene Sandulenko
svn-id: r18898
2005-09-28oops. how did that happened? reverting introduced typo.Eugene Sandulenko
svn-id: r18896
2005-09-28Cleaner code for sfWaitFramesEsc()Eugene Sandulenko
svn-id: r18895
2005-09-28Implement sfWaitFramesEsc()Eugene Sandulenko
svn-id: r18894
2005-09-28Some very minor cleanups. (Basically the remains of a failed experiment.)Torbjörn Andersson
svn-id: r18893
2005-09-28Some more IHNM-related stuff:Torbjörn Andersson
* Use the script-specified text area for subtitles, if there is one. * Fixed a word-wrapping bug that would happen if a new line began with a space. I don't know about ITE, but IHNM puts two spaces after periods. Of course, the case where I saw this happen will probably go away once we start using the right font, but it could still happen elsewhere. svn-id: r18890
2005-09-27Used Willem Jan's suggestion for making the ugliness go away.Torbjörn Andersson
svn-id: r18889
2005-09-27This seems a bit awkward, but does keep GCC from warning about discardingTorbjörn Andersson
constness. svn-id: r18888
2005-09-27Applied my patch #1304998 to fix some issues with the IHNM intro. The introTorbjörn Andersson
plays fine now, as far as I can tell, except for some missing sound effects and the subtitles use the wrong font and are probably drawn in the wrong position. svn-id: r18887
2005-09-26Implemented some trivial IHNM opcodes. I'm not sure if the _ethicsPoints[]Torbjörn Andersson
array is large enough though. These opcodes modify what I assume to be the game state, so that information needs to be stored in the savegames. Not for ITE, though, so savegame compatibility is not broken by this. (Not deliberately, at least.) svn-id: r18885
2005-09-26Silenced GCC warning.Torbjörn Andersson
svn-id: r18884
2005-09-25Use the correct function for reading signed data. (I should have knownTorbjörn Andersson
there was one.) svn-id: r18880
2005-09-25Give more names to IHNM script functions.Eugene Sandulenko
svn-id: r18879
2005-09-24The IHNM intro animations run now, albeit in a slightly buggy fashion:Torbjörn Andersson
The intro runs a whole series of animations. Each of these use animation slot 0, like the original. Currently this means we leak a bit of memory for each new animation. More noticeably, we have no way of cancelling outstanding animation events, so unless the animations finish on their own - as some of them do - the events will just pile up, causing the animations to run faster and faster. I don't know if implementing the remaining cutaway opcodes will fix this automagically, or if we need to re-think our approach... svn-id: r18878
2005-09-24WhitespaceTorbjörn Andersson
svn-id: r18877
2005-09-24Some more preliminary cutaway work. The backgrounds are displayed now, butTorbjörn Andersson
not the animations themselves. Still, it's enough to make the IHNM intro look fairly interesting. svn-id: r18874
2005-09-23Experimental loading of the cutaway list. Next step will be to get ScummVMTorbjörn Andersson
to actually *play* the cutaways. I'll look into that later. svn-id: r18865
2005-09-23"Inherit the Earth Voices" for Multi CD version is case sensitive.Eugene Sandulenko
svn-id: r18864
2005-09-21This should keep IHNM from triggering an assertion in FLAC. But I'm notTorbjörn Andersson
sure since I don't have FLAC installed on this computer. The looping for standalone tracks looked a little strange, too, so I've changed it. svn-id: r18855
2005-09-21WhitespaceTorbjörn Andersson
svn-id: r18854
2005-09-21Make the Linux and multi-OS versions run again. I don't know about the restTorbjörn Andersson
of you, but I'm getting increasingly frustrated with the number of almost indistinguishable, yet subtly different versions of ITE. svn-id: r18853
2005-09-21Added a GAME_SWAPENDIAN flag so that game files can be labelled as havingTorbjörn Andersson
the opposite byte order of the rest of the files. This is needed for the multi-OS version. (Now it crashes with a "RAWInputStream() wrong musicInfo" message instead, but it's still an improvement.) svn-id: r18852
2005-09-21This might allow the multi-OS version to run from CD, though I'm not sureTorbjörn Andersson
our game detection agrees with that at the moment. svn-id: r18851
2005-09-20Buggy support for ripped tracks.Eugene Sandulenko
svn-id: r18849
2005-09-09Re-named variable.Torbjörn Andersson
svn-id: r18798
2005-09-08fix 1283705Andrew Kurushin
and actor regression svn-id: r18789
2005-09-06Force subtitles to be shown in floppy version.Eugene Sandulenko
svn-id: r18779
2005-09-04fix #1269037 Rif walks off-screen when looking at screen at deskAndrew Kurushin
svn-id: r18774
2005-09-03fix 1257536 Dragon walks in the airAndrew Kurushin
some memory allocation minimization svn-id: r18742
2005-09-03Fix bug #1281055 "ITE: Graphical glitch when pressing escape at company logo"Eugene Sandulenko
svn-id: r18741
2005-09-03o Fix bug #1258633 "ITE: Second Rif appears in wall of dog castle prison"Eugene Sandulenko
o Added debug output method to Location structure o Fixed long-standing bug with save version being saved not in constant endianness svn-id: r18740
2005-09-02Fix bug #1258489 "ITE: Rif's tail remains in door at Alamma's house"Eugene Sandulenko
svn-id: r18739
2005-09-02Implement option buttons functionality. This fixes bug #1259518 "ITE: ButtonsEugene Sandulenko
in Options Dialog not fully functional" svn-id: r18738
2005-09-02Fixed potential memory error on system that can't return a pointer of 0 byteChris Apers
svn-id: r18735
2005-09-02Fix bug #1257110 "ITE: Subtitles get striped"Eugene Sandulenko
svn-id: r18730
2005-08-30The intro asks to play song number 0. I'm almost sure that the music thatTorbjörn Andersson
is supposed to play at this point has resource number 32. _songTable[0] contains the value 32 at this point, so song 0 is probably a valid music request, and not a request to stop the music. At the other end of the list, I believe the song number has to be *less* than _songTableLen, not less or equal to it. But feel free to revert this change if I'm messing things up. svn-id: r18719
2005-08-30Downgraded warning() to debug(1, ...) since it was drowning out all otherTorbjörn Andersson
messages. svn-id: r18718
2005-08-30Implement sfPlayMusic for IHNMEugene Sandulenko
svn-id: r18717
2005-08-26Allowed IHNM to use the opSpeak opcode. Aborting that code path early meantTorbjörn Andersson
that the instruction wasn't fully read, so the next opcode would be wrong. This is what caused it to crash. To keep the game from hanging, I also allowed the engine to call the _actors->direct() function for IHNM. This allows AM's intro speech to be played in its entirety. Since this includes the "hate" speech, I've removed that part from the hard-coded intro. To get the right music playing, I've enabled the sfPlayMusic() function for IHNM. This is pure guesswork, though. Once the scene changes, the wrong music plays again. However, this is scene music, i.e. not scripted. It doesn't play the background sound. Looks like _fxTable[] isn't generated for IHNM. More noticeably, until the scene changes it doesn't show any graphics apart from the subtitles, which are drawn in the wrong colour and (I believe) the wrong font. svn-id: r18712
2005-08-16Fix bug #1256381 "ITE: Options menu contains wrong item" and gave symbolicEugene Sandulenko
names to text Ids. svn-id: r18699
2005-08-16fix 1258781 & 1253993 bugsAndrew Kurushin
(difficulties of leaving scenes) svn-id: r18698
2005-08-16o Fix crashes on puzzle with floppy (speechless) versionsEugene Sandulenko
o Now hints get correct voices. svn-id: r18695
2005-08-15Fix prince room sound inconsistencies mentioned in bugreport #1258501Eugene Sandulenko
svn-id: r18694
2005-08-15Fixed warning.Torbjörn Andersson
svn-id: r18693
2005-08-15Fix bug #1258479 "ITE: Graphical glitches in wildcat tribe"Eugene Sandulenko
svn-id: r18688
2005-08-13Fix bug #1258537 "ITE: Introduction text is black"Eugene Sandulenko
svn-id: r18677