Commit graph

131 commits

Author SHA1 Message Date
Eugene Sandulenko
e85519624d Fix status text color in scene substitute
svn-id: r18596
2005-07-29 18:00:40 +00:00
Eugene Sandulenko
ec4f7d3d7c Whitespaces
svn-id: r18595
2005-07-29 17:58:00 +00:00
Andrew Kurushin
2efc7edb1a fix setStatusText
svn-id: r18593
2005-07-29 17:42:33 +00:00
Eugene Sandulenko
c2882ce681 Fixe screen position of scene substitute text
svn-id: r18592
2005-07-29 17:37:55 +00:00
Eugene Sandulenko
defae9e76a Render substitute scene title and description.
svn-id: r18591
2005-07-29 17:26:47 +00:00
Eugene Sandulenko
1a1db4611a Show scene substitute image for demo versions of ITE.
svn-id: r18589
2005-07-29 16:37:06 +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
830cc9c9b8 Fixed regression that broke IHNM intro animation.
svn-id: r18580
2005-07-24 17:04:15 +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
866d3e3db3 remove 1pixel dos clipping
svn-id: r18521
2005-07-09 10:34:09 +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
Andrew Kurushin
8294d21739 fix end sequence - show inventory bug during converse
svn-id: r18503
2005-07-06 17:51:41 +00:00
Eugene Sandulenko
57858a8757 Hid most of debug output to deeper levels. We're pretty close to official
launch so it should be invisible to users.

svn-id: r18497
2005-07-05 16:58:36 +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
Torbjörn Andersson
399bd16ab1 Apparently some masks are bigger than the image they are supposed to be
masking, and therefore need to be clipped. This fixes a slight glitch in the
ITE intro where an actor is drawn partly in the status text field.

svn-id: r18490
2005-07-04 07:46:48 +00:00
Andrew Kurushin
c613eaab88 fix animation bug at rats
svn-id: r18416
2005-06-20 11:46:34 +00:00
Andrew Kurushin
97337c4623 implemented sfGetNumber
now use MagicHat (be carefull not to exceed overall scene number)

svn-id: r18410
2005-06-19 14:06:20 +00:00
Andrew Kurushin
b16a3634bf placard workaround
svn-id: r18402
2005-06-16 16:46:50 +00:00
Andrew Kurushin
d9a38f6f55 rewritten animation loading
removed animation warnings during game process

svn-id: r18377
2005-06-11 17:24:06 +00:00
Andrew Kurushin
d3587c3a1e fixed lense creation bug ( fade in/out now has separate flag)
svn-id: r18340
2005-06-04 15:02:17 +00:00
Eugene Sandulenko
8a835899fb Implement game load with '-x' comman-line parameter.
Fix couple valgrind and compiler warnings.

svn-id: r18313
2005-06-02 22:14:57 +00:00
Andrew Kurushin
e5ab68c0db fix start clipping issue
svn-id: r18300
2005-05-30 16:40:50 +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
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
59f6002b03 Fixed warning. (Unused variables.)
svn-id: r17790
2005-04-24 15:35:03 +00:00
Andrew Kurushin
a909052c8d fixed object frawing
implemented sfGetObjImage, sfSetObjImage, sfSetObjName

svn-id: r17789
2005-04-24 15:17:38 +00:00
Torbjörn Andersson
78b340adfb Whitespace
svn-id: r17771
2005-04-23 14:15:00 +00:00
Eugene Sandulenko
65ade039ec o Fix save/load. Now it restores game properly but still at exit #0.
o Proper background for inset rooms. Crowd is gone now.
o Draw black border around inset rooms.

svn-id: r17744
2005-04-22 01:38:27 +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
89c0e7a69c fixed actors bug after all demo passed
svn-id: r17717
2005-04-20 19:38:04 +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
1b4b92c0f5 endScene now aborts all running threads (fixing Okk stuckiness on way out of tent)
svn-id: r17286
2005-03-29 17:54:53 +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
Torbjörn Andersson
4f01f5e6e9 I'm not quite sure if this is the correct fix, but by not calling
updateActorsScene() when _sceneNumber is -1 we avoid followers going into
that scene and being drawn (as garbage) early during the ITE intro. (Look
in the upper left corner -- that's where the garbage appeared for me.)

svn-id: r16895
2005-02-24 08:03:47 +00:00
Andrew Kurushin
bbbd3b5fbf iso mode drawing work in progress
svn-id: r16802
2005-02-18 00:00:00 +00:00
Andrew Kurushin
ea78766c46 first step in ISO mode implementation - trying to draw iso scene
svn-id: r16763
2005-02-09 20:30:45 +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
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
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
a230f60694 - some fix to previous
svn-id: r16575
2005-01-16 19:43:28 +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