Age | Commit message (Collapse) | Author |
|
svn-id: r45041
|
|
svn-id: r44978
|
|
svn-id: r44921
|
|
svn-id: r44878
|
|
svn-id: r44803
|
|
svn-id: r44795
|
|
SegManager::lookupList
svn-id: r44769
|
|
console.cpp, and switch other code using it to use findObjectByName() instead.
svn-id: r44628
|
|
svn-id: r44572
|
|
and make maxSize report the valid space starting at offset.
svn-id: r44421
|
|
This fixes moving the plank at the start of KQ6 in Text mode.
svn-id: r44397
|
|
This makes offsets in raw and reg segments consistent, which
fixes string addressing in savegame dialogs.
svn-id: r44396
|
|
svn-id: r44387
|
|
- Changed all the SCI version checks to use getSciVersion()
- Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine)
The fallback detector should work correctly now
svn-id: r44269
|
|
- Replaced some cases where getSciVersion() is used with _resMan->sciVersion(), as getSciVersion() will fail with the fallback detector (as the engine is not initialized). Object property accessors still crash currently, when used with the fallback detector
svn-id: r44261
|
|
non-raw or vice versa
svn-id: r44245
|
|
between raw and 'reg_t' memory blocks in client code
svn-id: r44244
|
|
SegmentObj::createSegmentObj call in SegManager::allocSegment by several explicit 'new' statements; some extra cleanup
svn-id: r44242
|
|
Script::_objects by a HashMap -- goodbye, class IntMapper
svn-id: r44240
|
|
and scriptObjInit11 to be more similar
svn-id: r44234
|
|
svn-id: r44170
|
|
defines and adding appropriate methods to the Object structure
svn-id: r44138
|
|
indicate an invalid segment
svn-id: r44131
|
|
svn-id: r44130
|
|
svn-id: r44129
|
|
svn-id: r44127
|
|
svn-id: r44126
|
|
svn-id: r44093
|
|
svn-id: r44083
|
|
svn-id: r44082
|
|
svn-id: r44043
|
|
getObjectName, respectively)
- Renamed alloc_List -> allocateList, alloc_Node->allocateNode, alloc_hunk_entry->allocateHunkEntry, free_hunk_entry->freeHunkEntry, for consistency
svn-id: r44039
|
|
svn-id: r44000
|
|
svn-id: r43999
|
|
bool, and rename setExportWidth() to setExportAreWide()
svn-id: r43988
|
|
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
|
|
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
|
|
svn-id: r43982
|
|
- 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
|
|
svn-id: r43937
|
|
to allocateClone()
svn-id: r43935
|
|
getresourceManager -> getResourceManger
resourceManager -> resMan
segmentManager ->segMan
svn-id: r43908
|
|
SCI_VERSION_3 (each version has a different kernel table).
- Improve map detection.
- Fix SCI32 object and script initialization (Torin's Passage and GK1 scripts now start up, and probably most SCI2/2.1 games).
- Add SCI2 and SCI2.1 kernel tables.
svn-id: r43742
|
|
- Made some version comparisons for old SCI0 versions easier to read
- Removed the GET_SEL32SV macro
svn-id: r43729
|
|
- 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
|
|
several "invalid selector" VM crashes caused by duplicate classes.
svn-id: r43680
|
|
all SCI0-SCI11 games can now be detected correctly from the fallback detector
- Simplified some checks for old script types
svn-id: r43678
|
|
svn-id: r43571
|
|
some of Sierra's internal IDs to our own ones
- The class table is now created in the segment manager constructor
svn-id: r43504
|
|
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
|