Commit Graph

42 Commits

Author SHA1 Message Date
Torbjörn Andersson
1897e6046b Experimental loading of the cutaway list. Next step will be to get ScummVM
to actually *play* the cutaways. I'll look into that later.

svn-id: r18865
2005-09-23 14:29:26 +00:00
Torbjörn Andersson
8f8f0daf1c Added a GAME_SWAPENDIAN flag so that game files can be labelled as having
the opposite byte order of the rest of the files. This is needed for the
multi-OS version. (Now it crashes with a "RAWInputStream() wrong musicInfo"
message instead, but it's still an improvement.)

svn-id: r18852
2005-09-21 10:09:58 +00:00
Torbjörn Andersson
d0467607ba Re-named variable.
svn-id: r18798
2005-09-09 10:40:49 +00:00
Eugene Sandulenko
349ab2007a Implement sfPlayMusic for IHNM
svn-id: r18717
2005-08-30 11:16:11 +00:00
Eugene Sandulenko
37f2a10ef6 Rename Actor class members to _members.
svn-id: r18645
2005-08-10 14:53:17 +00:00
Eugene Sandulenko
c6c5c8f868 o Fix some game parameters for IHNM
o Load voices LUT for IHNM

svn-id: r18640
2005-08-09 16:01:04 +00:00
Andrew Kurushin
d3b229b051 loadList -> loadActorList
some checkups

svn-id: r18625
2005-08-07 11:20:43 +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
Eugene Sandulenko
c950bd8231 Fixes for metaResources loading
svn-id: r18622
2005-08-06 16:05:13 +00:00
Eugene Sandulenko
6886f7865c o Fix uint -> int with scene numbers
o WIP for metaResources

svn-id: r18620
2005-08-06 14:26:59 +00:00
Eugene Sandulenko
005843e55b o Some cleanup
o Fix warnings
o Implemented IHNM changeChapter()
o WIP for metaResources

svn-id: r18618
2005-08-05 23:14:11 +00:00
Andrew Kurushin
41ff67ac1d macBinary resource support
svn-id: r18609
2005-08-04 10:23:49 +00:00
Andrew Kurushin
86ab70b149 added Patch.re_ support
svn-id: r18603
2005-07-30 17:28:58 +00:00
Eugene Sandulenko
ec4f7d3d7c Whitespaces
svn-id: r18595
2005-07-29 17:58:00 +00:00
Andrew Kurushin
c4f0d024ef fixed sound in many variation
some version should be tested

svn-id: r18585
2005-07-26 19:40:58 +00:00
Torbjörn Andersson
71436ff1de Allow multiple resource contexts of the same type. IHNM has serveral
different voice files, presumably one for each section of the game plus one
for shared voices. The getContext() function takes an optional second
parameter to indicate which of the resource files is requested.

svn-id: r18575
2005-07-23 15:23:01 +00:00
Torbjörn Andersson
d58e018004 Play the correct digital music. (And removed some unnecessary blank lines.)
svn-id: r18567
2005-07-19 21:34:46 +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
Torbjörn Andersson
ee28783c74 Fixed crash when talking to the money changer about the Orb of Storms. The
sound resources were being substituted with animation resources. Now the
substitutions are identified by a resource number *and* a file name.

Could someone verify that ite.rsc is the correct file for all of them?

svn-id: r18422
2005-06-21 13:55:18 +00:00
Torbjörn Andersson
c312db302c My Linux ITE CD developed read errors, so Joe sent me a replacement, for
which I'm very grateful.

This latest CD version turned out to be one that ScummVM didn't support. It
has - I believe - the same data files as the Linux version (with digitized
music), except for the voice file which appears to be the same as the one
from the Mac version.

In other words, it has one big-endian data file, and a couple of little-
endian ones. The technical term for this is "bloody awkward".

It should work now, though.

svn-id: r18333
2005-06-04 12:25:25 +00:00
Max Horn
b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Andrew Kurushin
244b227b19 - remove game.h & image.h
- 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-11 21:10:36 +00:00
Eugene Sandulenko
26d5810b81 Next batch of panel-related fixes. Still wrong.
NOTE: lines which start with `;' should contain calls to not yet
implemented subsystems like Conversation subsystem

svn-id: r16443
2005-01-06 14:02:53 +00:00
Eugene Sandulenko
63be4b6435 o Started putting all panels stuff in order. Still incomplete
o Proper detection for Mac Wyrmkeep CD
o Support for wyrmkeep logos

svn-id: r16415
2005-01-02 20:29:27 +00:00
Torbjörn Andersson
5f6108052e Changed "sizeof x" to "sizeof(x)" for consistency with the rest of ScummVM,
and used ARRAYSIZE() instead in two cases.

svn-id: r16408
2005-01-02 14:52:11 +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
ab4734dcf6 o Fix regression with Mac versions
o Normalize GIDs and GTypes
o Introduce MD5-based game detection. Now only 2 games should be ordered.
  Linux demo should go before Win32 newer demo
o Fix sound in Mac versions

svn-id: r16262
2004-12-22 19:34:41 +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
Eugene Sandulenko
4295a17c23 o Make GAME_GetFileContext() more object-like
o Font::loadFont() now normally survives zero-length fonts as used in demos
o Removed unused SndRes::ITEVOC_Resample()
o Fixed playing of voice #4 on old DOS targets
o Implemented playing voices in VOX (Oki ADPCM) format
o Support of Win32 and Linux demos. There was old-style Win32 demo, which
  is not supported yet, same is with DOS demo.

svn-id: r15814
2004-11-15 03:03:48 +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
bfd0b42700 o Eliminate all structure _tags.
o Fix RSCFile on MSVC8.
 o Started fixing script opcodes.

svn-id: r14686
2004-08-22 18:28:42 +00:00
Eugene Sandulenko
166b05aed4 Fix #include paths.
svn-id: r14443
2004-08-02 16:20:35 +00:00
Eugene Sandulenko
873c886910 Made all MemoryReadStream local variables. This plugged a giantic constant
leakage in the engine.

svn-id: r14427
2004-08-01 23:24:22 +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
Eugene Sandulenko
8de181f4f0 Move from ys_binread.cpp and ys_binwrite.cpp to MemoryReadStream.
In fact there were no binary writes at all.

svn-id: r13773
2004-05-04 03:33:03 +00:00
Paweł Kołodziejski
d46b68d7fe indent
svn-id: r13708
2004-05-01 13:19:15 +00:00
Eugene Sandulenko
1353e2d2dc Move from custom unsigned types to those provided by main config.h
svn-id: r13687
2004-04-30 23:02:23 +00:00
Jonathan Gray
8f8d1967c9 convert the file routines to use the File class
svn-id: r13607
2004-04-23 11:40:51 +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