aboutsummaryrefslogtreecommitdiff
path: root/saga
AgeCommit message (Collapse)Author
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
2004-11-03Whitespace fixTorbjörn Andersson
svn-id: r15710
2004-11-02Hacked Okk entry is not needed anymore.Eugene Sandulenko
svn-id: r15709
2004-11-02Removed unknown part of IMAGE_HEADER struct since it wasn't used in theTorbjörn Andersson
original code either. (Apparently it was reserved for future use.) I think the only remaining data structure with unknown members now is ANIMATION_HEADER. Of course, there's probably a lot that isn't implemented at all, too... svn-id: r15708
2004-11-01Renamed the "unknown" parameters. I hope I didn't make too many errors.Torbjörn Andersson
svn-id: r15707
2004-10-31UpdatesTorbjörn Andersson
svn-id: r15706
2004-10-31Renamed an "unknown" variable.Torbjörn Andersson
svn-id: r15705
2004-10-31Whitespace fixesTorbjörn Andersson
svn-id: r15704
2004-10-30Turn some methods into functions (potentially gives better code, and we may ↵Max Horn
want to move some of those into the graphics/ module one day) svn-id: r15703