Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-07 | SCI: Removed the system strings code and replaced it with a much more ↵ | Filippos Karapetis | |
simplified version, thus greatly simplifying handling of system strings svn-id: r54805 | |||
2010-11-19 | SCI: Moved the Object class in a separate file | Filippos Karapetis | |
svn-id: r54361 | |||
2010-11-18 | SCI: Added species selector functionality for SCI3 | Filippos Karapetis | |
svn-id: r54351 | |||
2010-11-18 | Get rid of a const_cast. | Lars Skovlund | |
svn-id: r54333 | |||
2010-11-18 | SCI3: implement setInfoSelector() for SCI3, fixes infinite recursion | Lars Skovlund | |
svn-id: r54328 | |||
2010-11-17 | SCI: More work on SCI3, based on a patch by lskovlun | Filippos Karapetis | |
- Added SCI3 equivalents for access to object selectors - Added SCI3 implementation of object relocation - Added SCI3 implementation of Script::initialiseClasses() svn-id: r54283 | |||
2010-11-08 | SCI: Some changes regarding the string heap in saved games | Filippos Karapetis | |
- Maintain the state of the string heap space in saved games - Merged SegManager::reconstructScripts() inside SegManager::saveLoadWithSerializer() - Disabled a now unnecessary script patch for the cipher puzzle in Castle of Dr. Brain, and performed some cleanup for another disabled patch - Removed direct access to the _baseObj variable of objects svn-id: r54133 | |||
2010-10-20 | SCI: Added a new debug command, "find_callk" | Filippos Karapetis | |
This command can be used to find the object methods (including their corresponding objects and owner scripts) that call a specific kernel call. This shall aid us track all the spots where a particular kernel function is called from, therefore it'll be a bit easier to find examples where unimplemented kernel functions are called svn-id: r53646 | |||
2010-09-05 | SCI: kClone cleanup | Martin Kiewitz | |
and fixing possible crash & typo svn-id: r52565 | |||
2010-09-05 | SCI: merging -info- stuff in Clone/DisposeClone | Martin Kiewitz | |
svn-id: r52562 | |||
2010-09-05 | SCI: initialize members of the Object class when it's constructed | Filippos Karapetis | |
svn-id: r52544 | |||
2010-08-03 | SCI: Cleanup | Filippos Karapetis | |
svn-id: r51687 | |||
2010-07-07 | SCI: Dropped support for the very old saved game versions 9 - 11. Rationale: ↵ | Filippos Karapetis | |
a lot has changed since then, we're still not stable, and this helps clean up the code, thus we're still in a position to drop support for old saved games svn-id: r50738 | |||
2010-06-28 | SCI: Clarify docs of GC related SegmentObj methods | Max Horn | |
svn-id: r50440 | |||
2010-06-28 | SCI: Fix DEBUG_GC mode and permanently enable it | Max Horn | |
svn-id: r50430 | |||
2010-06-28 | SCI: Revise GC interface: use Common::Array<reg_t> instead of callbacks | Max Horn | |
This means a little bit more overhead but makes the code much more readable and understandable. svn-id: r50429 | |||
2010-06-27 | SCI: Moved all the script-related code inside script.cpp/.h, and all script ↵ | Filippos Karapetis | |
opcode-related code inside vm.cpp/.h svn-id: r50396 | |||
2010-06-26 | Removed the misleading getHeap() function (only valid for SCI0-SCI1), plus ↵ | Filippos Karapetis | |
removed some unused defines svn-id: r50358 | |||
2010-06-26 | Zero out the memory pointer of a hunk when freeing it | Filippos Karapetis | |
svn-id: r50351 | |||
2010-06-22 | Reverted the code which handles objects without a base object when loading, ↵ | Filippos Karapetis | |
for now. This possibly indicates an issue related to the garbage collector svn-id: r50142 | |||
2010-06-17 | Strict mode: Changed several warnings due to logic bugs into errors. If an ↵ | Filippos Karapetis | |
error pops up from these ones, please add the game where it occurred and the steps to reproduce the error before turning it into a warning svn-id: r49973 | |||
2010-06-15 | Properly reconstruct the running stack when restoring (a regression from ↵ | Filippos Karapetis | |
commits #49376 and #49525), some formatting svn-id: r49689 | |||
2010-06-15 | Add support for SCI32 segment types to seg_table and vr debug commands | Lars Skovlund | |
svn-id: r49686 | |||
2010-06-14 | Removed the code used for tracking script code block relocations in ↵ | Filippos Karapetis | |
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 | |||
2010-06-14 | Really silence the warning with _bufSize | Filippos Karapetis | |
svn-id: r49652 | |||
2010-06-14 | Some cleanup of the script locals code | Filippos Karapetis | |
svn-id: r49649 | |||
2010-06-03 | Fixed compilation | Filippos Karapetis | |
svn-id: r49407 | |||
2010-06-03 | Moved several object-related defines inside vm.h into segment.h, where the ↵ | Filippos Karapetis | |
Object class resides. Also, removed several unused defines svn-id: r49406 | |||
2010-05-31 | The save/load object init code is now unified with the regular object init code | Filippos Karapetis | |
svn-id: r49346 | |||
2010-05-30 | Limited access to the script export table and synonyms block | Filippos Karapetis | |
svn-id: r49338 | |||
2010-05-30 | SCI: Script exports and synonyms are now initialized when a script is ↵ | Filippos Karapetis | |
loaded. Removed a sanity check inside script_instantiate_sci0 for a bug which no longer exists svn-id: r49336 | |||
2010-05-30 | - Merged the SCI0 scriptRelocate() and SCI11 heapRelocate() functions inside ↵ | Filippos Karapetis | |
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 | |||
2010-05-30 | Moved setScriptSize() inside Script::init(), and removed a FIXME - the ↵ | Filippos Karapetis | |
SCI1.1 word-align is done inside Script::init() svn-id: r49330 | |||
2010-05-30 | Made load_script() a member of the Script class | Filippos Karapetis | |
svn-id: r49328 | |||
2010-05-30 | Limit access to the _bufSize, _scriptSize and _heapSize members of the ↵ | Filippos Karapetis | |
Script class svn-id: r49327 | |||
2010-05-29 | SCI: Merge Script::relocateBlock and Object::relocate | Max Horn | |
The shared code now resides in a new static function named relocateBlock, which is invoked by the two methods. svn-id: r49316 | |||
2010-05-29 | SCI: Make Script::_exportTable const (yay :-) | Max Horn | |
svn-id: r49315 | |||
2010-05-27 | SCI: fixing -propDict- selector on instances to contain -propDict- of the ↵ | Martin Kiewitz | |
corresponding class - fixes sq4cd/room 381 talk-clicking on robot - thx to waltervn & wjp svn-id: r49263 | |||
2010-05-26 | SCI: More const related changes; remove unnecessary casts which hide const ↵ | Max Horn | |
issues svn-id: r49248 | |||
2010-05-26 | SCI: Making various object and script related things const | Max Horn | |
svn-id: r49246 | |||
2010-05-26 | Fixed compilation | Filippos Karapetis | |
svn-id: r49242 | |||
2010-05-26 | Made find_unique_script_block() a member of the Script class | Filippos Karapetis | |
svn-id: r49241 | |||
2010-05-26 | More work on controlling access to members of the Object class: | Filippos Karapetis | |
- 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 | |||
2010-05-19 | Removed the exportsAreWide variable from the segment manager and save games, ↵ | Filippos Karapetis | |
and moved validateExportFunc() in the Script class, thus resolving a TODO svn-id: r49093 | |||
2010-05-18 | Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵ | Matthew Hoops | |
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 | |||
2010-05-14 | Made locateVarSelector() a method of the Object class | Filippos Karapetis | |
svn-id: r49031 | |||
2010-02-08 | Search through arrays for outgoing references to fix possible garbage ↵ | Matthew Hoops | |
collector problems; minor cleanup. svn-id: r47989 | |||
2010-02-03 | cleanup | Max Horn | |
svn-id: r47835 | |||
2010-01-30 | Add support for saving/loading Arrays/Strings in SCI32. It's possible to ↵ | Matthew Hoops | |
save a game in GK1 now via the console, but not load (yet). svn-id: r47696 | |||
2010-01-26 | SCI: Add string support for odd-offset pointers into reg_t-based segments. | Walter van Niftrik | |
svn-id: r47572 |