Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-22 | SCI: SegmentObj's now set their type in constructor; replace central ↵ | Max Horn | |
SegmentObj::createSegmentObj call in SegManager::allocSegment by several explicit 'new' statements; some extra cleanup svn-id: r44242 | |||
2009-09-21 | SCI: cleanup | Max Horn | |
svn-id: r44241 | |||
2009-09-21 | SCI: Replace IntMapper Script::_objIndices and Common::Array ↵ | Max Horn | |
Script::_objects by a HashMap -- goodbye, class IntMapper svn-id: r44240 | |||
2009-09-21 | SCI: Workaround for crash in debugger's backtrace | Max Horn | |
svn-id: r44239 | |||
2009-09-21 | SCI: Change kAnimate to actually tail recurse | Max Horn | |
svn-id: r44238 | |||
2009-09-21 | SCI: Rename Object::flags and pos to _flags and _pos; tweak scriptObjInit0 ↵ | Max Horn | |
and scriptObjInit11 to be more similar svn-id: r44234 | |||
2009-09-17 | SCI: Add EngineState::_kernel member for convenience | Max Horn | |
svn-id: r44173 | |||
2009-09-17 | SCI: Move CallsStruct into vm.cpp, the only place it is being used | Max Horn | |
svn-id: r44172 | |||
2009-09-17 | SCI: Move some selector related function into a new file selector.cpp | Max Horn | |
svn-id: r44171 | |||
2009-09-17 | SCI: Add a global getSciVersion() function and make use of it | Max Horn | |
svn-id: r44170 | |||
2009-09-17 | SCI: Rename WAS_FUNCT_NR to FAKE_FUNCT_NR; turn some #defines into enums | Max Horn | |
svn-id: r44169 | |||
2009-09-17 | SCI: Moved Kernel::findSelector from vocabulary.cpp to engine/kernel.cpp | Max Horn | |
svn-id: r44161 | |||
2009-09-17 | SCI: Properly hook up (I hope) CantBeHere instead of CanBeHere in SCI ↵ | Max Horn | |
versions that need it svn-id: r44160 | |||
2009-09-17 | SCI: Removed dead code | Max Horn | |
svn-id: r44159 | |||
2009-09-17 | SCI: Rename engine/memobj.* to engine/segment.* | Max Horn | |
svn-id: r44155 | |||
2009-09-17 | SCI: Simplify code in Kernel::checkStaticSelectorNames a bit (don't treat ↵ | Max Horn | |
nodePtr & cantBeHere special) svn-id: r44154 | |||
2009-09-17 | SCI: Get rid of the not_register() hack | Max Horn | |
svn-id: r44153 | |||
2009-09-17 | SCI: Rename selector_map_t -> SelectorCache and _selectorMap -> _selectorCache | Max Horn | |
svn-id: r44152 | |||
2009-09-17 | SCI: Move parts of struct ScriptState into a new struct DebugState | Max Horn | |
svn-id: r44151 | |||
2009-09-17 | SCI: cleanup | Max Horn | |
svn-id: r44150 | |||
2009-09-17 | Made script_lookup_export() a method of SegManager | Filippos Karapetis | |
svn-id: r44140 | |||
2009-09-17 | Changed the way object selectors are accessed, by removing the relevant ↵ | Filippos Karapetis | |
defines and adding appropriate methods to the Object structure svn-id: r44138 | |||
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-16 | SCI: Rename Script class members, change Script from struct to class | Max Horn | |
svn-id: r44126 | |||
2009-09-15 | Removed some unused variables from the engine state | Filippos Karapetis | |
svn-id: r44099 | |||
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-14 | SCI: Merge kernelDerefCharPtr and kernelDerefString and change it from a ↵ | Max Horn | |
macro to a function svn-id: r44081 | |||
2009-09-13 | Always disable the "Change Directory" button in the save/load menus, as we ↵ | Filippos Karapetis | |
don't allow the engine to change the directory where saved games will be placed svn-id: r44044 | |||
2009-09-12 | Removed the INST_LOOKUP_CLASS define | Filippos Karapetis | |
svn-id: r44043 | |||
2009-09-12 | Made is_object() a method of the segment manager | Filippos Karapetis | |
svn-id: r44042 | |||
2009-09-12 | Removed the unused ASSERT()-related code and changed a warning where ↵ | Filippos Karapetis | |
BREAKPOINT() was used to an error svn-id: r44041 | |||
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-09 | Removed/replaced the gfx_pixmap_color struct | Filippos Karapetis | |
svn-id: r44017 | |||
2009-09-08 | Fixed some (pedantic) warnings | Max Horn | |
svn-id: r44015 | |||
2009-09-07 | Fixed a regression from commit #43999 (segment ID 1 is valid) | Filippos Karapetis | |
svn-id: r44000 | |||
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: Script::obj_indices is now protected | Max Horn | |
Add new methods init, allocateObject and getObject to class Script, and use them instead of directly accessing Script::obj_indices. Replace RAW_GET_CLASS_INDEX with Script::getObject() svn-id: r43987 | |||
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: Convert saveload code to use the versioning feature of Common::Serializer | Max Horn | |
svn-id: r43985 | |||
2009-09-06 | SCI: cleanup | Max Horn | |
svn-id: r43984 | |||
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-06 | SCI: Rename resManager -> resMan; segManager -> segMan | Max Horn | |
svn-id: r43980 |