aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/seg_manager.cpp
AgeCommit message (Collapse)Author
2009-05-03SCI: Got rid of the LIST_ALL_DEALLOCATABLE macroMax Horn
svn-id: r40273
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: 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-05-03SCI: Removed MEM_OBJ_RESERVED and related codeMax Horn
svn-id: r40265
2009-05-03SCI: Removed dead codeMax Horn
svn-id: r40264
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-27SCI: Turned classtable into a Common::Array<Class>Max Horn
svn-id: r40161
2009-04-03Changed some references from "FreeSCI" to "SCI" or "ScummVM"Filippos Karapetis
svn-id: r39807
2009-03-22SCI: Fix warningsMax Horn
svn-id: r39606
2009-03-20silenced some warningsMax Horn
svn-id: r39566
2009-03-17SCI: Added TODO: Merge SegInterface and MemObject? And some cleanupMax Horn
svn-id: r39485
2009-03-17SCI: Got rid of various SegManager::free_* methodsMax Horn
svn-id: r39484
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-11Fix heap corruption when assigning the save game directoryFilippos Karapetis
svn-id: r39343
2009-03-10Added FIXME for heap corruption occurring when exiting SCI gamesFilippos Karapetis
svn-id: r39315
2009-03-10Minor fix to deallocate STRING_FRAG segments properlyLars Skovlund
svn-id: r39299
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: 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-28SCI: Renamed some kernel types and general cleanupJordi Vilalta Prat
svn-id: r38961
2009-02-27fix warnings and memleaks in savegame.cfsmlWillem Jan Palenstijn
svn-id: r38933
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-26- Removed engine/sys_strings.*Filippos Karapetis
- Renamed sys_string_t -> SystemString, sys_strings_t -> SystemStrings svn-id: r38916
2009-02-24SCI: Moved vm.h from include to engineMax Horn
svn-id: r38834
2009-02-24SCI: Renamed int_hashmap to IntMapper, and added docs that explain that this ↵Max Horn
is *not* a hashmap (at least not a plain hashmap) svn-id: r38823
2009-02-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783
2009-02-22SCI: Converted "segment interfaces" into classesJordi Vilalta Prat
svn-id: r38782
2009-02-21SCI: Convert the segment manager into a classJordi Vilalta Prat
svn-id: r38767
2009-02-21SCI: Got rid of include/scitypes.hMax Horn
svn-id: r38746
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-21Remove excess \n.Travis Howell
svn-id: r38695
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-20formatingPaweł Kołodziejski
svn-id: r38628
2009-02-20Changed more messages to warnings/errorsFilippos Karapetis
svn-id: r38621
2009-02-17fixed unsigned/signed comparisons warningsPaweł Kołodziejski
svn-id: r38445
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: Committed stuff I forgot in my last commit; changed int_hash_map_t to a ↵Max Horn
C++ class svn-id: r38360
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