aboutsummaryrefslogtreecommitdiff
path: root/engines/made/script.cpp
AgeCommit message (Collapse)Author
2009-01-25Added some unused opcodes in RodneyFilippos Karapetis
svn-id: r36057
2009-01-17Make sure that "quit" events are handled immediately. This fixes a warning - orTorbjörn Andersson
possibly worse - about an invalid opcode when quitting the game. svn-id: r35879
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-15- Implemented cmd_restart (for the restart functionality in Return to Zork)Benjamin Haisch
svn-id: r35378
2008-11-07Implemented RTL supportBenjamin Haisch
svn-id: r34933
2008-10-04- Declared all stack functions as inlineBenjamin Haisch
- Sleep some ms after 500 opcodes to reduce CPU load - Fixed odd bug in LGoP2 where text disappeared quickly without waiting for user input by returning 0x38 in sfShowPage svn-id: r34746
2008-06-12Updated script dumper to show opcode offset.Benjamin Haisch
svn-id: r32668
2008-05-21- Moved event polling from sfPollEvent to runScriptBenjamin Haisch
- LGOP2: Fixed problem where Barth's gun was drawn at the wrong position svn-id: r32205
2008-05-21Removed obsolete comment and code in ScriptInterpreter::dumpScriptBenjamin Haisch
svn-id: r32204
2008-05-20- Implemented "stand-alone" script dumper/disassembler; it can be enabled by ↵Benjamin Haisch
defining DUMP_SCRIPTS in script.h and starting with at least debug level 1. - Commented which script opcodes and extended functions are actually used or not. svn-id: r32202
2008-05-20Some updates to the script dumperFilippos Karapetis
svn-id: r32200
2008-05-18Rewrote the MADE script dumper, hopefully in a more efficient wayFilippos Karapetis
svn-id: r32167
2008-05-17Slight cleanup and small bugfix for dumpScript()'s cmd_callFilippos Karapetis
svn-id: r32151
2008-05-17Initial incomplete version of a MADE script dumperFilippos Karapetis
svn-id: r32150
2008-05-14Merged the three ScriptFunctionsXXX classes into ScriptFunctionsBenjamin Haisch
svn-id: r32105
2008-05-13Implemented savegame saving/loading for LGOP2.Benjamin Haisch
svn-id: r32081
2008-05-07- cmd_return now exits the game if it returns from the main functionBenjamin Haisch
- Implemented cmd_exit - PmvPlayer now exits "more gracefully" when the application is closed while playing svn-id: r31930
2008-05-06Silencing two signess compiler warningsSven Hesse
svn-id: r31897
2008-05-06- The Manhole: New and Enhanced is now (partially) playableBenjamin Haisch
- Implemented cmd_objectp - Changed how the script externals array is set up - Cleanup svn-id: r31895
2008-05-05- Renamed XmidiResource to GenericResourceBenjamin Haisch
- Added MIDI resource type - Added ScriptFunctionsLgop2 and ScriptFunctionsMhne (for Leather Goddesses of Phobos 2 and The Manhole: New and Enhanced, resp.) - Many changes for LGOP2 and The Manhole: N&E Note about the new ScriptFunctions classes: I copied the ScriptFunctionsRtz class and so duplicated a lot of code. Most of the opcode functions are the same in all games but there might be differences. Once all common opcode functions have been figured out, they'll be moved to a common place (like the ScriptFunctions class). svn-id: r31871
2008-04-29Turned printf into warning.Benjamin Haisch
svn-id: r31780
2008-04-25Fixed cmd_rand and cmd_randomize and some cleanup.Benjamin Haisch
svn-id: r31718
2008-04-25Implemented cmd_rand() and cmd_randomize()Filippos Karapetis
svn-id: r31714
2008-04-24Unimplemented commands and opcodes throw a warning nowFilippos Karapetis
svn-id: r31693
2008-04-23Fixed palette issues when showing the inventory and the menu.Benjamin Haisch
Moved drawing code from drawFlex/drawAnimFrame to drawSurface. Implemented opcodes: - o1_VISUALFX - o1_SCREENLOCK - o1_SETTIMER - o1_SETGROUND - o1_SETCLIP - o1_SETEXCLUDE svn-id: r31675
2008-04-20Changed spaces to tabs.Torbjörn Andersson
svn-id: r31610
2008-04-20Initial import of the work in progress MADE engineFilippos Karapetis
svn-id: r31599