aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script.cpp
AgeCommit message (Collapse)Author
2014-02-18KYRA: Make GPL headers consistent in themselves.Johannes Schickel
2012-02-15JANITORIAL: Fix whitespace in pointer template argTarek Soliman
2011-12-26KYRA: (EOB) - initial code base commitathrxx
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28KYRA: Clean up of header includes.Johannes Schickel
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
2010-05-05Replace KYRA's strncpy and strncat usages by strlcpy/strlcat.Johannes Schickel
svn-id: r48954
2010-03-18Switch from Common::tag2string(foo).c_str() to tag2str(foo)Max Horn
svn-id: r48276
2009-11-24Fix incorrectly placed doxygen comments; replace Common::ID2string by ↵Max Horn
Common::tag2string svn-id: r46127
2009-10-26- Fix some missing initialization warnings from cppcheckJohannes Schickel
- Fix two invalid memory accesses reported by cppcheck svn-id: r45414
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-09-24Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings ↵Filippos Karapetis
and issues in compilers which don't support NORETURN svn-id: r44314
2009-09-24Fixed some more warnings about unreachable codeFilippos Karapetis
svn-id: r44299
2009-07-12Add missing quotation mark to error message.Johannes Schickel
svn-id: r42406
2009-06-12Added missing return statements.Nicola Mettifogo
svn-id: r41473
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-29More formatting.Johannes Schickel
svn-id: r40994
2009-05-29Formatting.Johannes Schickel
svn-id: r40991
2009-05-12Formatting.Johannes Schickel
svn-id: r40490
2009-05-12Add proper error checking in file parsing code.Johannes Schickel
svn-id: r40489
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-12Fix strncpy usage.Johannes Schickel
svn-id: r40482
2009-05-12Cleanup.Johannes Schickel
svn-id: r40480
2009-05-12Cleanup.Johannes Schickel
svn-id: r40479
2009-01-23Renamed Kyra's Resource::getFileStream to createReadStreamMax Horn
svn-id: r36022
2009-01-18- Fixed bug in script code of LoLJohannes Schickel
- Cleanup svn-id: r35905
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-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
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-06-24Added const to some static data.Johannes Schickel
svn-id: r32763
2008-05-11- Renamed KyraEngine to KyraEngine_v1Johannes Schickel
- kyra.* -> kyra_v1.* - scene.cpp -> scene_v1.cpp svn-id: r32044
2008-05-07Changed kyra to use delete[] instead of delete [].Johannes Schickel
svn-id: r31925
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-23Implemented opcodes:Johannes Schickel
- 8: o3_getMalcolmsSpirit - 52: o3_setMalcolmsSpirit - 65: o3_updateConversations - 117: o3_runDialog svn-id: r31664
2008-04-19- reworked tim handlingJohannes Schickel
- moved tim interpreter to new class TIMInterpreter svn-id: r31569
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-04-17- minor cleanup in script.cppJohannes Schickel
- fix for memory leak in Kyra3 - fixed enterNewSceneUnk2 svn-id: r31534
2008-03-16- Impelemented opcode 155: o2_stopSceneAnimationJohannes Schickel
- fixed crash while switching chapters svn-id: r31139
2008-02-17Print instruction offset of script commands for debug output.Johannes Schickel
svn-id: r30895
2008-02-07Reworked Kyrandia resource loading code.Johannes Schickel
svn-id: r30820
2007-12-28Fixes compiling on msvc7.1, it seems like it has problems to decide when to ↵Johannes Schickel
use operator bool. svn-id: r30024
2007-10-14TIM file loading/unloading for HoFOystein Eftevaag
svn-id: r29217
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-15- added PC-98 platform entryJohannes Schickel
- added Kyrandia 1 PC-98 detection entries svn-id: r28907
2007-08-04Fixes compilation error C2677: binary '&&' : no global operator found which ↵Kari Salminen
takes type 'const Kyra::Opcode' (or there is no acceptable conversion) on Windows (VS2003), Xbox (VS2003) and Xbox 360 (VS2005). For some reason the compilers didn't automatically use the operator bool() in the Kyra::Opcode so now doing it explicitly. Thanks to Carch for reporting the compilation problems. svn-id: r28447
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