aboutsummaryrefslogtreecommitdiff
path: root/saga/sfuncs.cpp
AgeCommit message (Collapse)Author
2005-06-20sfShowControls implementation is NOPEugene Sandulenko
svn-id: r18417
2005-06-19Implement sfPlayLoopedSound, sfFadeMusic and sfPlayVoice.Eugene Sandulenko
sfPlayVoice is untested. Please, inform me where you encounter it. svn-id: r18412
2005-06-19implemented sfGetNumberAndrew Kurushin
now use MagicHat (be carefull not to exceed overall scene number) svn-id: r18410
2005-06-16fix trothy -> oil lampAndrew Kurushin
svn-id: r18401
2005-06-15some renames#2Andrew Kurushin
svn-id: r18398
2005-06-13Fix crash on chasm.Eugene Sandulenko
svn-id: r18383
2005-06-12fixed scene entranceAndrew Kurushin
implemented sfEraseDelta, sfSetActorZ, sfGetActorX, sfGetActorY svn-id: r18380
2005-06-05implements sfScriptClimb, sfThrowActor, sfChangeActorSceneAndrew Kurushin
so tunnel may be passed now svn-id: r18358
2005-06-05Proper error calls.Eugene Sandulenko
svn-id: r18355
2005-06-05Fix long-standing bug with applying one object to another.Eugene Sandulenko
svn-id: r18353
2005-06-04fixed dog's castle bugAndrew Kurushin
svn-id: r18344
2005-06-04Fix bug reported by Marticus with situation when Rif left scene withEugene Sandulenko
converse panel on. svn-id: r18339
2005-05-23Plug in Puzzle. Now it consists mainly of stubs but neverthless lets skipEugene Sandulenko
the Puzzle and continue game pretending like you completed the Puzzle. svn-id: r18225
2005-05-22fixes some todo (hardcoded resource ids -> customized per game)Andrew Kurushin
preparation for option dialog (wip) svn-id: r18217
2005-05-22Implement sfSimulSpeech2 which is used in lodge when talking to Sakka.Eugene Sandulenko
Fixed sfSimulSpeech(), so it plays voices with CD version. svn-id: r18212
2005-05-18fixed loadsave item resource idAndrew Kurushin
partialy fixed protect rat svn-id: r18174
2005-05-18Implement proper quitting. Added quitting to sfScriptGotoScene.Eugene Sandulenko
svn-id: r18173
2005-05-15fixed give verbAndrew Kurushin
fixed occasional verbs redraw svn-id: r18113
2005-05-12fixed boar king crushAndrew Kurushin
svn-id: r18067
2005-05-11CleanupTorbjörn Andersson
svn-id: r18045
2005-05-08Comply to our coding conventionsMax Horn
svn-id: r17975
2005-05-08fixed sfSceneEq bugAndrew Kurushin
fixed load actors entrance removed some orphans svn-id: r17964
2005-04-24fixed object frawingAndrew Kurushin
implemented sfGetObjImage, sfSetObjImage, sfSetObjName svn-id: r17789
2005-04-23fixed sfDropObject implementationAndrew Kurushin
svn-id: r17767
2005-04-22fixes sfEnableZone ( 'house' problem )Andrew Kurushin
svn-id: r17751
2005-04-22implemented inventoryAndrew Kurushin
todo: timeout catchup & capital 'U' & 'D' handling svn-id: r17748
2005-04-21Add not yet correctly working save/load. Use key F7 for savingEugene Sandulenko
and F8 for loading. Now works only within current scene and restores to entrance #0 which is wrong. svn-id: r17726
2005-04-18converse support improved (still has some bugs)Andrew Kurushin
fixed: now protagonist can't be target object fixed: statusbar color added: *mouseButtonPressed in SagaEngine svn-id: r17672
2005-04-18o Unstubbed sfPreDialog -- we have enough code for thatEugene Sandulenko
o Started to restore inventory functionality svn-id: r17666
2005-04-17Renamed 2 script functions which are correct.Eugene Sandulenko
Moved messages about missinf script functions to top level and made them more visible svn-id: r17651
2005-04-16Implement sfGetDeltaFrame and sfEnableZone. Fixes freeze when sanctuaryEugene Sandulenko
gates open and also used in world map. Spelling and indentation fixes here and there. svn-id: r17640
2005-04-16fixed: sprite hittest, speech draws in screen boundsAndrew Kurushin
svn-id: r17635
2005-04-16fixed ram dialog crashAndrew Kurushin
implemented: sfScriptSpecialWalk,sfScriptWalkRelative,sfScriptMoveRelative svn-id: r17618
2005-04-03- fixed tile doors drawingAndrew Kurushin
- right mouse action fixed svn-id: r17347
2005-03-18- changescene on fair for tentsAndrew Kurushin
- some memory deallocation fixup todo: fix follower stuckiness in tents svn-id: r17180
2005-03-08Apparently, in IHNM opcode #75 can take three parameters. Added stub toTorbjörn Andersson
avoid division by zero. svn-id: r17040
2005-03-08Fixed typo.Torbjörn Andersson
svn-id: r17039
2005-01-28Combine actordata.cpp and objectdata.cpp into itedata.cpp. These areEugene Sandulenko
ITE specific and from other hand IHNM has these data in resources. svn-id: r16662
2005-01-28Let IHNM run again. It has 105 script functions.Eugene Sandulenko
svn-id: r16653
2005-01-27Applied patch #1106775 "SAGA colours". This simplifies code considerably, andEugene Sandulenko
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-25The sfRand() script function was slightly wrongTorbjörn Andersson
Old behaviour: 0 <= random number <= param Correct behaviour: 0 <= random number < param svn-id: r16636
2005-01-23Another spot of kReplyOnce usage. Thanks to proper memory addressing nowEugene Sandulenko
it is possible to implement. svn-id: r16625
2005-01-23Reenable stub for latter demos in sfScriptGotoScene()Eugene Sandulenko
svn-id: r16623
2005-01-23Fix warningsMax Horn
svn-id: r16622
2005-01-22implemented sfWaitWalk scriptFunctionAndrew Kurushin
svn-id: r16619
2005-01-22- removed returning value from scriptFunctionsAndrew Kurushin
- implement some scriptFunctions svn-id: r16618
2005-01-21problems solved:Andrew Kurushin
- 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-18partly implemented game objectsAndrew Kurushin
svn-id: r16595
2005-01-17Now it is possible to lead a conversation with use of keys (1-4).Eugene Sandulenko
Things which are missing: (a) mouse support due to incomplete interface implementation (b) arrows do not pop up by same reason mentioned above (c) scrolling does not work (d) kReplyOnce flag is missing due to wrong threads memory implementation svn-id: r16589
2005-01-17o Proper implementation of sfPlaySound() which knows about CD<->floppyEugene Sandulenko
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