Commit graph

140 commits

Author SHA1 Message Date
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
51e76c703f Added the puzzle voices from the CD version. I don't know if this breaks
the floppy version, and it's still not flawless. But it's a start.

svn-id: r18544
2005-07-15 15:23:19 +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
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
Torbjörn Andersson
e25587d74b Fixed stopping sounds. I think that at one point our 'param' used to be
unsigned, but it isn't any more.

svn-id: r18504
2005-07-06 17:55:53 +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
de14b2337f Implementation of sfShowMap. This was latest unimplemented script function :)
svn-id: r18487
2005-07-03 20:02:56 +00:00
Andrew Kurushin
13b1802a45 implemented sfPickClimbOutPos, sfTossRif
Komodo dragon now works

svn-id: r18480
2005-07-01 17:29:23 +00:00
Andrew Kurushin
353e8586d4 fix animation timings (now Shiala scene not stucks)
svn-id: r18463
2005-06-25 15:55:43 +00:00
Eugene Sandulenko
75d868743c sfShowControls implementation is NOP
svn-id: r18417
2005-06-20 12:17:22 +00:00
Eugene Sandulenko
ecf8da7230 Implement sfPlayLoopedSound, sfFadeMusic and sfPlayVoice.
sfPlayVoice is untested. Please, inform me where you encounter it.

svn-id: r18412
2005-06-19 21:18:00 +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
7539169c1d fix trothy -> oil lamp
svn-id: r18401
2005-06-16 15:33:44 +00:00
Andrew Kurushin
1e2131d0ee some renames#2
svn-id: r18398
2005-06-15 19:30:11 +00:00
Eugene Sandulenko
4f2cfd5feb Fix crash on chasm.
svn-id: r18383
2005-06-13 13:40:28 +00:00
Andrew Kurushin
dcbd777596 fixed scene entrance
implemented sfEraseDelta, sfSetActorZ, sfGetActorX, sfGetActorY

svn-id: r18380
2005-06-12 21:21:14 +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
Eugene Sandulenko
e1aec42c63 Proper error calls.
svn-id: r18355
2005-06-05 11:32:11 +00:00
Eugene Sandulenko
5ee308e48f Fix long-standing bug with applying one object to another.
svn-id: r18353
2005-06-05 09:26:41 +00:00
Andrew Kurushin
697124a1b9 fixed dog's castle bug
svn-id: r18344
2005-06-04 17:52:37 +00:00
Eugene Sandulenko
2a3227911b Fix bug reported by Marticus with situation when Rif left scene with
converse panel on.

svn-id: r18339
2005-06-04 14:37:52 +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
Eugene Sandulenko
cf9049811e Implement sfSimulSpeech2 which is used in lodge when talking to Sakka.
Fixed sfSimulSpeech(), so it plays voices with CD version.

svn-id: r18212
2005-05-22 01:20:47 +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
Eugene Sandulenko
f7df4797a8 Implement proper quitting. Added quitting to sfScriptGotoScene.
svn-id: r18173
2005-05-18 16:18:00 +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
3386b6cdd1 fixed boar king crush
svn-id: r18067
2005-05-12 09:12:15 +00:00
Torbjörn Andersson
e0e27b0a09 Cleanup
svn-id: r18045
2005-05-11 06:57:58 +00:00
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +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
edad36ee60 fixed sfDropObject implementation
svn-id: r17767
2005-04-23 12:34:35 +00:00
Andrew Kurushin
ca33ec4563 fixes sfEnableZone ( 'house' problem )
svn-id: r17751
2005-04-22 16:41:44 +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
Eugene Sandulenko
769b2fed46 o Unstubbed sfPreDialog -- we have enough code for that
o Started to restore inventory functionality

svn-id: r17666
2005-04-18 10:26:43 +00:00
Eugene Sandulenko
1cce2fd366 Renamed 2 script functions which are correct.
Moved messages about missinf script functions to top level and made
them more visible

svn-id: r17651
2005-04-17 11:53:25 +00:00
Eugene Sandulenko
44acfd9467 Implement sfGetDeltaFrame and sfEnableZone. Fixes freeze when sanctuary
gates open and also used in world map.

Spelling and indentation fixes here and there.

svn-id: r17640
2005-04-16 20:59:24 +00:00
Andrew Kurushin
bffeb58d06 fixed: sprite hittest, speech draws in screen bounds
svn-id: r17635
2005-04-16 16:55:35 +00:00
Andrew Kurushin
f6d87c8689 fixed ram dialog crash
implemented: sfScriptSpecialWalk,sfScriptWalkRelative,sfScriptMoveRelative

svn-id: r17618
2005-04-16 11:03:34 +00:00
Andrew Kurushin
8ea88c95d6 - fixed tile doors drawing
- right mouse action fixed

svn-id: r17347
2005-04-03 15:32:04 +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
cfe44d6053 Apparently, in IHNM opcode #75 can take three parameters. Added stub to
avoid division by zero.

svn-id: r17040
2005-03-08 15:28:01 +00:00
Torbjörn Andersson
189492eef1 Fixed typo.
svn-id: r17039
2005-03-08 15:06:57 +00:00
Eugene Sandulenko
ff8094aad5 Combine actordata.cpp and objectdata.cpp into itedata.cpp. These are
ITE specific and from other hand IHNM has these data in resources.

svn-id: r16662
2005-01-28 12:54:09 +00:00
Eugene Sandulenko
285f6a6a2b Let IHNM run again. It has 105 script functions.
svn-id: r16653
2005-01-28 03:47:12 +00:00