aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
AgeCommit message (Collapse)Author
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: Hook FreeSCI console commands into the ScummVM console (incomplete as ↵Max Horn
of now, because printf output is not yet redirect to the GUI console) svn-id: r40459
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: Changed object list in Script instances to use Common:::ArrayMax Horn
svn-id: r40431
2009-05-06SCI: Added operator== and !=, as well as an isNull method to reg_tMax Horn
svn-id: r40356
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: Changed SegManager to store the heap pointers in a Common::ArrrayMax Horn
svn-id: r40293
2009-05-03SCI: Continue transition from MemObject to MemObjectNEWMax Horn
svn-id: r40274
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: Changed various params of type MemObject* to the more specific type Script&Max Horn
svn-id: r40269
2009-05-03SCI: Added SegManager::getScript method and modified code to make use of it; ↵Max Horn
moved VERIFY from seg_manager.h to seg_manager.cpp svn-id: r40268
2009-04-28SCI: Improved the Table template a bit by taking advantage of C++ featuresMax Horn
svn-id: r40190
2009-04-28SCI: Renamed execution_stack -> _executionStack and turned it into a ↵Max Horn
Common::Array svn-id: r40182
2009-04-27SCI: Turned classtable into a Common::Array<Class>Max Horn
svn-id: r40161
2009-04-22SCI: Changed kfunct_table to a Common::ArrayMax Horn
svn-id: r40080
2009-04-20SCI: Renamed global array 'formats' to the slightly more descriptive ↵Max Horn
g_opcode_formats svn-id: r40031
2009-04-11SCI: Renamed bp_flag -> breakpointFlag; replaced global send_calls_allocated ↵Max Horn
& send_calls vars by a local Common::Stack instance svn-id: r39930
2009-03-24SCI: Changed some char* into Common::StringMax Horn
svn-id: r39663
2009-03-12SCI: cleanupMax Horn
svn-id: r39353
2009-03-12SCI: Removed most uses of the 'inline' keyword. It is usually better to let ↵Max Horn
the compiler figure out what to inline. As it is, most of these looked as if they were randomly placed ;) svn-id: r39352
2009-03-07Replaced getInt16, getUInt16 and putInt16Filippos Karapetis
svn-id: r39189
2009-03-01SCI: Renamed some sfx header filesMax Horn
svn-id: r39006
2009-02-28SCI: Use the ResourceType enum instead of integers where it makes senseJordi Vilalta Prat
svn-id: r38988
2009-02-28resource_t struct replaced with stub Resource class for future objectifying. ↵Greg Frieger
Also the crash when exiting SCI1 games was fixed svn-id: r38982
2009-02-28Turned ResourceManager into a class, along with all related functionsGreg Frieger
svn-id: r38978
2009-02-28clean up some warningsAndre Heider
svn-id: r38965
2009-02-28SCI: Renamed some kernel types and general cleanupJordi Vilalta Prat
svn-id: r38961
2009-02-27SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp ↵Max Horn
file with the EngineState constructor svn-id: r38921
2009-02-27SCI: Moved almost all files from include/ to other dirs; only ↵Max Horn
include/engine.h remains svn-id: r38920
2009-02-26Reset successor variable after use.Willem Jan Palenstijn
This fixes a crash in SQ3 after reloading followed by restarting. svn-id: r38918
2009-02-24SCI: Don't #include headers in other headers if a forward declaration of a ↵Max Horn
few types suffices (reduces header interdependencies) svn-id: r38872
2009-02-24Fix a valgrind warning (free -> delete)Jordi Vilalta Prat
svn-id: r38864
2009-02-24Fix some warnings.Johannes Schickel
svn-id: r38840
2009-02-24SCI: Moved kernel.h and kdebug.h from include/ to engine/; untangled header ↵Max Horn
deps some more svn-id: r38833
2009-02-23SCI: Changed selector name table to a Common::StringListMax Horn
svn-id: r38805
2009-02-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783
2009-02-21SCI: Convert the segment manager into a classJordi Vilalta Prat
svn-id: r38767
2009-02-21SCI: Changed typedef struct -> structMax Horn
svn-id: r38752
2009-02-21SCI: Removed setjmp codeMax Horn
svn-id: r38747
2009-02-21SCI: Got rid of include/scitypes.hMax Horn
svn-id: r38746
2009-02-21SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header filesMax Horn
svn-id: r38735
2009-02-21OopsFilippos Karapetis
svn-id: r38717
2009-02-21Turned back all fprintf/exit(1) bits into error()Filippos Karapetis
svn-id: r38716
2009-02-21revert large parts of r38621. error() is for fatal errors and does not ↵Willem Jan Palenstijn
return. warning() is not for debugging status messages. svn-id: r38696
2009-02-21Replaced "typedef struct _seg_manager_t seg_manager_t" with "struct SegManager"Jordi Vilalta Prat
svn-id: r38679
2009-02-21Replaced "typedef struct _state state_t" with "struct EngineState"Jordi Vilalta Prat
svn-id: r38678
2009-02-21Wrapped the SCI engine in the Sci namespace.Oystein Eftevaag
svn-id: r38676
2009-02-21SCI: Use GCC_PRINTF hint to the compiler for _SCIkprintf and sciprintf; ↵Max Horn
fixed tons of bad format strings svn-id: r38660
2009-02-21SCI: Fixed more warningsMax Horn
svn-id: r38658