aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/seg_manager.cpp
AgeCommit message (Collapse)Author
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: Got rid of last traces of class SegInterfaceMax Horn
svn-id: r40377
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-08SCI: Added workaround for Common::Array<T>::resize() not zero-initing newly ↵Max Horn
allocated memory if T is a scaler type, pointer, POD type. At least on OS X svn-id: r40372
2009-05-07Fix an endian bugMatthew Hoops
svn-id: r40370
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: Fixed savestate loadingMax Horn
svn-id: r40305
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: Changed SegManager to store the heap pointers in a Common::ArrrayMax Horn
svn-id: r40293
2009-05-03SCI: Made SegManager::heap_size unsignedMax Horn
svn-id: r40290
2009-05-03SCI: Continue transition from MemObject to MemObjectNEWMax Horn
svn-id: r40274
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