aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
AgeCommit message (Collapse)Author
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
2009-02-20Converted SCI saving to use saveFileMan. Instead of a savegame beingWillem Jan Palenstijn
a directory with an id and a state file, a savegame now consists of two consecutive CFSML-serialized structs: SavegameMetadata and state_t. The former contains the savegame title, and is loaded when scanning saves. svn-id: r38649
2009-02-20formatingPaweł Kołodziejski
svn-id: r38640
2009-02-20Changed more messages to warnings/errorsFilippos Karapetis
svn-id: r38621
2009-02-20Started conversion of debug messages and debug levels to the ScummVM ↵Filippos Karapetis
equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings svn-id: r38617
2009-02-20SCI: Added TODO suggestion to change the vm opcode switch/case to an opcode ↵Max Horn
table with methods for each opcode (helps to separate code and deal with changed opcode numbering in other SCI versions) svn-id: r38594
2009-02-17Revert changed I accidentally commited *sigh*Max Horn
svn-id: r38435
2009-02-17SCI: Moved sfx_pcm_urat_t from include/sfx_pcm.h to sfx/mixer.hMax Horn
svn-id: r38434
2009-02-17Update headers. engine/Eugene Sandulenko
svn-id: r38408
2009-02-17Replaced sci_free() with free() - it's OK to free a NULL pointer, so the ↵Filippos Karapetis
checking that sci_free() performed is not necessary svn-id: r38406
2009-02-16SCI: Moved seg_manager.*, int_hashmap.* to sci/engine (they are only used ↵Max Horn
there); merged hashmap and int_hashmap svn-id: r38358
2009-02-15Fixed more warningsMax Horn
svn-id: r38332
2009-02-15SCI: Run astyle to make the code be more compliant with our Code Formatting ↵Max Horn
Guidelines: engine dir svn-id: r38317
2009-02-15SCI: Got rid of a nasty hack where class, delete, new were re#defined ↵Max Horn
because FreeSCI used these C++ keywords for variable names svn-id: r38312
2009-02-15Silenced a ton of warnings, and disabled several unreferenced functions ↵Filippos Karapetis
(dead code) - hopefully, compilation hasn't been broken... svn-id: r38243
2009-02-15- Remove some unneeded filesEugene Sandulenko
- Mass rename .c to .cpp svn-id: r38227