aboutsummaryrefslogtreecommitdiff
path: root/saga/ihnm_introproc.cpp
AgeCommit message (Collapse)Author
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-07Added a "video" panel mode. From what I understand, the beginning of theTorbjörn Andersson
IHNM intro should use this, so now it does. svn-id: r18957
2005-10-01fix #1298659 [WyrmKeep logo overdraw]Andrew Kurushin
svn-id: r18915
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-10Rename event types to comply with our standards.Eugene Sandulenko
svn-id: r18647
2005-08-10EVENT -> EventEugene Sandulenko
svn-id: r18644
2005-08-07WIP on metaResources. Most resources are load. Now we start correctEugene Sandulenko
scene. But there are following problems: o Inclomplete support for actors speech, so opSpeak is skipped o For some weird reason actors do not appear at all. Actually code seems to be trying to read only protagonist frames o It crashes on reading sprites due to wrong input svn-id: r18624
2005-08-06ihnm actors list WIPAndrew Kurushin
svn-id: r18623
2005-08-06changeChapter -> changeScene with chapterAndrew Kurushin
svn-id: r18619
2005-07-31Fixed warnings.Torbjörn Andersson
svn-id: r18607
2005-07-30Tentatively changed the IHNM start scene from 152 to 151. I suspect sceneTorbjörn Andersson
151 is supposed to play the "hate" speech, so eventually that wouldn't have to be hard-coded in the intro, but at the moment all it does it to switch to scene 152. I'd have to study the scripts closer to figure out what's missing. So, to summarize, there are no user-visible changes to the intro but we may have a better test case for IHNM scripting. Maybe. svn-id: r18601
2005-07-25resolve scene resources without shift hackAndrew Kurushin
svn-id: r18584
2005-07-19finally Resource manager rewritten:Andrew Kurushin
-adds patch file support -global _vm removed cleanups svn-id: r18560
2005-07-09gfx rearangementAndrew Kurushin
code cleanups svn-id: r18523
2005-06-21Fix gcc4 warningsEugene Sandulenko
svn-id: r18429
2005-05-08fixed sfSceneEq bugAndrew Kurushin
fixed load actors entrance removed some orphans svn-id: r17964
2005-03-09Updated comment. (ScummVM no longer crashes if I try to run what I think isTorbjörn Andersson
the correct scripts.) svn-id: r17047
2005-03-08Added constant for the resource number for the first IHNM scene. Actually,Torbjörn Andersson
I believe it's the wrong scene. Currently we use resource 152, which run the scripts "CampFireSetup" and "CampFireScene". If I use resource 151 instead it will run the scripts "ColumnSetup" and "ColumnScene" instead. I'm speculating that this is the "hate" speech and the rest of the intro ("ColumnScene" is a fairly long script, as far as I can tell), but unfortunately this causes ScummVM to crash almost immediately. I'll need to dissect the scripts to see if I can figure out what's wrong. svn-id: r17036
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-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-02Use events to start the remaining animations. It's not necessary, but it'sTorbjörn Andersson
more consistent that way. svn-id: r16412
2005-01-02Fixed a few things in the IHNM intro. Most noticeably I've added an eventTorbjörn Andersson
for starting animations, which I use to prevent the first animation frame from being drawn too early. svn-id: r16407
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-28o Fixed animation playbackEugene Sandulenko
o Implemented almost all animation opcodes svn-id: r16352
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-15Patch #1081904 ITE: MAC demo supportEugene Sandulenko
o Endianness-aware resource loading o Removed ys_dl_list in favor of our object implementation o Cleanup in actor code o Partial support for ITE Mac rereleased demo svn-id: r16051
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-11-28Using a slightly hacked DOSbox I believe I have verified that the firstTorbjörn Andersson
music track and the looping background noise over the "hate" speech are correct. I was already pretty sure of the music, but the sound was just a lucky guess. The script LUT, which is what I really wanted to find, remains elusive, though. I couldn't see it reading any part of the resource file that looked anything like the script LUT in ITE. svn-id: r15942
2004-11-26Added looping background noise to the IHNM intro. I don't know if it's theTorbjörn Andersson
correct sound or the correct volume, but the small extension to allow the engine to start looping sounds is worthwhile enough in itself, I think. svn-id: r15895
2004-11-25Reverted some more of yesterday's changes.Torbjörn Andersson
svn-id: r15884
2004-11-25Removed the hard-coded monologue. I realized that it was probably scripted,Torbjörn Andersson
and sev later confirmed this. Instead I now try to start the - hopefully - correct scene. This should start the script, but unfortunately we do not yet support IHNM script loading so it won't work yet. svn-id: r15880
2004-11-24Added the voice-overs and partial subtitles for the IHNM intro monologue.Torbjörn Andersson
svn-id: r15877
2004-11-24Added the next piece of music, to go along with AM's rantings. I'llTorbjörn Andersson
probably add some more of AM's speech soon, since that'd give me an incentive to fix the remaining parts of the WAV playback code. I'll see if I can add subtitles as well, like we do for ITE. svn-id: r15876
2004-11-20Slight adjustment/renaming.Torbjörn Andersson
svn-id: r15847
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-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-18Partial support for WAV sound playback, which apparently will be needed forTorbjörn Andersson
IHNM support. I used the partial IHNM intro as my test case, and it seems to work that far at least. svn-id: r15827
2004-10-27removed R_ prefix with few r_ tooPaweł Kołodziejski
svn-id: r15690
2004-08-11Move ITE_* and IHNM_* to Scene class.Eugene Sandulenko
svn-id: r14560
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-04Move SCENE_* to class.Eugene Sandulenko
svn-id: r14463
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-01merge gfx_mod.h into gfx.h and stick functions into a classJonathan Gray
svn-id: r14419
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-07-31merge animation.h and animation_mod.h into a classJonathan Gray
svn-id: r14388