69 Commits

Author SHA1 Message Date
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
7ae74f3177 added scen resource types dump at debuglevel==10
svn-id: r18605
2005-07-31 12:03:03 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Andrew Kurushin
e175e68b99 resolve scene resources without shift hack
svn-id: r18584
2005-07-25 17:35:35 +00:00
Eugene Sandulenko
e8c1f6d1f1 More IHNM differences
svn-id: r18582
2005-07-25 02:38:43 +00:00
Torbjörn Andersson
f773d76c54 Removed "const" to silence GCC warning. I don't know if GCC was right or
wrong to warn, but it annoyed me.

svn-id: r18581
2005-07-24 17:07:16 +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
c2f1691bad gfx rearangement
code cleanups

svn-id: r18523
2005-07-09 16:23:45 +00:00
Andrew Kurushin
376738bb03 fix final sequence scene height
svn-id: r18518
2005-07-08 18:39:53 +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
Eugene Sandulenko
cdead6d57b - Stripped down unused SURFACE parameter in palette-related functions
- Fixed scenes glitch when loading saved game. This is done by closing
  load window right after game is loaded which differs from original but
  seems more logical to me
- Fixed wrong palette when Dragon maze was loaded from a savegame. We just
  didn't process Palette resource for it.

svn-id: r18494
2005-07-05 15:15:35 +00:00
Andrew Kurushin
c613eaab88 fix animation bug at rats
svn-id: r18416
2005-06-20 11:46:34 +00:00
Torbjörn Andersson
5d84b5afe3 There were cases when an ITE intro credits line could appear in both
English and German at the same time. I've simplified the handling a bit by
splitting the line flags into language and... not-language? platform? since
this was easier than adding another combined flag. Easier to read, anyway.

I've also fixed some other minor things, e.g. "Edward" was shortened to
"Ed" in the WyrmKeep version. Of course, there may be regressions. And
there are some cases where English texts could appear in German versions,
but I don't know if it ever happens for any existing versin of the game.

svn-id: r18334
2005-06-04 12:34:38 +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
284ef431e1 fixed loadsave item resource id
partialy fixed protect rat

svn-id: r18174
2005-05-18 18:28:10 +00:00
Andrew Kurushin
1d31cd1223 fixed give verb
fixed occasional verbs redraw

svn-id: r18113
2005-05-15 17:45:59 +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
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
13e2492b93 some world map fix:
-only riff shows as small point
-change scene from world map
todo: in original  talk_to not shows for riff on world map

svn-id: r17340
2005-04-02 20:04:39 +00:00
Andrew Kurushin
516b1b3748 fixed script params (some fair animals should walk now)
svn-id: r17289
2005-03-29 22:14:20 +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
Andrew Kurushin
aeaf728dc6 partialy implemented all Iso mode resource loading
todo: loadMulti - may be wrong

svn-id: r16670
2005-01-28 19:25:41 +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
c1ce30b0bf - remove ActionMap.h & ActionMap.cpp
svn-id: r16593
2005-01-18 11:59:09 +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
Andrew Kurushin
f9b4b2cd99 actors entry list implemented
test: in ITE type "scene_change 130" at console

svn-id: r16574
2005-01-16 19:06:04 +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
Torbjörn Andersson
b56f4fd2f6 Removed the unused i_cvar_name field from INTRO_DIALOGUE.
svn-id: r16559
2005-01-14 11:05:12 +00:00
Torbjörn Andersson
4870ab61f2 Added helper function to queue the ITE intro dialogue.
svn-id: r16557
2005-01-14 08:02:17 +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
Torbjörn Andersson
e97c689f8b Removed unused stuff.
svn-id: r16553
2005-01-13 18:00:47 +00:00
Eugene Sandulenko
47a38a9da8 o Fixed some indentation
o Now we correctly show Wyrmkeep logo in Mac demos
o Applied patch #1098971 ITE credits

svn-id: r16507
2005-01-09 16:43:57 +00:00
Eugene Sandulenko
c316ab62cf Eliminate _scene->getMode() and use scene flags instead
svn-id: r16482
2005-01-07 22:18:53 +00:00
Eugene Sandulenko
eb76ac619f o Last fixes for panels. Now they work like in original.
o Code formatting in scene.h

svn-id: r16479
2005-01-07 21:13:26 +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
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
Andrew Kurushin
e733d05fef - added setup of followers position at start of scene
svn-id: r16423
2005-01-04 16:10:43 +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
80647dd424 PALETTE_FADE_DURATION -> kNormalFadeDuration
svn-id: r16373
2004-12-29 19:40:59 +00:00
Andrew Kurushin
cc18520fe5 -addition to previous
svn-id: r16364
2004-12-28 21:33:46 +00:00
Andrew Kurushin
2289ea371b - remove old stuff
- work on "walking" in progress

svn-id: r16298
2004-12-24 20:44:39 +00:00
Andrew Kurushin
3f55bee199 - implemented perspective actors calculation
TODO: decodeRLESprite must do scale

svn-id: r16135
2004-12-19 13:38:11 +00:00
Andrew Kurushin
62224e135b - updating actors state so they can be clipped on drawing (intro now runs without artefact)
- order list now uses only in draw section
- drawList rename to drawActors

svn-id: r16122
2004-12-18 20:33:02 +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
e79e0dec74 Reverted some more of yesterday's changes.
svn-id: r15884
2004-11-25 12:54:03 +00:00