aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script.h
AgeCommit message (Collapse)Author
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2010-05-17Some more enforcement of our formatting conventions in KYRA too.Johannes Schickel
svn-id: r49069
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-10-04Some fixes to comply with our coding guidelines.Johannes Schickel
svn-id: r44624
2009-06-12Finally fix build (extra qualifier removed).Nicola Mettifogo
svn-id: r41470
2009-06-12* Adapted Kyra to the new IFFParser interface.Nicola Mettifogo
* Adapted the new IFFParser to Kyra (slightly). The Kyra1 demo on the website works. svn-id: r41468
2009-05-29Formatting.Johannes Schickel
svn-id: r40991
2009-05-17Change workaround to match comment description.Johannes Schickel
svn-id: r40656
2009-05-17LOL: - some opcodes for the swampFlorian Kagerer
- fix last commit (which broke TIM scripts) svn-id: r40654
2009-05-17KYRA1: fix script code (Japanese version of lephole.emc was broken by recent ↵Florian Kagerer
changes in the parser) svn-id: r40651
2009-05-12Change script file loading code to use Common::IFFParser instead of a self ↵Johannes Schickel
written IFF reader. svn-id: r40488
2009-05-12Cleanup.Johannes Schickel
svn-id: r40480
2009-05-12Cleanup.Johannes Schickel
svn-id: r40479
2009-01-18- Fixed bug in script code of LoLJohannes Schickel
- Cleanup svn-id: r35905
2009-01-18LOL: Some drawing code and some opcodes so that the first scene will show ↵Florian Kagerer
up. Playing is not possible. This is still somewhat messy since a lot of stuff hasn't been figured out yet. svn-id: r35903
2008-09-10Cleanup.Johannes Schickel
svn-id: r34481
2008-07-10Added filename to unknown opcode/command warnings of EMC scripts.Johannes Schickel
svn-id: r32988
2008-05-11- Renamed KyraEngine to KyraEngine_v1Johannes Schickel
- kyra.* -> kyra_v1.* - scene.cpp -> scene_v1.cpp svn-id: r32044
2008-04-29- Renamed ScriptInterpreter -> EMCInterpreterJohannes Schickel
- Renamed ScriptState -> EMCState, ScriptData -> EMCData - Removed 'Script' from function names inside EMCInterpreter - Fixed KyraEngine::readSettings and KyraEngine::writeSettings for kyra3 svn-id: r31773
2008-04-20- moved kyra functor code to common/func.hJohannes Schickel
- adapted debugger code to use functor code from common/func.h - adapted kyra engine to use functor code from common/func.h svn-id: r31614
2008-04-17- fixed bug in script interpreter code (could've also affected HoF)Johannes Schickel
- some more Kyra3 code: -> start sequence should show up now partially -> fixed a scene animation related bug -> a few more opcodes svn-id: r31535
2008-03-26- reworked skip flag handling in some places againJohannes Schickel
- hopefully fixed tons of warnings related to stackPosString svn-id: r31253
2008-02-07Reworked Kyrandia resource loading code.Johannes Schickel
svn-id: r30820
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-10-14TIM file loading/unloading for HoFOystein Eftevaag
svn-id: r29217
2007-10-09HoF:Johannes Schickel
- More input handling (should be rather complete now, not finished but nearlly) - Implemented the following opcodes: -> o2_trySceneChange 0x0d -> o2_setHandItem 0x2a -> o2_handItemSet 0x2c -> o2_setCharPalEntry 0x3c -> o2_drawSceneShape 0x3e -> o2_update 0x4b -> o2_fadeScenePal 0x4d -> o2_enterNewSceneEx 0x50 -> o2_setZanthiaPos 0x56 -> o2_runTemporaryScript 0x6e -> o2t_defineNewShape 0x00 -> o2t_setCurrentFrame 0x01 -> o2t_setShapeFlag 0x04 svn-id: r29178
2007-07-29- Kyrandia 1 works againJohannes Schickel
- Added timer class for timer handling - Little bit more resturcturing - A little bit (almost nothing but a start!) Kyrandia 2 support svn-id: r28297
2007-07-08Little renaming.Johannes Schickel
svn-id: r27963
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-05- started to move v1 specific functions to KyraEngine_v1 (just opcodes yet)Johannes Schickel
- reworked script opcode handling svn-id: r26749
2007-04-15More cleanup.Johannes Schickel
svn-id: r26502
2007-04-15cleanup.Johannes Schickel
svn-id: r26499
2007-02-20Another batch of header consistency changes.Torbjörn Andersson
svn-id: r25746
2006-07-27- renaming all opcodes from cmd_* to c1_*Johannes Schickel
- changing ScriptHelper functions so it will be useable for kyra2 and kyra3 too - unbreaking savegames (increasing the VERSION number since the game flags table got resized to be useable for kyra3) svn-id: r23612
2006-07-27- moving KyraEngine_v3 declaration to newly added kyra3.hJohannes Schickel
- implements a little bit init stuff - implements some music handling svn-id: r23610
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582