Age | Commit message (Collapse) | Author |
|
Some other cleanup too. GK1 can now access the restore menu and get a bit further in the game (until a segfault in the Decompressor code).
svn-id: r46789
|
|
- 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
|
|
- 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
|
|
deleting and recreating it when restoring games
- Merged game_exit(), script_free_vm_memory() and script_free_engine()
- Cleanup
svn-id: r45666
|
|
off-screen (we still need a proper way of detecting this, though...)
- Made warnings where invalid pointers are dereferenced more precise
svn-id: r45257
|
|
global search & replace)
svn-id: r45060
|
|
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
|