42 Commits

Author SHA1 Message Date
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
Jonathan Gray
59c88e428b merge animation.h and animation_mod.h into a class
svn-id: r14388
2004-07-31 13:34:43 +00:00
Jonathan Gray
c7d6425a38 remove YS_IGNORE_PARAM macro and some uneeded yslib.h includes
svn-id: r14385
2004-07-31 12:37:36 +00:00
Eugene Sandulenko
90a876798a Merged sysgfx.cpp and gfx.cpp to gfx.cpp
svn-id: r13726
2004-05-02 00:00:39 +00:00
Eugene Sandulenko
c0772498b6 All graphics and input now is in OSystem.
Only timers left.

svn-id: r13723
2004-05-01 19:41:47 +00:00
Paweł Kołodziejski
1d649b1c06 indent
svn-id: r13698
2004-05-01 09:19:35 +00:00
Max Horn
ae1b03a1f5 More ScummVMification
svn-id: r13624
2004-04-25 15:14:46 +00:00
Max Horn
d4f876b37d Fix many warnings; use C++ type system instead of C style typedefs; removed various unused stuff; const correctness; etc.
svn-id: r13622
2004-04-25 14:42:14 +00:00
Eugene Sandulenko
f3d340fb0c WIP for SAGA engine.
o text formatting is not consistent with rules, just indent utility is too
   dumb for that
 o it does not use OSystem, i.e. it runs on direct SDL calls
 o it may not even compile on your box
 o if you enable it, expect zillions of warnings
 o no sound

Now it runs ITE intro as reinherit did

svn-id: r13564
2004-04-12 21:40:49 +00:00