58 Commits

Author SHA1 Message Date
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Torbjörn Andersson
a202b15062 Added a "video" panel mode. From what I understand, the beginning of the
IHNM intro should use this, so now it does.

svn-id: r18957
2005-10-07 15:36:28 +00:00
Andrew Kurushin
c9e9eb92c0 fix #1298659 [WyrmKeep logo overdraw]
svn-id: r18915
2005-10-01 11:09:49 +00:00
Torbjörn Andersson
d8a96c3032 Allowed IHNM to use the opSpeak opcode. Aborting that code path early meant
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-26 12:07:31 +00:00
Eugene Sandulenko
4e4c1f5b73 Rename event types to comply with our standards.
svn-id: r18647
2005-08-10 15:31:15 +00:00
Eugene Sandulenko
00d676c3d2 EVENT -> Event
svn-id: r18644
2005-08-10 14:11:22 +00:00
Eugene Sandulenko
215a94ae30 WIP on metaResources. Most resources are load. Now we start correct
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-07 00:00:43 +00:00
Andrew Kurushin
5956747e2e ihnm actors list WIP
svn-id: r18623
2005-08-06 18:28:43 +00:00
Andrew Kurushin
5b4ecd206d changeChapter -> changeScene with chapter
svn-id: r18619
2005-08-06 12:20:10 +00:00
Torbjörn Andersson
c13aed09fc Fixed warnings.
svn-id: r18607
2005-07-31 16:51:14 +00:00
Torbjörn Andersson
ba107e3799 Tentatively changed the IHNM start scene from 152 to 151. I suspect scene
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-30 14:37:06 +00:00
Andrew Kurushin
e175e68b99 resolve scene resources without shift hack
svn-id: r18584
2005-07-25 17:35:35 +00:00
Andrew Kurushin
50c2d8954d finally Resource manager rewritten:
-adds patch file support
-global _vm removed

cleanups

svn-id: r18560
2005-07-19 19:05:52 +00:00
Andrew Kurushin
c2f1691bad gfx rearangement
code cleanups

svn-id: r18523
2005-07-09 16:23:45 +00:00
Eugene Sandulenko
4564f0d3bf Fix gcc4 warnings
svn-id: r18429
2005-06-21 21:59:24 +00:00
Andrew Kurushin
a81b093e65 fixed sfSceneEq bug
fixed load actors entrance
removed some orphans

svn-id: r17964
2005-05-08 14:04:06 +00:00
Torbjörn Andersson
7f511a2a45 Updated comment. (ScummVM no longer crashes if I try to run what I think is
the correct scripts.)

svn-id: r17047
2005-03-09 07:28:49 +00:00
Torbjörn Andersson
213a9de6a1 Added constant for the resource number for the first IHNM scene. Actually,
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-03-08 10:59:31 +00:00
Andrew Kurushin
2f20dd57c2 some work in progress on verb stuff:
- many structers and fields renamed to proper names
- added missing functions

svn-id: r16562
2005-01-15 20:12:49 +00:00
Andrew Kurushin
31ceb0bb71 - GameModule is gone
- structures renamed
- SagaEngine class gives all current game descriptions
regression : "verb" is broken cause work in  progress

svn-id: r16511
2005-01-09 23:41:22 +00:00
Torbjörn Andersson
fc6d4e0831 Use events to start the remaining animations. It's not necessary, but it's
more consistent that way.

svn-id: r16412
2005-01-02 16:11:19 +00:00
Torbjörn Andersson
1bc636aaa6 Fixed a few things in the IHNM intro. Most noticeably I've added an event
for starting animations, which I use to prevent the first animation frame
from being drawn too early.

svn-id: r16407
2005-01-02 14:36:00 +00:00
Max Horn
2664ca7eb1 oops, correct copyright string
svn-id: r16399
2005-01-01 16:20:17 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Eugene Sandulenko
03ed4dd4df o Fixed animation playback
o Implemented almost all animation opcodes

svn-id: r16352
2004-12-28 03:44:07 +00:00
Eugene Sandulenko
2fb8a8e453 o Moved GAME_* to SagaEngine object
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-22 13:09:47 +00:00
Eugene Sandulenko
502b279d24 Patch #1081904 ITE: MAC demo support
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-15 00:24:12 +00:00
Torbjörn Andersson
c64c7eb4d4 First pass at migrating from the old Reinherit console to the ScummVM
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-03 19:15:44 +00:00
Torbjörn Andersson
0d951de5e9 Using a slightly hacked DOSbox I believe I have verified that the first
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-28 18:28:40 +00:00
Torbjörn Andersson
66b8bcd7eb Added looping background noise to the IHNM intro. I don't know if it's the
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-26 13:28:00 +00:00
Torbjörn Andersson
e79e0dec74 Reverted some more of yesterday's changes.
svn-id: r15884
2004-11-25 12:54:03 +00:00
Torbjörn Andersson
ee2f492cd9 Removed the hard-coded monologue. I realized that it was probably scripted,
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-25 07:13:40 +00:00
Torbjörn Andersson
87ffc13324 Added the voice-overs and partial subtitles for the IHNM intro monologue.
svn-id: r15877
2004-11-24 15:02:00 +00:00
Torbjörn Andersson
373a19eef1 Added the next piece of music, to go along with AM's rantings. I'll
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-24 10:37:33 +00:00
Torbjörn Andersson
c93f57b112 Slight adjustment/renaming.
svn-id: r15847
2004-11-20 17:32:47 +00:00
Torbjörn Andersson
9766d59b7e I'm told that the FM music file sounds terrible with MT-32 and that the
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-20 17:19:15 +00:00
Torbjörn Andersson
d173491acc Added music to the partial IHNM intro. I think I picked the correct tune,
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-19 07:41:59 +00:00
Torbjörn Andersson
f80bdba62f Partial support for WAV sound playback, which apparently will be needed for
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-11-18 17:34:54 +00:00
Paweł Kołodziejski
c7e5ab1f2d removed R_ prefix with few r_ too
svn-id: r15690
2004-10-27 21:32:28 +00:00
Eugene Sandulenko
a8ea40756f Move ITE_* and IHNM_* to Scene class.
svn-id: r14560
2004-08-11 23:42:02 +00:00
Eugene Sandulenko
94b377ce73 Handle fades in scene load routine.
Introduce immediate events.

svn-id: r14558
2004-08-11 22:27:39 +00:00
Eugene Sandulenko
720ea20bed Moved PALANIM_* to a class.
svn-id: r14540
2004-08-10 19:20:33 +00:00
Eugene Sandulenko
fe7ac87bc7 Move EVENT_* to a class.
svn-id: r14539
2004-08-10 19:00:30 +00:00
Eugene Sandulenko
51b5acfc9c Move SCENE_* to class.
svn-id: r14463
2004-08-04 20:28:57 +00:00
Eugene Sandulenko
415400f24e Move TEXT_* to SagaEngine class.
svn-id: r14450
2004-08-03 00:40:16 +00:00
Eugene Sandulenko
fe1ab79bee Move FONT_* to class.
svn-id: r14449
2004-08-03 00:06:18 +00:00
Eugene Sandulenko
166b05aed4 Fix #include paths.
svn-id: r14443
2004-08-02 16:20:35 +00:00
Jonathan Gray
0bbeb61f5e merge gfx_mod.h into gfx.h and stick functions into a class
svn-id: r14419
2004-08-01 11:48:53 +00:00
Jonathan Gray
182dd48bd4 merge reinherit.h into saga.h and gfx_mod.h, note the error loading animations wasn't caused by this commit :)
svn-id: r14405
2004-08-01 01:56:22 +00:00