aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/seg_manager.cpp
AgeCommit message (Collapse)Author
2009-05-21Removed the PREG, PSTK, IS_NULL_REG and REG_EQ definesFilippos Karapetis
svn-id: r40767
2009-05-20removed trailing whitespacesMax Horn
svn-id: r40742
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: Removed ENTRY_IS_VALID macroMax Horn
svn-id: r40690
2009-05-18SCI: Tweaks, cleanupMax Horn
svn-id: r40688
2009-05-18SCI: Fixed Table::initTable to invoke _table.clear()Max Horn
svn-id: r40687
2009-05-18SCI: Changed SegManager to not pre-allocate _heap entries (leave the memory ↵Max Horn
management to Common::Array) svn-id: r40686
2009-05-18SCI: Removed the unused member SegManager::gc_mark_bits; changed some int ↵Max Horn
params to SegmentId svn-id: r40685
2009-05-18SCI: Replaced SegManager::getHeap() by Script::getHeap()Max Horn
svn-id: r40683
2009-05-15SCI: Got rid of SEG_ID/SCRIPT_IDMax Horn
svn-id: r40599
2009-05-15SCI: Added SegManager::getScriptIfLoaded() methodMax Horn
svn-id: r40598
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-14Started using game-specific flags and removed/replaced some SCI version ↵Filippos Karapetis
checks with flags. - The SCI0 new script header and the angles check have been replaced by the GF_SCI0_OLD flag - The SCI0 new drawpic parameter and the new priority check have been replaced by the GF_SCI0_OLDGFXFUNCS flag - Removed the code which retries to use the newer script header in SCI0 games if the detected one is wrong, as that case should be covered by the GF_SCI0_OLD flag - Removed the leftover min_version and max_version variables from gamestate - Cleaned up kGetTime() a bit svn-id: r40552
2009-05-12SCI: Changed object / script local vars storage to use a Common::ArrayMax Horn
svn-id: r40515
2009-05-12SCI: Removed sci_memory.h/.cppMax Horn
svn-id: r40514
2009-05-12SCI: Fixed a valgrind warning.Walter van Niftrik
svn-id: r40492
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