Age | Commit message (Collapse) | Author |
|
svn-id: r49686
|
|
SCI0-SCI1 games, as we don't actually relocate these blocks, and it was used solely for verification of the exports table. The issue that this warning was created for should no longer occur
svn-id: r49669
|
|
svn-id: r49652
|
|
svn-id: r49651
|
|
svn-id: r49650
|
|
svn-id: r49649
|
|
loaded, thus we no longer need to save it. Merged scriptInitialiseLocals() with scriptInitialiseLocalsZero()
svn-id: r49640
|
|
Object class resides. Also, removed several unused defines
svn-id: r49406
|
|
functions, where the SCI0 equivalent had a +1 count): it seems that we should skip over zero exports, however the total number of valid exports remains the same. Fixes KQ5 and QFG2. This also fixes the relocation calculation of script 71 in SQ3, so remove the comment that the script has broken relocation entries
svn-id: r49394
|
|
more sense and fixed a bug with the initialization of the synonyms pointer, introduced with rev #49336
svn-id: r49360
|
|
svn-id: r49346
|
|
svn-id: r49338
|
|
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
|