aboutsummaryrefslogtreecommitdiff
path: root/saga/script.cpp
AgeCommit message (Collapse)Author
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2006-01-13implement IHNM verb mapperAndrew Kurushin
svn-id: r20003
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-08Oops, made a typo when rewriting that comment.Torbjörn Andersson
svn-id: r18973
2005-10-08Cleanup.Torbjörn Andersson
svn-id: r18972
2005-10-08_vm->getSceneHeight() --> _vm->_scene->getHeight() and make it return differentEugene Sandulenko
scene height for individual panel modes. svn-id: r18959
2005-08-16Fix bug #1256381 "ITE: Options menu contains wrong item" and gave symbolicEugene Sandulenko
names to text Ids. svn-id: r18699
2005-08-12Fix bug #1257459 "ITE: Game crashes at airport"Eugene Sandulenko
svn-id: r18671
2005-08-11Translate excuse messages and make them work on floppy versions. EarlierEugene Sandulenko
it just crashed there. svn-id: r18659
2005-08-10Rename event types to comply with our standards.Eugene Sandulenko
svn-id: r18647
2005-08-10Rename Actor class members to _members.Eugene Sandulenko
svn-id: r18645
2005-08-10EVENT -> EventEugene Sandulenko
svn-id: r18644
2005-08-09o Fix some game parameters for IHNMEugene Sandulenko
o Load voices LUT for IHNM svn-id: r18640
2005-08-08oops. debug output slipped in.Eugene Sandulenko
svn-id: r18638
2005-08-08Fix bug #1252277 "ITE: Actions not performed under OS X"Eugene Sandulenko
svn-id: r18637
2005-08-08Partially fix bug #1253079 'ITE: Several errors in the "rocky chasm" scene'.Eugene Sandulenko
Argh! why _several_ errors and not one by one? svn-id: r18633
2005-07-29WhitespacesEugene Sandulenko
svn-id: r18595
2005-07-19finally Resource manager rewritten:Andrew Kurushin
-adds patch file support -global _vm removed cleanups svn-id: r18560
2005-07-05Hid most of debug output to deeper levels. We're pretty close to officialEugene Sandulenko
launch so it should be invisible to users. svn-id: r18497
2005-06-10When setting a new verb, clear the "pointer object", i.e. the variable thatTorbjörn Andersson
keeps track of whatever object the pointer is hovering over. This way, the pointer object will be updated but with the new verb applied to it. I was getting tired of having to move the cursor off and on the object whenever I changed verb. This isn't exactly how the original engine did it, but it appears to work. svn-id: r18373
2005-06-08Added IHNM "main strings" resource. It's trial-and-error, so it may be theTorbjörn Andersson
wrong one, but it does contain the verb strings. Unlike IHNM, it does not contain the object names. We'll need to do something about that eventually. svn-id: r18365
2005-05-22fixes some todo (hardcoded resource ids -> customized per game)Andrew Kurushin
preparation for option dialog (wip) svn-id: r18217
2005-05-15fixed give verbAndrew Kurushin
fixed occasional verbs redraw svn-id: r18113
2005-04-22implemented inventoryAndrew Kurushin
todo: timeout catchup & capital 'U' & 'D' handling svn-id: r17748
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-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-09Indentation.Torbjörn Andersson
svn-id: r17048
2005-02-26implemented iso pathfindingAndrew Kurushin
glitches: some tiles draws above figures svn-id: r16935
2005-01-28partialy implemented all Iso mode resource loadingAndrew Kurushin
todo: loadMulti - may be wrong svn-id: r16670
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-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-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-18implemented Sprite::hitTestAndrew Kurushin
Actors & Objects can be hited svn-id: r16596
2005-01-18partly implemented game objectsAndrew Kurushin
svn-id: r16595
2005-01-18another step in verb implementation:Andrew Kurushin
- objectMap responds to mouse move (but respond script not run well ?) loadStrings add some special count check - so all other LUT based resource should implement this technique svn-id: r16594
2005-01-17First batch of converse implementation in scripts. To see it typeEugene Sandulenko
'scene_change 33' in debugger. svn-id: r16588
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-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-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-09Added proper IHNM scripts lut and run scripts, though not much to see.Eugene Sandulenko
svn-id: r16509
2005-01-08begining of verb implementationAndrew Kurushin
introduced getObjectName svn-id: r16491
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-02Changed "sizeof x" to "sizeof(x)" for consistency with the rest of ScummVM,Torbjörn Andersson
and used ARRAYSIZE() instead in two cases. svn-id: r16408
2005-01-02The 'n_voices' field of the voice LUT was never assigned a value. So ifTorbjörn Andersson
anyone heard any voices - I did, except under Valgrind - it was pure luck. svn-id: r16406
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399