aboutsummaryrefslogtreecommitdiff
path: root/saga/script.h
AgeCommit message (Collapse)Author
2005-04-24fixed object frawingAndrew Kurushin
implemented sfGetObjImage, sfSetObjImage, sfSetObjName svn-id: r17789
2005-04-23fixed sfDropObject implementationAndrew Kurushin
svn-id: r17767
2005-04-22o Fix save/load. Now it restores game properly but still at exit #0.Eugene Sandulenko
o Proper background for inset rooms. Crowd is gone now. o Draw black border around inset rooms. svn-id: r17744
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-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 interpreter bug: on opCall now pushes additional data for compatiblyAndrew Kurushin
ps:doors can be opened svn-id: r17350
2005-03-29endScene now aborts all running threads (fixing Okk stuckiness on way out of ↵Andrew Kurushin
tent) svn-id: r17286
2005-03-25fix wrong multitile offset calculationAndrew Kurushin
svn-id: r17230
2005-01-28partialy implemented all Iso mode resource loadingAndrew Kurushin
todo: loadMulti - may be wrong svn-id: r16670
2005-01-28Let IHNM run again. It has 105 script functions.Eugene Sandulenko
svn-id: r16653
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-22all opcodes revisitedAndrew Kurushin
all ITE opcodes supported (now we should go through scriptFunctions) svn-id: r16617
2005-01-22another 19 opcodesAndrew Kurushin
svn-id: r16616
2005-01-22rewritten 15 opcodesAndrew Kurushin
svn-id: r16615
2005-01-22Whitespace and indentation.Torbjörn Andersson
svn-id: r16614
2005-01-21now you can try to:Andrew Kurushin
- talk to someone - look at something svn-id: r16607
2005-01-21Fix compilationEugene Sandulenko
svn-id: r16605
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-19o Made ITEColors enum public in interface.h. Please use them. These colorsEugene Sandulenko
stay in each scene except intro and fade-in/fade-outs. o Implemented status text coloring during work of auxiliary scripts. svn-id: r16598
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-17First batch of converse implementation in scripts. To see it typeEugene Sandulenko
'scene_change 33' in debugger. svn-id: r16588
2005-01-15- added partial scene change by actor's walking (todo:entrance should be ↵Andrew Kurushin
supported) svn-id: r16568
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-13- introduced SagaEngine::getTextString (for i18n it should route to ↵Andrew Kurushin
corresponding string array) - first step in verb implementation: proper button draw, keyboard respond 'w','l' &etc - added comments and some fields to GameDisplayInfo svn-id: r16554
2005-01-08rename StringsList to StringsTableAndrew Kurushin
svn-id: r16492
2005-01-08begining of verb implementationAndrew Kurushin
introduced getObjectName svn-id: r16491
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-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
2004-12-30o COde formattingEugene Sandulenko
o Improved debug output o Do not produce a lot of frameCount < 0 messages o Okk now appears after first scene o implemented yet another animation function o Renamed SF_* -> sf* for functions I know are correct svn-id: r16390
2004-12-30Renamed the "placard" opcode functions. They should be reasonably bug freeTorbjörn Andersson
now. svn-id: r16387
2004-12-29- some work in progressAndrew Kurushin
svn-id: r16375
2004-12-28- many actor walk related functions addedAndrew Kurushin
- implemented script functions for scriptDoors (except iso mode) - introduced getDisplayWidth() getDisplayHeight() getStatusYOffset getPathYOffset() svn-id: r16363
2004-12-28Implement rest of animation-related opcodes.Eugene Sandulenko
svn-id: r16353
2004-12-28o Fixed animation playbackEugene Sandulenko
o Implemented almost all animation opcodes svn-id: r16352
2004-12-25- some "actors walk" work progressionAndrew Kurushin
svn-id: r16308
2004-12-24- remove old stuffAndrew Kurushin
- work on "walking" in progress svn-id: r16298
2004-12-24- opCCall* on debuglevel==9 shows script function nameAndrew Kurushin
svn-id: r16289
2004-12-24- fix of 8 to 4 direction conversionAndrew Kurushin
- added sfSetActorState function svn-id: r16288
2004-12-22- rewriten actors action handling (now uses all original flags etc)Andrew Kurushin
- added some script functions (swapactors...) - many things were renamed according scummvm covention - resource id definintions should begin with "RID_" prefix - intro temporary broken - work in progress todo: - walking hanling also should be rewriten - timings for speech and actor cycling should be more accurate svn-id: r16263