aboutsummaryrefslogtreecommitdiff
path: root/saga/saga.cpp
AgeCommit message (Collapse)Author
2006-01-21Fix various incorrect usages of the word 'target' instead of 'gameid'; ↵Max Horn
change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid' svn-id: r20115
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2006-01-13implement IHNM verb mapperAndrew Kurushin
svn-id: r20003
2005-12-30* Replaced MDT_PREFER_NATIVE/MDT_NATIVE by MDT_PREFER_MIDI/MDT_MIDI).Max Horn
* Changed MidiDriver::createMidi so that if MD_ADLIB is passed, it now *does* instantiate the adlib driver. * Rewrote MidiDriver::detectMusicDriver (code should be clearer now, and hopefully easier to adapt/maintain). Note that the behavior changed slightly (this may require some tweaking). * Added MidiDriver::findMusicDriver which works similar to the old MidiDriver::parseMusicDriver but returns the full MidiDriverDescription and ignores all characters in the passed driver name following a colon ":". * Changed MidiDriver::parseMusicDriver to use MidiDriver::findMusicDriver. * Changed game engines to match the changes made to MidiDriver. * Modified SCUMM engine to not record the selected midi/music driver (in _midiDriver), but rather the music *type* (in _musicType). svn-id: r19859
2005-11-26fix source formatAndrew Kurushin
svn-id: r19706
2005-11-26known color WIP #1Andrew Kurushin
svn-id: r19703
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-17Fix bug #1326833 "ITE: Missing copy protection". Though it is disabledEugene Sandulenko
by default by kind permission from Wyrmkeep Entertainment Co. svn-id: r19125
2005-10-14Turned on the automatic computation of dirty rects for ITE. It should makeTorbjörn Andersson
it less of a CPU hog for 0.8.0, but I hope we'll be able to fix it properly for later versions. svn-id: r19083
2005-10-14Eliminate ite-demo and ihnm-demo targets as we do in SAGA. Just use plainEugene Sandulenko
ite and ihnm respectively. Sorry, but I had to do it before release, no autoupgrade as games weren't supported only in developer's version. Fix bug #1297365 "ITE: Game detection is broken". Now it distinguishes between DOS CD and Win CD, though it uses platform and language settings from .ini to do the choice. I.e current games need to be redetected. Though only these 2 games are affected. I.e. they have exactly same resource files, just Windows release adds up external patches. These patches cannot be added to detection as they're stored in subdirectories. Also I resolved problem between ite-demo-win and ite-demo-linux where latter is a superset of former. I.e. it has all files which win demo has plus one additional. And if you try to detect Linux demo it shows you both. Of course this could be handled by upper solution, but to make sure I count number of required files for matched versions and remove those which do not have max number of files. I.e. if 2 games matched and one requires 4 and another one requires 5 files, then we have 5 files matched which certainly points to second game not the first. svn-id: r19074
2005-10-14Add language and platform to game description and use that accross the source.Eugene Sandulenko
That eliminates GF_LANG_DE and GF_MAC_RESOURCES. svn-id: r19071
2005-10-11Cleanups. Mostly whitespace.Torbjörn Andersson
svn-id: r19022
2005-10-08Read IHNM actor and object strings from the resource file. (This does notTorbjörn Andersson
keep whichObject() from crashing, but I don't know why.) svn-id: r18980
2005-10-08Cleanup.Torbjörn Andersson
svn-id: r18972
2005-10-08Now most artefacts are gone and we're in proper panel mode when runningEugene Sandulenko
character selection. svn-id: r18961
2005-10-08Oops. Fix crash introduced by last commit.Eugene Sandulenko
svn-id: r18960
2005-10-06It should always be possible to interrupt the intro with Escape now. MostTorbjörn Andersson
of the job was already done, though. Only the final bit was missing. svn-id: r18951
2005-10-05IHNM used only 248 colors for game graphics. Top part of the paletteEugene Sandulenko
was read from resources. Switching to this scheme fixes magenta outlines in subtitles. svn-id: r18935
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