aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.h
AgeCommit message (Collapse)Author
2009-06-04SCI: Moved MemObject code into a separate source fileMax Horn
svn-id: r41166
2009-06-04SCI: cleanupMax Horn
svn-id: r41165
2009-06-04SCI: Renamed various debug related global variables to have a g_ prefix; and ↵Max Horn
moved any 'extern' decls of them into a new header file svn-id: r41163
2009-06-02Removed the gfxw_new_visual and gfxw_new_port wrappers, moved _kfuncTable ↵Filippos Karapetis
inside the Kernel class and moved gfxw_find_port inside the GfxVisual struct svn-id: r41125
2009-05-31Removed script_error_flag and script_debug_flag, which were used to error ↵Filippos Karapetis
out if something went wrong and open the debugger console. Changed all the places where they were used to error() out instead, as ScummVM's debugger console can open on error() svn-id: r41073
2009-05-31- Further objectification of the SCI vocabulary functionsFilippos Karapetis
- Rewrote the sci_opcodes enum so that it's easier to read - Made the engine error out if data is sent to an invalid selector (which is a fatal condition) svn-id: r41069
2009-05-31More objectification of the Vocabulary functionsFilippos Karapetis
svn-id: r41057
2009-05-30- Removed debug_mode from the engine stateFilippos Karapetis
- Turned all SCIkwarn and SCIkdebug functions to ScummVM's debugC function - Placed some debug code in appropriate defines: DEBUG_PARSER, DEBUG_AVOIDPATH and DEBUG_SOUND - Removed the "debuglog" command and the "script_checkloads_flag" and "sci_debug_flags" variables svn-id: r41033
2009-05-28SCI: Fix potential dangling pointer more robustly,Willem Jan Palenstijn
by changing the executionStack implementation to a list. svn-id: r40971
2009-05-19SCI: Some debugger fixes and cleanup.Walter van Niftrik
svn-id: r40732
2009-05-19SCI: Doxygenified a few commentsMax Horn
svn-id: r40720
2009-05-19SCI: Introduce a new subclass StringFrag of MemObject (does nothing right ↵Max Horn
now); switched MemObject to subclass Common::Serializable svn-id: r40714
2009-05-18SCI: Got rid of EngineState::execution_stack_pos; overally, the resulting ↵Max Horn
code should be even stricter in detecting invalid VM stack access (and some bugs when loading saves might be fixed now...) svn-id: r40694
2009-05-18SCI: Removed ENTRY_IS_VALID macroMax Horn
svn-id: r40690
2009-05-18SCI: Fixed Table::initTable to invoke _table.clear()Max Horn
svn-id: r40687
2009-05-18SCI: Replaced SegManager::getHeap() by Script::getHeap()Max Horn
svn-id: r40683
2009-05-15SCI: Turned several script related SegManager methods into Script methodsMax Horn
svn-id: r40597
2009-05-15Simplified SCI versions to be SCI version generations, and fixed some game ↵Filippos Karapetis
entries in the process. Also, added a sanity check for invalid game entries svn-id: r40596
2009-05-14SCI: A provisional fix for the "invalid selector" problem in KQ6 and otherWalter van Niftrik
SCI1.1 games. svn-id: r40575
2009-05-14- Replaced SCI_VERSION_FTU_LOFS_ABSOLUTE with the GF_SCI1_LOFSABSOLUTE game flagFilippos Karapetis
- Moved the version defines outside of versions.h svn-id: r40559
2009-05-13- Simplified SCI version detection a bit and clarified the different version ↵Filippos Karapetis
feature flags (not used yet) - Removed the version verification functions (they were only used for two specific cases, but the SCI executable reader is able to detect the exact SCI game version anyway, so there is no point in having these) - Removed the empty GameFlags structure and replaced it with a 32-bit integer instead svn-id: r40524
2009-05-12SCI: Changed object / script local vars storage to use a Common::ArrayMax Horn
svn-id: r40515
2009-05-11SCI: Simplified the Table class, by making it use an Common::Array ↵Max Horn
internally. Increased savegame version, breaking compatibility to the previous one -- sorry for that, but some of my previous changes accidentally messed up the table syncing, resulting in messed up savegames anyway; these breakages should be fixed with this commit svn-id: r40453
2009-05-10SCI: Replaced Cplain odeBlock array in class Script by a ↵Max Horn
Common::Array<CodeBlock> svn-id: r40433
2009-05-10SCI: Changed object list in Script instances to use Common:::ArrayMax Horn
svn-id: r40431
2009-05-08SCI: Moved findCanonicAddress from SegInterface to MemObjectMax Horn
svn-id: r40376
2009-05-08SCI: Moved freeAtAddress from SegInterface to MemObjectMax Horn
svn-id: r40375
2009-05-08SCI: Renamed dstack_t -> DataStack; removed obsolete KF_OLD constantMax Horn
svn-id: r40374
2009-05-08SCI: Started to merge SegInterface into MemObjectMax Horn
svn-id: r40373
2009-05-04This should fix linking on PSP.Johannes Schickel
svn-id: r40310
2009-05-04SCI: Got rid of heapmgr.h; further improve the Table codeMax Horn
svn-id: r40308
2009-05-04SCI: Unified serializing code for Table subclasses, using template ↵Max Horn
specialization. This whole syncWithSerializer / DefaultSyncer / ArraySyncer code is experimental work in progress ;) svn-id: r40306
2009-05-04SCI: Fixed savestate loadingMax Horn
svn-id: r40305
2009-05-04SCI: Added doxygen comment to MemObject::MemObjectMax Horn
svn-id: r40303
2009-05-03SCI: Started adding methods to MemObject subclasses: constructors, ↵Max Horn
destructors, dereference() (and currently commented out refs to Common::Serializable svn-id: r40295
2009-05-03SCI: Completed transition from MemObject (a union of various structs) to ↵Max Horn
MemObjectNEW (a baseclass for these structs) svn-id: r40294
2009-05-03SCI: Begun conversion of the MemObject union (used to implement poor man's ↵Max Horn
fake inheritance) into a base class of all the various union members svn-id: r40272
2009-05-03SCI: Renamed MemObject::type and ::segmgr_id to _type resp. _segmgrId, and ↵Max Horn
added accessor methods getType() and getSegMgrId() svn-id: r40271
2009-05-03SCI: Doxygenified various commentsMax Horn
svn-id: r40266
2009-05-03SCI: Removed MEM_OBJ_RESERVED and related codeMax Horn
svn-id: r40265
2009-04-28SCI: Improved the Table template a bit by taking advantage of C++ featuresMax Horn
svn-id: r40190
2009-04-28SCI: Further restructured the SegManager heap tablesMax Horn
svn-id: r40184
2009-04-28SCI: Removed the evil macros in engine/heapmgr.h, by manually instantiating ↵Max Horn
them where used (this enables us to further modify the code later one) svn-id: r40183
2009-04-25SCI: DoSync should work now, but the lip-syncing mechanism also needs DoAudioWalter van Niftrik
(currently stubbed), so it hasn't been tested yet. so it hasn't been tested yet. svn-id: r40147
2009-04-24SCI: Some const corrections, removed dead stuff, cleanupMax Horn
svn-id: r40101
2009-04-22SCI: Changed knames (kernel function name table) to Common::StringListMax Horn
svn-id: r40078
2009-04-18Retreive -> retrieveWillem Jan Palenstijn
svn-id: r39996
2009-03-10String fragments supportLars Skovlund
WIP: No regressions in this part, I hope svn-id: r39297
2009-03-07Replaced getInt16, getUInt16 and putInt16Filippos Karapetis
svn-id: r39189
2009-02-28SCI: Renamed some kernel types and general cleanupJordi Vilalta Prat
svn-id: r38961