Commit Graph

111 Commits

Author SHA1 Message Date
Eugene Sandulenko
e5cd51ecd1 Preliminary support for original MAC CD ITE
svn-id: r18598
2005-07-29 19:44:25 +00:00
Eugene Sandulenko
208815a811 Restrict scene substitutes only to demos which actually use them
svn-id: r18597
2005-07-29 18:29:23 +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
0009b36293 If we're not going to detect music "engine" at run-time, then we do need
separate entries for the original Windows CD and the first Wyrmkeep
version. The latter has the "patch" files, which include the standalone
MIDI files.

However, since the data files are otherwise indistinguishable, we also need
to be able to detect multiple versions and let the user to the
disambiguation. I've added that functionality in the simplest way I could
think of, in case we want to revert it later.

svn-id: r18565
2005-07-19 21:15:56 +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
528eedb2de font & text related changes:
-rewritten font loading
-actors box text output implemented
-many fixes
-implemented nonactors textoutput

svn-id: r18542
2005-07-14 17:46:21 +00:00
Andrew Kurushin
150fe60d88 code cleanups
transitionDissolve -> gfx
del sdebug

svn-id: r18524
2005-07-09 17:11:41 +00:00
Andrew Kurushin
c2f1691bad gfx rearangement
code cleanups

svn-id: r18523
2005-07-09 16:23:45 +00:00
Andrew Kurushin
866d3e3db3 remove 1pixel dos clipping
svn-id: r18521
2005-07-09 10:34:09 +00:00
Andrew Kurushin
d944bd7793 implemented per scene actors clipping
so last sequence should look much better (not perfect)

svn-id: r18516
2005-07-08 16:56:03 +00:00
Andrew Kurushin
353e8586d4 fix animation timings (now Shiala scene not stucks)
svn-id: r18463
2005-06-25 15:55:43 +00:00
Andrew Kurushin
6128bb05e3 implements sfScriptClimb, sfThrowActor, sfChangeActorScene
so tunnel may be passed now

svn-id: r18358
2005-06-05 16:53:53 +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
Andrew Kurushin
d1ffc9df2d multiple files save-load implementation
svn-id: r18303
2005-05-31 20:08:46 +00:00
Eugene Sandulenko
b2250cca64 Fix puzzle callback timings. Was mistakingly used millisecs instead of microsecs
svn-id: r18298
2005-05-29 21:00:45 +00:00
Andrew Kurushin
99b9fc7070 implemented DOS version 1 pixel clipping
game options WIP3

svn-id: r18293
2005-05-29 15:39:35 +00:00
Andrew Kurushin
3d1c969377 game options WIP2
svn-id: r18282
2005-05-28 11:06:55 +00:00
Eugene Sandulenko
ca40942959 Puzzle WIP. No visuals yet.
svn-id: r18255
2005-05-26 09:45:15 +00:00
Andrew Kurushin
82b86d495e saveload WIP
svn-id: r18232
2005-05-23 18:53:36 +00:00
Eugene Sandulenko
0ccb1b726b Plug in Puzzle. Now it consists mainly of stubs but neverthless lets skip
the Puzzle and continue game pretending like you completed the Puzzle.

svn-id: r18225
2005-05-23 02:23:34 +00:00
Andrew Kurushin
3b01bef51b fixes some todo (hardcoded resource ids -> customized per game)
preparation for option dialog (wip)

svn-id: r18217
2005-05-22 11:59:22 +00:00
Andrew Kurushin
aedd11b353 add save game chunk
svn-id: r18108
2005-05-15 14:46:13 +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
Andrew Kurushin
a909052c8d fixed object frawing
implemented sfGetObjImage, sfSetObjImage, sfSetObjName

svn-id: r17789
2005-04-24 15:17:38 +00:00
Andrew Kurushin
cdede6caa4 implemented inventory
todo: timeout catchup & capital 'U' & 'D' handling

svn-id: r17748
2005-04-22 14:11:04 +00:00
Eugene Sandulenko
283a9f35ac Add not yet correctly working save/load. Use key F7 for saving
and F8 for loading. Now works only within current scene and restores
to entrance #0 which is wrong.

