aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-01-17First batch of converse implementation in scripts. To see it typeEugene Sandulenko
'scene_change 33' in debugger. svn-id: r16588
2005-01-17Add another SAGA itemEugene Sandulenko
svn-id: r16587
2005-01-17o Proper implementation of sfPlaySound() which knows about CD<->floppyEugene Sandulenko
difference o Fix regression in Mac titles where scene LUT wasn't conversed o Fix sound types in many games. Old Win demo is still wrong. svn-id: r16586
2005-01-17Whitespace changesTorbjörn Andersson
svn-id: r16585
2005-01-17Updated SAGA items.Torbjörn Andersson
svn-id: r16584
2005-01-17If the game tries to start a piece of music that happens to be playingTorbjörn Andersson
already, let it continue playing rather than restarting it. (I've been meaning to make this change for some time, but now it appeared on the TODO list as well. :-) svn-id: r16583
2005-01-17Add new SAGA issues.Eugene Sandulenko
svn-id: r16582
2005-01-17Updated Broken Sword 2 items.Torbjörn Andersson
svn-id: r16581
2005-01-17Updated copyright header, as discussed on the mailing list.Torbjörn Andersson
svn-id: r16580
2005-01-17Initialize a few variables to fix Valgrind warnings. (I'm hoping they wereTorbjörn Andersson
the reason the ITE intro crashed for me.) I still get read warnings in Sprite::decodeRLEBuffer() though. Also added a couple of hacks to keep the IHNM intro alive. Once we support IHNM actors, we'll be able to remove them. svn-id: r16579
2005-01-16PocketPC issues were fixed on the 0.7.x branch, but which... ?Max Horn
svn-id: r16578
2005-01-16-small pathfind fixAndrew Kurushin
-pathfind speedup svn-id: r16576
2005-01-16- some fix to previousAndrew Kurushin
svn-id: r16575
2005-01-16actors entry list implementedAndrew Kurushin
test: in ITE type "scene_change 130" at console svn-id: r16574
2005-01-16Some more untested opcode fixes. (By the way, I was wrong the other day:Torbjörn Andersson
The first IHNM script does not use random branching after all.) svn-id: r16573
2005-01-16sfPlayMusic() takes two parameters in IHNM. Since our currentTorbjörn Andersson
implementation is only right for ITE, disable it for IHNM for now. svn-id: r16572
2005-01-16Slowed down actor movement a bit.Torbjörn Andersson
svn-id: r16571
2005-01-16Fix for bug #1098872 (FTDEMO: Memoryleak in SMUSH player)Max Horn
svn-id: r16570
2005-01-16Cosmetic change, avoiding a hypothetical threading problem, see bug #1098864Max Horn
svn-id: r16569
2005-01-15- added partial scene change by actor's walking (todo:entrance should be ↵Andrew Kurushin
supported) svn-id: r16568
2005-01-15Forgot to commit thisMax Horn
svn-id: r16567
2005-01-15Added a convenience class 'Mutex'Max Horn
svn-id: r16566
2005-01-15Not needed anymoreMax Horn
svn-id: r16565
2005-01-15Get rid of the ConstString classMax Horn
svn-id: r16564
2005-01-15Fix up/down arrowsMax Horn
svn-id: r16563
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-15Use the same hard-coded cursor image and colours as the original ITETorbjörn Andersson
interpreter. Supposedly these colours will stay fairly constant throughout the game, in which case we no longer need to repaint it with the "best white" colour every time the palette changes. svn-id: r16561
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-14Removed the unused i_cvar_name field from INTRO_DIALOGUE.Torbjörn Andersson
svn-id: r16559
2005-01-14Fixed the "random branch" opcode, I hope. I haven't tested it. The firstTorbjörn Andersson
IHNM script seems to use it, but doesn't get that far because it terminates on an unknown script function. svn-id: r16558
2005-01-14Added helper function to queue the ITE intro dialogue.Torbjörn Andersson
svn-id: r16557
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-14Change SIMON to use makeWAVStream - patch #1101740Travis Howell
svn-id: r16555
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-13Removed unused stuff.Torbjörn Andersson
svn-id: r16553
2005-01-13Use loadWAVFromStreamMax Horn
svn-id: r16552
2005-01-13queenrebuild was renamed to compress_queenMax Horn
svn-id: r16551
2005-01-13A few subtitle-related changes:Torbjörn Andersson
* Added speechCoords to the SpeechData structure so that talking actors don't drag their speech subtitles with them just because they're moving and talking at the same time. (Could this also be useful for non-actor speech?) If the actor has multiple strings, the coordinates are updated for each new string. * Made speechColor and outlineCoor arrays so that simultaneous speech (i.e. where several actors are talking at the same time) multi-coloured. This is completely untested, though. * Used getBlack() to get the black colour for the text outline. The original uses a constant, but we could always make getBlack() return that constant, if we want to. svn-id: r16550
2005-01-12Slight adjustment to previous commit.Torbjörn Andersson
svn-id: r16549
2005-01-12There was a slight but noticeable pause in linked animations at the momentTorbjörn Andersson
it changes to the link. I'm guessing that the last frame in the animation is identical to the first frame in the link. The original calls SetAlarm(&deltaAlarm[i], delta->timer) between each frame, but amends itself by calling SetAlarm(&deltaAlarm[i], 0) when the link happens. I'm trying to simulate that effect by using 0 as frame time instead of anim->frame_time. I think that's the right thing to do. svn-id: r16548
2005-01-11Move 'tools' related build rules into tools/module.mk; fixed remainder of ↵Max Horn
bug #1100125 (I hope...) svn-id: r16547
2005-01-11remove game.h & image.hAndrew Kurushin
svn-id: r16546
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-11Partial fix for bug #1100125Max Horn
svn-id: r16544
2005-01-11last wjp suggested patch - helps reenable "no definition for inline ↵Andrew Kurushin
function" warning svn-id: r16543
2005-01-11Make voicess.res the first IHNM voice file, since that's the one that'sTorbjörn Andersson
used in the intro. That way, if the IHNM demo plays an intro we'll use the first voice file both for the demo and the full game. Eventually we'll need to implement switching between different voice files, of course, but that can wait. svn-id: r16542
2005-01-11On Fingolfin's suggestion I put back the inclusion of util.h into Rect, forTorbjörn Andersson
MIN() and MAX(). I then removed util.h from a bunch of files which I don't think need it any more. (Please let me know if I got too blood-thirsty!) This reverts some of the changes I made this morning. svn-id: r16541
2005-01-11Use Fingolfin's new WAV code.Torbjörn Andersson
svn-id: r16540
2005-01-1116-bit WAVs are little-endian.Torbjörn Andersson
svn-id: r16539
2005-01-11This is probably not the optimal fix, but at least ScummVM compiles again.Torbjörn Andersson
svn-id: r16538