aboutsummaryrefslogtreecommitdiff
path: root/saga
AgeCommit message (Collapse)Author
2004-12-03Oops, I forgot to make this change before making the last commit.Torbjörn Andersson
svn-id: r15978
2004-12-03First pass at migrating from the old Reinherit console to the ScummVMTorbjörn Andersson
console. Some things are likely to have broken. For instance, I believe the old console was could be visible during gameplay, while ScummVM's is modal. So any place where we output something to the console during gameplay should probably be removed. Some things I've stubbed out. Basically any code that registers a variable. Most of the debugging commands are untested. Syntax may have changed because of different command-line parsing. (I never actually used the old console, so I don't know for sure. :-) Actually, I'm not that interested in reproducing the old console commands faithfully. What we should do now is to make the immediately useful console stuff work. Anything that remains unimplemented should probably be removed. svn-id: r15976
2004-12-03Stop sounds at the beginning of a scene. Two reasons: we already stopTorbjörn Andersson
voices at the same time, and I didn't want the looping background sound in the IHNM intro to keep playing if escaping during the "hate speech". svn-id: r15975
2004-12-02Moved MidiDriver creation code into the MidiDriver class (as static ↵Max Horn
methods), same for some other MIDI related stuff svn-id: r15968
2004-11-29Fix music volumeEugene Sandulenko
svn-id: r15959
2004-11-28Who started this trend? :)Jerome Fisher
MT-32 emulator should be handled just like all other drivers, except that it should always be considered native MT-32. svn-id: r15952
2004-11-28Using a slightly hacked DOSbox I believe I have verified that the firstTorbjörn Andersson
music track and the looping background noise over the "hate" speech are correct. I was already pretty sure of the music, but the sound was just a lucky guess. The script LUT, which is what I really wanted to find, remains elusive, though. I couldn't see it reading any part of the resource file that looked anything like the script LUT in ITE. svn-id: r15942
2004-11-28Added debug message similar to the one for the scene LUT.Torbjörn Andersson
svn-id: r15941
2004-11-27AudioStream::read() has been removed quite some time ago, now making sure ↵Max Horn
that change is reflected everywhere svn-id: r15911
2004-11-26Added looping background noise to the IHNM intro. I don't know if it's theTorbjörn Andersson
correct sound or the correct volume, but the small extension to allow the engine to start looping sounds is worthwhile enough in itself, I think. svn-id: r15895
2004-11-26After listening to some of the IHNM music from both the FM and GM musicTorbjörn Andersson
files through the MIDI synth on my Soundblaster, I can only conclude that they are both General MIDI, so I've changed our code to assume that in both cases. The End Title (which we currently incorrectly play at the end of the intro) sounds much better in Adlib this way, too. Perhaps the original used a different GM to FM mapping than the one in our adlib.cpp, but if so using the MT-32 to GM mapping isn't likely to improve the situation. We could add a way of replacing the GM to FM mapping in adlib.cpp, I guess. Of course, that would only be worth it if the original sounds better than our mapping. svn-id: r15894
2004-11-26Fix break introduced with last commit :).Eugene Sandulenko
svn-id: r15893
2004-11-26oopsMax Horn
svn-id: r15891
2004-11-25Make use of new graphic primitives (untested, I don't have saga -- please ↵Max Horn
don't kill if this breaks, it should be trivial for you to fix it :-) svn-id: r15888
2004-11-25Reverted some more of yesterday's changes.Torbjörn Andersson
svn-id: r15884
2004-11-25Tiny, almost unnoticeable, step towards IHNM script loading. We'll need toTorbjörn Andersson
figure out the correct values for IHNM_SCRIPT_LUT and _scriptLUTEntryLen. svn-id: r15883
2004-11-25Temporarily disable the status bar in IHNM. The only place where we drew itTorbjörn Andersson
so far, it shouldn't be drawn. Eventually we could probably handle this with yet another panel mode: no panel at all. svn-id: r15882
2004-11-25Fixed a really stupid memory leak I introduced yesterday.Torbjörn Andersson
svn-id: r15881
2004-11-25Removed the hard-coded monologue. I realized that it was probably scripted,Torbjörn Andersson
and sev later confirmed this. Instead I now try to start the - hopefully - correct scene. This should start the script, but unfortunately we do not yet support IHNM script loading so it won't work yet. svn-id: r15880
2004-11-24Added the voice-overs and partial subtitles for the IHNM intro monologue.Torbjörn Andersson
svn-id: r15877
2004-11-24Added the next piece of music, to go along with AM's rantings. I'llTorbjörn Andersson
probably add some more of AM's speech soon, since that'd give me an incentive to fix the remaining parts of the WAV playback code. I'll see if I can add subtitles as well, like we do for ITE. svn-id: r15876
2004-11-24Fix a`ll engines. They work, though current fix is just temporary.Eugene Sandulenko
There are plans to add some brains to GameDetector class, which will let us avoid passing detector to init() method. svn-id: r15873
2004-11-23Added Engine::init() method; added return value to Engine::go()Max Horn
svn-id: r15865
2004-11-21But surely we should still call setGM(true) in the GM case, right...?Torbjörn Andersson
svn-id: r15854
2004-11-21o Removed astray debug output.Eugene Sandulenko
o MT-32 music is correct, though Adlib is not. There is apparently custom instrument remapping similiar to mt32->gm but it is different. With that remapping it sounds much closer to original. svn-id: r15850
2004-11-20Removing walkthrough stuff again (talked to aquadran about this, he had no ↵Max Horn
objections) svn-id: r15849
2004-11-20Slight adjustment/renaming.Torbjörn Andersson
svn-id: r15847
2004-11-20I'm told that the FM music file sounds terrible with MT-32 and that theTorbjörn Andersson
MT-32 is perfectly capable of playing General MIDI. My new guess is that the FM file is for Adlib instead. It certainly sounds better - but quite different - than playing the GM track through Adlib. svn-id: r15846
2004-11-20o Restore cursor after walkthroughEugene Sandulenko
o Add cursor events o Hide cursor during intro svn-id: r15844
2004-11-19init walkthrough dialog laterPaweł Kołodziejski
svn-id: r15841
2004-11-19fixed missed ctrl key handle, and missed create() walklthrough callPaweł Kołodziejski
svn-id: r15840
2004-11-19added walkthroughPaweł Kołodziejski
svn-id: r15835
2004-11-19Added music to the partial IHNM intro. I think I picked the correct tune,Torbjörn Andersson
but I can't be absolutely sure. I'm also not sure if I'm using the correct music data. I'm fairly sure that the MUSICGM.RES file is the appropriate choice for "General MIDI", but I have no way of verifying that the MUSICFM.RES is really the right choice for MT-32. (Is either of them a good choice for Adlib, or are they both equally bad?) svn-id: r15831
2004-11-18Make IHNM default be 1x scaler.Eugene Sandulenko
svn-id: r15829
2004-11-18Partial support for WAV sound playback, which apparently will be needed forTorbjörn Andersson
IHNM support. I used the partial IHNM intro as my test case, and it seems to work that far at least. svn-id: r15827
2004-11-15GCC doesn't like "const int" in a struct apparently.Torbjörn Andersson
svn-id: r15817
2004-11-15o Make GAME_GetFileContext() more object-likeEugene Sandulenko
o Font::loadFont() now normally survives zero-length fonts as used in demos o Removed unused SndRes::ITEVOC_Resample() o Fixed playing of voice #4 on old DOS targets o Implemented playing voices in VOX (Oki ADPCM) format o Support of Win32 and Linux demos. There was old-style Win32 demo, which is not supported yet, same is with DOS demo. svn-id: r15814
2004-11-14Fix stub a bit. Might garble rest of script otherwise.Oliver Kiehl
svn-id: r15806
2004-11-12Slight renamingTorbjörn Andersson
svn-id: r15796
2004-11-12Better names.Torbjörn Andersson
svn-id: r15795
2004-11-07Renamed SF_getObjName() to SF_getObjImage() and unstubbed it. (Untested)Torbjörn Andersson
svn-id: r15728
2004-11-07Unstubbed SF_setObjImage(). (Untested)Torbjörn Andersson
svn-id: r15727
2004-11-07Unstubbed SF_putString(). (Untested, but appears to be just for debugging.)Torbjörn Andersson
svn-id: r15726
2004-11-07Unstubbed SF_sceneID(). (Untested)Torbjörn Andersson
svn-id: r15725
2004-11-07Unstubbed SF_dropObject(). (Untested)Torbjörn Andersson
svn-id: r15724
2004-11-07Initial inventory support.Torbjörn Andersson
svn-id: r15723
2004-11-06Add stub for every script functionEugene Sandulenko
svn-id: r15722
2004-11-06IndentationTorbjörn Andersson
svn-id: r15721
2004-11-06CleanupTorbjörn Andersson
svn-id: r15720
2004-11-06Be more consistent with the other module.mk files.Torbjörn Andersson
svn-id: r15719