svn-id: r17726
2005-04-21 01:30:07 +00:00
Andrew Kurushin
d52032c75c converse support improved (still has some bugs)
fixed: now protagonist can't be target object
fixed: statusbar color
added: *mouseButtonPressed in SagaEngine

svn-id: r17672
2005-04-18 20:03:14 +00:00
Torbjörn Andersson
224b2afbf1 Removed system includes.
svn-id: r17413
2005-04-06 12:19:15 +00:00
Andrew Kurushin
3025db0d07 - changescene on fair for tents
- some memory deallocation fixup

todo: fix follower stuckiness in tents

svn-id: r17180
2005-03-18 17:11:37 +00:00
Eugene Sandulenko
ebe40f024e Fix compilation
svn-id: r16605
2005-01-21 23:16:38 +00:00
Andrew Kurushin
58ec0f0aad problems solved:
- Allow more than one script work at once
- Proper implementation of address methods

some opcodes may be broken - cause work in progress
todo: rewrite opcodes with new address functionality

svn-id: r16604
2005-01-21 21:55:54 +00:00
Andrew Kurushin
0ccf59faee partly implemented game objects
svn-id: r16595
2005-01-18 21:13:44 +00:00
Andrew Kurushin
b4b2e52df7 another step in verb implementation:
- objectMap responds to mouse move  (but respond script not run well ?)

loadStrings add some special count check
- so all other LUT based resource should implement this technique

svn-id: r16594
2005-01-18 15:01:21 +00:00
Andrew Kurushin
0b4fd4adbf - merged ActionMap and ObjectMap
- remove ActionMap.h & ActionMap.cpp
- ObjectMap names move to Scene::_sceneStrings as in original engine
- fix wrong StringsTable::stringsCount calculation

svn-id: r16592
2005-01-18 11:55:31 +00:00
Eugene Sandulenko
5200b8f1fa o Proper implementation of sfPlaySound() which knows about CD<->floppy
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-17 18:49:00 +00:00
Andrew Kurushin
fe424ed5ae - added partial scene change by actor's walking (todo:entrance should be supported)
svn-id: r16568
2005-01-15 23:46:43 +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
Eugene Sandulenko
ccacf6f82e o Added support for German ITE. There are also Puzzle-related messages
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-14 01:17:34 +00:00
Andrew Kurushin
326dd0c255 - introduced SagaEngine::getTextString (for i18n it should route to 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-13 22:42:49 +00:00
Torbjörn Andersson
e97c689f8b Removed unused stuff.
svn-id: r16553
2005-01-13 18:00:47 +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
Torbjörn Andersson
4dda4eb31b On Fingolfin's suggestion I put back the inclusion of util.h into Rect, for
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-11 13:25:02 +00:00
Max Horn
5c48717dd2 Remove some more header dependencies
svn-id: r16530
2005-01-10 22:35:43 +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
Andrew Kurushin
9c7a604c8b rename StringsList to StringsTable
svn-id: r16492
2005-01-08 21:06:06 +00:00
Andrew Kurushin
bdb1b1eb1c begining of verb implementation
introduced getObjectName

svn-id: r16491
2005-01-08 20:30:07 +00:00
Eugene Sandulenko
0a89a28e45 o Add reported German IHNM and ITE
o Fix IHNM. It does not have actors now (all actors in IHNM are in resources,
  not hardcoded)

svn-id: r16478
2005-01-07 15:49:47 +00:00
Eugene Sandulenko
dee9b3bd87 o Fix regression with Win32 CD ITE at wyrmkeep logo
o Support for sprites in Mac versions
o Improvements on scene flags
o More code on proper interface modes handling. Just a tiny bit was committed
  as other stuff breaks intro due to incompleteness.

svn-id: r16425
2005-01-04 17:15: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
Max Horn
2664ca7eb1 oops, correct copyright string
svn-id: r16399
2005-01-01 16:20:17 +00:00