aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2009-09-21SCI: Workaround for crash in debugger's backtraceMax Horn
svn-id: r44239
2009-09-21SCI: Change kAnimate to actually tail recurseMax Horn
svn-id: r44238
2009-09-21SCI: Rename Object::flags and pos to _flags and _pos; tweak scriptObjInit0 ↵Max Horn
and scriptObjInit11 to be more similar svn-id: r44234
2009-09-17SCI: Add EngineState::_kernel member for convenienceMax Horn
svn-id: r44173
2009-09-17SCI: Move CallsStruct into vm.cpp, the only place it is being usedMax Horn
svn-id: r44172
2009-09-17SCI: Move some selector related function into a new file selector.cppMax Horn
svn-id: r44171
2009-09-17SCI: Add a global getSciVersion() function and make use of itMax Horn
svn-id: r44170
2009-09-17SCI: Rename WAS_FUNCT_NR to FAKE_FUNCT_NR; turn some #defines into enumsMax Horn
svn-id: r44169
2009-09-17SCI: Moved Kernel::findSelector from vocabulary.cpp to engine/kernel.cppMax Horn
svn-id: r44161
2009-09-17SCI: Properly hook up (I hope) CantBeHere instead of CanBeHere in SCI ↵Max Horn
versions that need it svn-id: r44160
2009-09-17SCI: Removed dead codeMax Horn
svn-id: r44159
2009-09-17Added alternate versions for iceman, lsl2, qfg1, sq3 and sq4 from bug report ↵Filippos Karapetis
#2612718. Still many to go, that bug report is huge svn-id: r44158
2009-09-17SCI: Rename engine/memobj.* to engine/segment.*Max Horn
svn-id: r44155
2009-09-17SCI: Simplify code in Kernel::checkStaticSelectorNames a bit (don't treat ↵Max Horn
nodePtr & cantBeHere special) svn-id: r44154
2009-09-17SCI: Get rid of the not_register() hackMax Horn
svn-id: r44153
2009-09-17SCI: Rename selector_map_t -> SelectorCache and _selectorMap -> _selectorCacheMax Horn
svn-id: r44152
2009-09-17SCI: Move parts of struct ScriptState into a new struct DebugStateMax Horn
svn-id: r44151
2009-09-17SCI: cleanupMax Horn
svn-id: r44150
2009-09-17Made script_lookup_export() a method of SegManagerFilippos Karapetis
svn-id: r44140
2009-09-17Added the CD version of Jones (bug report #2813795) and another version of ↵Filippos Karapetis
RAMA (bug report #2850645) svn-id: r44139
2009-09-17Changed 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-17SCI: Change SegmentId from int to uint16; consistently use segment 0 to ↵Max Horn
indicate an invalid segment svn-id: r44131
2009-09-17SCI: Rename MemObject -> SegmentObjMax Horn
svn-id: r44130
2009-09-17SCI: More cleanupMax Horn
svn-id: r44129
2009-09-16SCI: cleanupMax Horn
svn-id: r44128
2009-09-16SCI: Turn some SegManager methods into Script methodsMax Horn
svn-id: r44127
2009-09-16SCI: Rename Script class members, change Script from struct to classMax Horn
svn-id: r44126
2009-09-15Removed some unused variables from the engine stateFilippos Karapetis
svn-id: r44099
2009-09-15Slight cleanup of the resource palette modification codeFilippos Karapetis
svn-id: r44097
2009-09-14SCI: Misc cleanupMax Horn
svn-id: r44093
2009-09-14SCI: Rename SegManager::kernelDeref*() methods to SegManager::deref*()Max Horn
svn-id: r44083
2009-09-14SCI: kernelDeref*() functions are now seSegmentManager methodsMax Horn
svn-id: r44082
2009-09-14SCI: Merge kernelDerefCharPtr and kernelDerefString and change it from a ↵Max Horn
macro to a function svn-id: r44081
2009-09-13Always 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-12Removed the INST_LOOKUP_CLASS defineFilippos Karapetis
svn-id: r44043
2009-09-12Made is_object() a method of the segment managerFilippos Karapetis
svn-id: r44042
2009-09-12Removed 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-09Removed/replaced the gfx_pixmap_color structFilippos Karapetis
svn-id: r44017
2009-09-08Fixed some (pedantic) warningsMax Horn
svn-id: r44015
2009-09-07Merged xfact and yfact into scaleFactor - it doesn't really make sense to ↵Filippos Karapetis
multiply one dimension with an integer multiplier which is different to the multiplier of the other dimension, otherwise we'll end up with funny looking and squashed resolutions like 640x200 or 320x400. Also, removed the now-unused pixelFormat member variable of the graphics driver struct svn-id: r44003
2009-09-07Fixed a regression from commit #43999 (segment ID 1 is valid)Filippos Karapetis
svn-id: r44000
2009-09-07SCI: Replace GET_SEGMENT_ANY and GET_OBJECT_SEGMENT macros by new segman methodsMax Horn
svn-id: r43999
2009-09-06Removed some unused variablesFilippos Karapetis
svn-id: r43998
2009-09-06CleanupFilippos Karapetis
svn-id: r43996
2009-09-06Fixed compilation on BE systemsFilippos Karapetis
svn-id: r43995
2009-09-06Removed the hi-color code (16bpp & 24bpp). All SCI games use up to 256 ↵Filippos Karapetis
colors, so hi-color isn't really used anywhere, and it only makes the overall code more complex for no reason svn-id: r43994
2009-09-06Removed some leftover debug code, and turned p0printf messages into debug ↵Filippos Karapetis
messages, introducing a new debug level svn-id: r43993
2009-09-06SCI: Rename SegManager::exports_wide to _exportsAreWide and changed it to a ↵Max Horn
bool, and rename setExportWidth() to setExportAreWide() svn-id: r43988
2009-09-06SCI: Script::obj_indices is now protectedMax 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