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
Eugene Sandulenko
0523480a70
Applied patch #1106775 "SAGA colours". This simplifies code considerably, and
...
moreover getBlack() didn't always work correctly for some reason. If IHNM
uses different colors we will switch to variables, but that could be addressed
later or at least when someone will start to work on it more time than now.
svn-id: r16647
2005-01-27 20:07:04 +00:00
Torbjörn Andersson
8bfbc143a8
The sfRand() script function was slightly wrong
...
Old behaviour: 0 <= random number <= param
Correct behaviour: 0 <= random number < param
svn-id: r16636
2005-01-25 18:16:02 +00:00
Eugene Sandulenko
86dc6a3d85
Another spot of kReplyOnce usage. Thanks to proper memory addressing now
...
it is possible to implement.
svn-id: r16625
2005-01-23 21:52:43 +00:00
Eugene Sandulenko
b646d63dad
Reenable stub for latter demos in sfScriptGotoScene()
...
svn-id: r16623
2005-01-23 17:06:15 +00:00
Max Horn
8f51510dec
Fix warnings
...
svn-id: r16622
2005-01-23 14:30:59 +00:00
Andrew Kurushin
4f68706f3c
implemented sfWaitWalk scriptFunction
...
svn-id: r16619
2005-01-22 21:40:54 +00:00
Andrew Kurushin
01a863414e
- removed returning value from scriptFunctions
...
- implement some scriptFunctions
svn-id: r16618
2005-01-22 19:21:38 +00:00