Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-17 | SCI: Change SegmentId from int to uint16; consistently use segment 0 to ↵ | Max Horn | |
indicate an invalid segment svn-id: r44131 | |||
2009-09-17 | SCI: Rename MemObject -> SegmentObj | Max Horn | |
svn-id: r44130 | |||
2009-09-17 | SCI: More cleanup | Max Horn | |
svn-id: r44129 | |||
2009-09-16 | SCI: cleanup | Max Horn | |
svn-id: r44128 | |||
2009-09-16 | SCI: Turn some SegManager methods into Script methods | Max Horn | |
svn-id: r44127 | |||
2009-09-14 | SCI: Misc cleanup | Max Horn | |
svn-id: r44093 | |||
2009-09-14 | SCI: Rename SegManager::kernelDeref*() methods to SegManager::deref*() | Max Horn | |
svn-id: r44083 | |||
2009-09-14 | SCI: kernelDeref*() functions are now seSegmentManager methods | Max Horn | |
svn-id: r44082 | |||
2009-09-12 | Made is_object() a method of the segment manager | Filippos Karapetis | |
svn-id: r44042 | |||
2009-09-12 | - Made obj_get and obj_get_name methods of SegManager (getObject and ↵ | Filippos Karapetis | |
getObjectName, respectively) - Renamed alloc_List -> allocateList, alloc_Node->allocateNode, alloc_hunk_entry->allocateHunkEntry, free_hunk_entry->freeHunkEntry, for consistency svn-id: r44039 | |||
2009-09-07 | SCI: Replace GET_SEGMENT_ANY and GET_OBJECT_SEGMENT macros by new segman methods | Max Horn | |
svn-id: r43999 | |||
2009-09-06 | SCI: Rename SegManager::exports_wide to _exportsAreWide and changed it to a ↵ | Max Horn | |
bool, and rename setExportWidth() to setExportAreWide() svn-id: r43988 | |||
2009-09-06 | SCI: Replace "IntMapper *id_seg_map" in SegManager with a ↵ | Max Horn | |
Common::HashMap<int,int> This simplifies the code considerably. Also changed the savegame format accordingly, which required me to bump the format version to 10. Old saves should still load fine. svn-id: r43986 | |||
2009-09-06 | SCI: cleanup | Max Horn | |
svn-id: r43982 | |||
2009-09-06 | SCI: Cleanup for some SegManager internals | Max Horn | |
- rename segGet and getSegment to getScriptSegment; the two can be distinguished by the parameter count. - rename type SCRIPT_GET to ScriptLoadType to conform with our code formatting conventions - rename get_class_address to getClassAddress - some cleanup svn-id: r43981 | |||
2009-09-04 | Moved some functions inside the SegManager class, and renamed alloc_clone() ↵ | Filippos Karapetis | |
to allocateClone() svn-id: r43935 | |||
2009-09-02 | Some renaming: | Filippos Karapetis | |
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908 | |||
2009-08-25 | - Simplified the parameters of some functions | Filippos Karapetis | |
- Replaced some EngineState parameters - The SCI version is now obtained from the resource manager or the segment manager, thereby simplifying several functions - Plugged 2 leaks in the fallback detector - Renamed the segment manager and resource manager to "segmentManager" and "resourceManager" in all places, for consistency svn-id: r43722 | |||
2009-08-24 | SCI: Read class table from vocab resource instead of scanning. This fixes | Walter van Niftrik | |
several "invalid selector" VM crashes caused by duplicate classes. svn-id: r43680 | |||
2009-08-23 | - Added more mappings from Sierra's internal IDs to our own ones. Hopefully, ↵ | Filippos Karapetis | |
all SCI0-SCI11 games can now be detected correctly from the fallback detector - Simplified some checks for old script types svn-id: r43678 | |||
2009-08-18 | - Added game ID detection to the fallback detector. We still need to map ↵ | Filippos Karapetis | |
some of Sierra's internal IDs to our own ones - The class table is now created in the segment manager constructor svn-id: r43504 | |||
2009-08-17 | - Simplified some functions to accept only the parts of the EngineState they ↵ | Filippos Karapetis | |
need as parameters, instead of the whole EngineState - Moved the class table in the Segment manager - it's the only class using it directly - Removed the sci11 flag from save games (we already know this, we don't need to store it) - Moved script_get_segment() and get_class_address() inside the segment manager class - Removed the script_locate_by_segment wrapper - Simplified script_lookup_export() a lot by removing some paranoia checks - Added some WIP code for automatically determining the game id in the fallback detector (still not working) - General cleanup svn-id: r43458 | |||
2009-07-28 | SCI: Avoid using perror (it's not portable) | Max Horn | |
svn-id: r42866 | |||
2009-06-18 | Patch | Max Horn | |
svn-id: r41647 | |||
2009-06-04 | SCI: Moved MemObject code into a separate source file | Max Horn | |
svn-id: r41166 | |||
2009-05-18 | SCI: Removed the unused member SegManager::gc_mark_bits; changed some int ↵ | Max Horn | |
params to SegmentId svn-id: r40685 | |||
2009-05-18 | SCI: Replaced SegManager::getHeap() by Script::getHeap() | Max Horn | |
svn-id: r40683 | |||
2009-05-15 | SCI: Got rid of SEG_ID/SCRIPT_ID | Max Horn | |
svn-id: r40599 | |||
2009-05-15 | SCI: Added SegManager::getScriptIfLoaded() method | Max Horn | |
svn-id: r40598 | |||
2009-05-15 | SCI: Turned several script related SegManager methods into Script methods | Max Horn | |
svn-id: r40597 | |||
2009-05-14 | SCI: cleanup | Max Horn | |
svn-id: r40581 | |||
2009-05-12 | SCI: Changed object / script local vars storage to use a Common::Array | Max Horn | |
svn-id: r40515 | |||
2009-05-11 | SCI: 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-10 | SCI: Changed object list in Script instances to use Common:::Array | Max Horn | |
svn-id: r40431 | |||
2009-05-08 | SCI: Got rid of last traces of class SegInterface | Max Horn | |
svn-id: r40377 | |||
2009-05-08 | SCI: Moved findCanonicAddress from SegInterface to MemObject | Max Horn | |
svn-id: r40376 | |||
2009-05-08 | SCI: Moved freeAtAddress from SegInterface to MemObject | Max Horn | |
svn-id: r40375 | |||
2009-05-08 | SCI: Renamed dstack_t -> DataStack; removed obsolete KF_OLD constant | Max Horn | |
svn-id: r40374 | |||
2009-05-08 | SCI: Started to merge SegInterface into MemObject | Max Horn | |
svn-id: r40373 | |||
2009-05-03 | SCI: Started adding methods to MemObject subclasses: constructors, ↵ | Max Horn | |
destructors, dereference() (and currently commented out refs to Common::Serializable svn-id: r40295 | |||
2009-05-03 | SCI: Completed transition from MemObject (a union of various structs) to ↵ | Max Horn | |
MemObjectNEW (a baseclass for these structs) svn-id: r40294 | |||
2009-05-03 | SCI: Changed SegManager to store the heap pointers in a Common::Arrray | Max Horn | |
svn-id: r40293 | |||
2009-05-03 | SCI: Made SegManager::heap_size unsigned | Max Horn | |
svn-id: r40290 | |||
2009-05-03 | SCI: Continue transition from MemObject to MemObjectNEW | Max Horn | |
svn-id: r40274 | |||
2009-05-03 | SCI: Renamed MemObject::type and ::segmgr_id to _type resp. _segmgrId, and ↵ | Max Horn | |
added accessor methods getType() and getSegMgrId() svn-id: r40271 | |||
2009-05-03 | SCI: Changed SegManager to subclass Common::Serializable | Max Horn | |
svn-id: r40270 | |||
2009-05-03 | SCI: Changed various params of type MemObject* to the more specific type Script& | Max Horn | |
svn-id: r40269 | |||
2009-05-03 | SCI: 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-03-20 | silenced some warnings | Max Horn | |
svn-id: r39566 | |||
2009-03-17 | SCI: Added TODO: Merge SegInterface and MemObject? And some cleanup | Max Horn | |
svn-id: r39485 |