Age | Commit message (Collapse) | Author |
|
svn-id: r49337
|
|
loaded. Removed a sanity check inside script_instantiate_sci0 for a bug which no longer exists
svn-id: r49336
|
|
relocate(). scriptRelocate checked one more relocation entry, which seems wrong, so we're now checking for the correct number of relocations in all SCI versions
- Re-added the error when script + heap exceed 64KB (better than an assert) - this should theoretically never happen, and it never has for the games tested
- Removed the relocated sanity check - again, it shouldn't occur (else something else is wrong)
svn-id: r49332
|
|
SCI1.1 word-align is done inside Script::init()
svn-id: r49330
|
|
addresses
svn-id: r49329
|
|
svn-id: r49328
|
|
svn-id: r49320
|
|
The shared code now resides in a new static function named
relocateBlock, which is invoked by the two methods.
svn-id: r49316
|
|
svn-id: r49315
|
|
issues
svn-id: r49248
|
|
svn-id: r49246
|
|
svn-id: r49241
|
|
- Moved the code for initializing the object class, species and base object inside the Object class
- Made propertyOffsetToId() a method of the Object class
- Made relocateObject() a method of the Object class
- The Object getVariable() method now returns a reference to the requested variable
Only SegManager::reconstructScripts() is left needing direct access to the members of the Object class
svn-id: r49228
|
|
and moved validateExportFunc() in the Script class, thus resolving a TODO
svn-id: r49093
|
|
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression.
svn-id: r49070
|
|
svn-id: r49031
|
|
collector problems; minor cleanup.
svn-id: r47989
|
|
svn-id: r47836
|
|
svn-id: r47707
|
|
svn-id: r47572
|
|
svn-id: r47541
|
|
svn-id: r47506
|
|
- Set signature for Array/String
- Add the kernel table differences for the GK2 demo
- Implement kMessage changes in SCI32
- Use an empty string as the default path for all games now (and modify kValidPath to accept that only as valid)
- Add dereferencing for Arrays
svn-id: r46756
|
|
svn-id: r46720
|
|
intro of lb2cd)
svn-id: r46718
|
|
svn-id: r46492
|
|
- Fully implement kArray and kIsHiRes and mostly implement kString (printf and atoi subfunctions still missing).
- Add a dummy SciGui class for SCI32 to bypass the views. Gabriel Knight 1 will now play the Sierra logo music and the main menu music.
- Some other minor SCI32 changes.
svn-id: r46462
|
|
off-screen (we still need a proper way of detecting this, though...)
- Made warnings where invalid pointers are dereferenced more precise
svn-id: r45257
|
|
used, and removed tools.*. Also, removed all the unused includes to tools.h from several places
svn-id: r45176
|
|
svn-id: r44878
|
|
svn-id: r44805
|
|
svn-id: r44803
|
|
and make maxSize report the valid space starting at offset.
svn-id: r44421
|
|
This makes offsets in raw and reg segments consistent, which
fixes string addressing in savegame dialogs.
svn-id: r44396
|
|
svn-id: r44386
|
|
- 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
|
|
svn-id: r44246
|
|
non-raw or vice versa
svn-id: r44245
|
|
between raw and 'reg_t' memory blocks in client code
svn-id: r44244
|
|
svn-id: r44243
|
|
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
|
|
svn-id: r44155
|