aboutsummaryrefslogtreecommitdiff
path: root/saga/saga.cpp
AgeCommit message (Collapse)Author
2005-04-24You can safely delete/free null pointersMax Horn
svn-id: r17792
2005-04-22implemented inventoryAndrew Kurushin
todo: timeout catchup & capital 'U' & 'D' handling svn-id: r17748
2005-04-18converse support improved (still has some bugs)Andrew Kurushin
fixed: now protagonist can't be target object fixed: statusbar color added: *mouseButtonPressed in SagaEngine svn-id: r17672
2005-04-03- fixed tile doors drawingAndrew Kurushin
- right mouse action fixed svn-id: r17347
2005-03-25Patch #1117443 (Experimental plugin code revision)Max Horn
svn-id: r17231
2005-03-18- changescene on fair for tentsAndrew Kurushin
- some memory deallocation fixup todo: fix follower stuckiness in tents svn-id: r17180
2005-03-09changing AudioDataType -> SoundType, so now the constant names match the ↵Max Horn
name of the data type / the SoundMixer method names svn-id: r17052
2005-03-07IndentationTorbjörn Andersson
svn-id: r17028
2005-01-28partialy implemented all Iso mode resource loadingAndrew Kurushin
todo: loadMulti - may be wrong svn-id: r16670
2005-01-19fixed default verb issueAndrew Kurushin
svn-id: r16597
2005-01-18partly implemented game objectsAndrew Kurushin
svn-id: r16595
2005-01-18another step in verb implementation:Andrew Kurushin
- objectMap responds to mouse move (but respond script not run well ?) loadStrings add some special count check - so all other LUT based resource should implement this technique svn-id: r16594
2005-01-18- merged ActionMap and ObjectMapAndrew Kurushin
- remove ActionMap.h & ActionMap.cpp - ObjectMap names move to Scene::_sceneStrings as in original engine - fix wrong StringsTable::stringsCount calculation svn-id: r16592
2005-01-18Initialize converse properly.Eugene Sandulenko
svn-id: r16591
2005-01-17First batch of converse implementation in scripts. To see it typeEugene Sandulenko
'scene_change 33' in debugger. svn-id: r16588
2005-01-15some work in progress on verb stuff:Andrew Kurushin
- many structers and fields renamed to proper names - added missing functions svn-id: r16562
2005-01-14I've changed getTextString() slightly so that if the translated string isTorbjörn Andersson
NULL it'll use the English string instead. It seems unnecessary to store the same string twice, even if it's possible that the compiler is smart enough to eliminate the duplicates. Either way it doesn't make much difference now, but we may want to add the intro strings to the getTextString() mechanism eventually. In that case most of the credits would be duplicates, for instance. svn-id: r16560
2005-01-14o Added support for German ITE. There are also Puzzle-related messagesEugene Sandulenko
hardcoded, but I'll save that for later :) o Eliminated all leftovers of previous language loader. If you'll spot another one, just remove it silently. svn-id: r16556
2005-01-13- introduced SagaEngine::getTextString (for i18n it should route to ↵Andrew Kurushin
corresponding string array) - first step in verb implementation: proper button draw, keyboard respond 'w','l' &etc - added comments and some fields to GameDisplayInfo svn-id: r16554
2005-01-11- remove game.h & image.hAndrew Kurushin
- all display information of current game goes to SagaEngine - remove GameFontIds - hide SagaEngine _gameId,_gameType & etc with methods getGameId(), getGameType() svn-id: r16545
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-09- GameModule is goneAndrew Kurushin
- structures renamed - SagaEngine class gives all current game descriptions regression : "verb" is broken cause work in progress svn-id: r16511
2005-01-09small fixes:Andrew Kurushin
- actor barrier rects - unreachable code svn-id: r16510
2005-01-08rename StringsList to StringsTableAndrew Kurushin
svn-id: r16492
2005-01-08begining of verb implementationAndrew Kurushin
introduced getObjectName svn-id: r16491
2005-01-07o Add reported German IHNM and ITEEugene Sandulenko
o Fix IHNM. It does not have actors now (all actors in IHNM are in resources, not hardcoded) svn-id: r16478
2005-01-06Fix crash in introEugene Sandulenko
svn-id: r16447
2005-01-06Next batch of panel-related fixes. Still wrong.Eugene Sandulenko
NOTE: lines which start with `;' should contain calls to not yet implemented subsystems like Conversation subsystem svn-id: r16443
2005-01-02o Started putting all panels stuff in order. Still incompleteEugene Sandulenko
o Proper detection for Mac Wyrmkeep CD o Support for wyrmkeep logos svn-id: r16415
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398
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