aboutsummaryrefslogtreecommitdiff
path: root/saga/saga.cpp
AgeCommit message (Collapse)Author
2004-12-27Added 'sound types' to the mixer - for now, only plain (for the premixer), ↵Max Horn
SFX and music; volume is now controlled based on the sound type svn-id: r16330
2004-12-22- rewriten actors action handling (now uses all original flags etc)Andrew Kurushin
- added some script functions (swapactors...) - many things were renamed according scummvm covention - resource id definintions should begin with "RID_" prefix - intro temporary broken - work in progress todo: - walking hanling also should be rewriten - timings for speech and actor cycling should be more accurate svn-id: r16263
2004-12-22o Moved GAME_* to SagaEngine objectEugene Sandulenko
o Renamed GAME_ITE_* to GID_ITE_* o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM svn-id: r16258
2004-12-21- rewritten actors speech engine :Andrew Kurushin
1) there are three types of speech: one acor, multiple actor, non actor 2) slow speech implemented 3) uses native engine flags (async,noanimate...) instead of semaphores - proper timings implemented svn-id: r16237
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-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-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-20Removing walkthrough stuff again (talked to aquadran about this, he had no ↵Max Horn
objections) svn-id: r15849
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-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-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-07Initial inventory support.Torbjörn Andersson
svn-id: r15723
2004-10-27removed R_ prefix with few r_ tooPaweł Kołodziejski
svn-id: r15690
2004-10-21Better support of MT-32.Eugene Sandulenko
svn-id: r15636
2004-10-12Added support for digitized music, plus some other music-related fixes.Torbjörn Andersson
Note that I've only tried this with the music.rsc file from the full Linux version. It seems likely that the Mac version uses the same file format, but I have no way of verifying this. I'm told the demos use compressed audio, so the music files from them probably won't work yet. svn-id: r15527
2004-10-08Prevent double slash in pathChris Apers
svn-id: r15473
2004-10-07Turn ObjectMap into real object.Eugene Sandulenko
svn-id: r15457
2004-10-07Remove duplicated code in actor walk code.Eugene Sandulenko
Turn ActionMap into real object. Rename ActionMap variables to conform our code guidelines. svn-id: r15456
2004-10-01Set up file paths to handle the differences between the file layout of theTorbjörn Andersson
Windows and Linux versions. (TODO: Handle game detection.) Added preliminary support for the P2_A.aif file that the Linux version uses, where the Windows version uses p2_a.voc. Someone will have to verify the actual format of it, and we have a silly bug in playVoice() which will have to be fixed before things work properly. svn-id: r15365
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
2004-08-27R_GAMETYPE -> GID, remove unused supported flag and trim some unused bits of ↵Jonathan Gray
GAME svn-id: r14793
2004-08-12Merge SDEBUG_*, SF_* and STHREAD_* into Script class.Eugene Sandulenko
svn-id: r14568
2004-08-11Handle fades in scene load routine.Eugene Sandulenko
Introduce immediate events. svn-id: r14558
2004-08-10Moved PALANIM_* to a class.Eugene Sandulenko
svn-id: r14540
2004-08-10Move EVENT_* to a class.Eugene Sandulenko
svn-id: r14539
2004-08-10Move CON_* to a class.Eugene Sandulenko
svn-id: r14538
2004-08-06Move INTERFACE_ to class.Eugene Sandulenko
svn-id: r14478
2004-08-04Move SCENE_* to class.Eugene Sandulenko
svn-id: r14463
2004-08-04Move state static variable to appropriate classEugene Sandulenko
svn-id: r14462
2004-08-03Move SPRITE_ to a classEugene Sandulenko
svn-id: r14451
2004-08-03Move TEXT_* to SagaEngine class.Eugene Sandulenko
svn-id: r14450
2004-08-03Move FONT_* to class.Eugene Sandulenko
svn-id: r14449
2004-08-02Fix #include paths.Eugene Sandulenko
svn-id: r14443
2004-08-02Objectize actor.cppEugene Sandulenko
svn-id: r14441
2004-08-02create objectMap classJonathan Gray
svn-id: r14440
2004-08-02move isomap into a classJonathan Gray
svn-id: r14439
2004-08-02remove timer wrapper functionsJonathan Gray
svn-id: r14437
2004-08-01create Script class from SCRIPT_* and ScriptModuleJoost Peters
svn-id: r14425
2004-08-01move SDATA_* into seperate classJoost Peters
svn-id: r14424
2004-08-01Pass SagaEngine object to Anim and ActionMap objectsEugene Sandulenko
svn-id: r14422
2004-08-01init _gfx in a less hacky mannerJonathan Gray
svn-id: r14420
2004-08-01merge reinherit.h into saga.h and gfx_mod.h, note the error loading ↵Jonathan Gray
animations wasn't caused by this commit :) svn-id: r14405
2004-08-01Forgot to implement destructor for ActionMapEugene Sandulenko
svn-id: r14400