aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/scripts.cpp
AgeCommit message (Collapse)Author
2011-05-17LURE: Rename method random() -> getRandom()Max Horn
Also get rid of a slight bias for 0 in the random numbers (it was selected twice as often as any other number).
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-10-02LURE: Partial fix for #3008511 Goewin getting stuckPaul Gilbert
This workaround prevents the Weregate from closing whilst Goewin is still within it svn-id: r52971
2010-08-25LURE: Workaround for bug #3047234 in English EGA versionPaul Gilbert
svn-id: r52378
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-09-24Reverted my commit #44290 - apparently, it was a bad idea, as g_engine is a hackFilippos Karapetis
svn-id: r44311
2009-09-24Changed some references from LureEngine to the global g_engine (e.g. calls ↵Filippos Karapetis
to shouldQuit()), to minimize places where LureEngine is referenced svn-id: r44290
2009-08-24Switched LURE to use a single central RandomSource instance, instead of ↵Johannes Schickel
(sometimes) creating a new RandomSource every function call. svn-id: r43715
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2008-11-16Fixed various g++ warnings ("format not a string literal and no format ↵Johannes Schickel
arguments"). svn-id: r35096
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-07-10Lure works with the new GMM implementationChristopher Page
svn-id: r32996
2008-06-25Kyra and Lure are now using the new _quit flagChristopher Page
svn-id: r32772
2008-04-19Added a debugger command 'script' to allow execution of script engine methodsPaul Gilbert
svn-id: r31568
2008-04-02Changed spaces to tabs.Torbjörn Andersson
svn-id: r31362
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-22Bugfix for transformation sparkle to finish if the player changes room ↵Paul Gilbert
partway through animation svn-id: r30609
2008-01-16Added code fragment to correctly set the walk to position for Goewin (for ↵Paul Gilbert
interacting with her) both when she's in the Apothecary and when she's out walking svn-id: r30515
2008-01-10Corrected the name of script method #39 which closes the town hall doorPaul Gilbert
svn-id: r30371
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-12-16An element was missing in the initialisation of sounds during the endgameTorbjörn Andersson
sequence. It seems to correspond to the original's end_seq_data, so this should be the correct value. I hope. svn-id: r29877
2007-12-16Hooked up the sound code to use the configuration for sfx and music, and ↵Paul Gilbert
added code from the original game that used the high bit of sounds to distinguish between the two svn-id: r29873
2007-12-02Bugfix to make any animation the player is doing uninterruptablePaul Gilbert
svn-id: r29690
2007-11-18Added sounds to endgame animation sequencePaul Gilbert
svn-id: r29548
2007-11-15Fixes to parameters of script methodsPaul Gilbert
svn-id: r29508
2007-11-10Expanded talk routines so that characters now properly stand still only when ↵Paul Gilbert
they're meant to svn-id: r29471
2007-11-07Bugfix for NPC conversations so they'll only stand still when they should, ↵Paul Gilbert
and pause correctly during scripted animations svn-id: r29445
2007-10-24Changed startSpeakingToNoone to pause the speaking characterPaul Gilbert
svn-id: r29252
2007-09-23Converted fields in data that were originally offsets (such as tick proc ↵Paul Gilbert
offsets) to use indexes, allowing for more generic handling of different language versions svn-id: r29073
2007-09-19Modified patch #1738058: "Action recorder".Eugene Sandulenko
svn-id: r28968
2007-09-16Initial sound implementationPaul Gilbert
svn-id: r28917
2007-09-08Fixed code formatting (hanging braces); added static/const keywords to data ↵Max Horn
tables; merged Hotspot::doLookAt and doLookThrough code svn-id: r28880
2007-08-25Fixed up several sound system script methodsPaul Gilbert
svn-id: r28712
2007-08-12Remove left over debug ocde.Travis Howell
svn-id: r28555
2007-08-12Added missing calls to the sound systemPaul Gilbert
svn-id: r28549
2007-06-22Implemented remaining script methodsPaul Gilbert
svn-id: r27605
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-28Implemented new script methodsPaul Gilbert
svn-id: r26992
2007-05-25Bugfix to save whether each NPC has been identified, and correctly transform ↵Paul Gilbert
back from Selena svn-id: r26935
2007-04-30Cleaned up the script engine opcodes, added debug names for recently added ↵Paul Gilbert
script methods, and bugfix to method that was causing a crash in the first room svn-id: r26681
2007-04-29Reworked hotspot actions so that talking to characters work properlyPaul Gilbert
svn-id: r26675
2007-04-22General bugfixes, added animation handlers for creating potion and freeing ↵Paul Gilbert
Goewin, and in-progress work on completing original game's action precheck code svn-id: r26572
2007-04-15Added new script methodsPaul Gilbert
svn-id: r26485
2007-04-14Gave proper names to previously unknown/partially-known constantsPaul Gilbert
svn-id: r26467
2007-04-14Added script method for barmen serving playerPaul Gilbert
svn-id: r26463
2007-04-01Bugfix to correctly remove an item from a character's inventory when it is ↵Paul Gilbert
deactivated svn-id: r26338
2007-02-17Added some asserts to setSupportData method to ensure the passed variables ↵Paul Gilbert
are valid svn-id: r25647
2007-02-09Improved character blocked/bumped handlingPaul Gilbert
svn-id: r25440