aboutsummaryrefslogtreecommitdiff
path: root/saga/saga.cpp
AgeCommit message (Collapse)Author
2005-09-28Cleaner code for sfWaitFramesEsc()Eugene Sandulenko
svn-id: r18895
2005-09-28Implement sfWaitFramesEsc()Eugene Sandulenko
svn-id: r18894
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-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-02Implement option buttons functionality. This fixes bug #1259518 "ITE: ButtonsEugene Sandulenko
in Options Dialog not fully functional" svn-id: r18738
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-13Fix bug #1258537 "ITE: Introduction text is black"Eugene Sandulenko
svn-id: r18677
2005-08-11Translate excuse messages and make them work on floppy versions. EarlierEugene Sandulenko
it just crashed there. svn-id: r18659
2005-08-10Rename Actor class members to _members.Eugene Sandulenko
svn-id: r18645
2005-08-08Partially fix bug #1253079 'ITE: Several errors in the "rocky chasm" scene'.Eugene Sandulenko
Argh! why _several_ errors and not one by one? svn-id: r18633
2005-08-05o Some cleanupEugene Sandulenko
o Fix warnings o Implemented IHNM changeChapter() o WIP for metaResources svn-id: r18618
2005-08-04Simulate bootparams.Eugene Sandulenko
svn-id: r18611
2005-07-30Thread-related IHNM differences.Eugene Sandulenko
svn-id: r18602
2005-07-29WhitespacesEugene Sandulenko
svn-id: r18595
2005-07-19finally Resource manager rewritten:Andrew Kurushin
-adds patch file support -global _vm removed cleanups svn-id: r18560
2005-07-13German translations for some interface texts, as pointed out by SimonTorbjörn Andersson
Sawatzki. svn-id: r18539
2005-07-08implemented per scene actors clippingAndrew Kurushin
so last sequence should look much better (not perfect) svn-id: r18516
2005-07-05Hid most of debug output to deeper levels. We're pretty close to officialEugene Sandulenko
launch so it should be invisible to users. svn-id: r18497
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-19Implement sfPlayLoopedSound, sfFadeMusic and sfPlayVoice.Eugene Sandulenko
sfPlayVoice is untested. Please, inform me where you encounter it. svn-id: r18412
2005-06-02Implement game load with '-x' comman-line parameter.Eugene Sandulenko
Fix couple valgrind and compiler warnings. svn-id: r18313
2005-05-31Almost complete implementation of Puzzle. Now it is possible to solve itEugene Sandulenko
successfully. Things to do: o non-actors speech, it just doesn't get displayed, though generated o support for CD voices svn-id: r18301
2005-05-29implemented DOS version 1 pixel clippingAndrew Kurushin
game options WIP3 svn-id: r18293
2005-05-23saveload WIPAndrew Kurushin
svn-id: r18232
2005-05-23Plug in Puzzle. Now it consists mainly of stubs but neverthless lets skipEugene Sandulenko
the Puzzle and continue game pretending like you completed the Puzzle. svn-id: r18225
2005-05-18fixed loadsave item resource idAndrew Kurushin
partialy fixed protect rat svn-id: r18174
2005-05-10Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' ↵Max Horn
because we already have many classes with that name) svn-id: r18039
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
2005-05-08Comply to our coding conventionsMax Horn
svn-id: r17975
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