aboutsummaryrefslogtreecommitdiff
path: root/saga/sfuncs.cpp
AgeCommit message (Collapse)Author
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
2005-01-17Initialize a few variables to fix Valgrind warnings. (I'm hoping they wereTorbjörn Andersson
the reason the ITE intro crashed for me.) I still get read warnings in Sprite::decodeRLEBuffer() though. Also added a couple of hacks to keep the IHNM intro alive. Once we support IHNM actors, we'll be able to remove them. svn-id: r16579
2005-01-16sfPlayMusic() takes two parameters in IHNM. Since our currentTorbjörn Andersson
implementation is only right for ITE, disable it for IHNM for now. svn-id: r16572
2005-01-15some work in progress on verb stuff:Andrew Kurushin
- many structers and fields renamed to proper names - added missing functions svn-id: r16562
2005-01-11- remove game.h & image.hAndrew Kurushin
- all display information of current game goes to SagaEngine - remove GameFontIds - hide SagaEngine _gameId,_gameType & etc with methods getGameId(), getGameType() svn-id: r16545
2005-01-09- GameModule is goneAndrew Kurushin
- structures renamed - SagaEngine class gives all current game descriptions regression : "verb" is broken cause work in progress svn-id: r16511
2005-01-08begining of verb implementationAndrew Kurushin
introduced getObjectName svn-id: r16491
2005-01-07Eliminate _scene->getMode() and use scene flags insteadEugene Sandulenko
svn-id: r16482
2005-01-07o Fix for popped up actors at initial scene fade outEugene Sandulenko
o Stub for new Wyrmkeep demos with substituted scenes o Converted some script func parameters to apropriate types o More panel fixes svn-id: r16472
2005-01-06- implement faceTowards (script function & etc)Andrew Kurushin
- implement debug actor walk path (press f6) svn-id: r16456
2005-01-06Placard functions are now event-driven, so the blocking palette faders areTorbjörn Andersson
no longer needed. svn-id: r16450
2005-01-06Fix actor walking caused by wrong panel stateEugene Sandulenko
svn-id: r16446
2005-01-06Fix warningEugene Sandulenko
svn-id: r16444
2005-01-06Next batch of panel-related fixes. Still wrong.Eugene Sandulenko
NOTE: lines which start with `;' should contain calls to not yet implemented subsystems like Conversation subsystem svn-id: r16443
2005-01-03- script execution stops properlyAndrew Kurushin
- placard should work over way: set Wait flag for thread (as in opSpeak) remove inner loop (processInput...) svn-id: r16418
2005-01-02o Started putting all panels stuff in order. Still incompleteEugene Sandulenko
o Proper detection for Mac Wyrmkeep CD o Support for wyrmkeep logos svn-id: r16415
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398