Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-02 | If we can't find the game object or game ID in fallback detection, break out ↵ | Matthew Hoops | |
instead of assuming the script is there. Fixes a segfault when detecting an LSCI game. svn-id: r49389 | |||
2010-06-02 | Fix warning | Max Horn | |
svn-id: r49386 | |||
2010-06-01 | Fixed the detection of SCI2.1 games in the fallback detector | Filippos Karapetis | |
svn-id: r49382 | |||
2010-06-01 | Add support for SCI2.1 resource patches to the fallback detector | Filippos Karapetis | |
svn-id: r49380 | |||
2010-06-01 | Stop reconstructing the engine state when restoring, but reset it instead | Filippos Karapetis | |
svn-id: r49376 | |||
2010-06-01 | SCI: Fix malloc<->new mismatch in SysStrings, try to increase readability | Max Horn | |
svn-id: r49375 | |||
2010-06-01 | The parser vocabulary remains static throughout the game, thus it has been ↵ | Filippos Karapetis | |
removed from the engine state svn-id: r49373 | |||
2010-06-01 | The system strings segment is a fixed segment of the segment manager, which ↵ | Filippos Karapetis | |
doesn't change during the game, thus move all the system strings code and variables inside the segment manager svn-id: r49372 | |||
2010-05-31 | Added a new console command, verify_scripts, used for sanity checking of ↵ | Filippos Karapetis | |
SCI1.1-SCI2.1 game scripts svn-id: r49364 | |||
2010-05-31 | Merged all the script relocation code inside script_instantiate(), and ↵ | Filippos Karapetis | |
changed the warning when reading an invalid species into an error (as it's severe, and if it happens it means something is seriously wrong) svn-id: r49361 | |||
2010-05-31 | Wrote the initialization code for the exports and synonyms table to make ↵ | Filippos Karapetis | |
more sense and fixed a bug with the initialization of the synonyms pointer, introduced with rev #49336 svn-id: r49360 | |||
2010-05-31 | SCI: break on anything, warn on anything but spaces in kReadNumber | Martin Kiewitz | |
svn-id: r49355 | |||
2010-05-31 | Fixed operator precedence warning | Filippos Karapetis | |
svn-id: r49353 | |||
2010-05-31 | SCI: Silenced warning when no audio decoder is compiled in | Filippos Karapetis | |
svn-id: r49351 | |||
2010-05-31 | The code that loads saved game from the launcher | Filippos Karapetis | |
can now load SCI2 saved games. Added an explanation why the injected call is necessary svn-id: r49349 | |||
2010-05-31 | SCI: added TODO at kReadNumber space code | Martin Kiewitz | |
svn-id: r49348 | |||
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-31 | SCI: skip spaces in kReadNumber - this happens in lsl3 intro | Martin Kiewitz | |
svn-id: r49345 | |||
2010-05-31 | SCI: when getting invalid chars in kReadNumber don't error() out, but create ↵ | Martin Kiewitz | |
a warning - we get invalid chars in the intro of lsl5, cause currently unknown svn-id: r49344 | |||
2010-05-31 | Merged several script instantiation-related functions inside ↵ | Filippos Karapetis | |
script_instantiate() svn-id: r49343 | |||
2010-05-31 | Cleanup | Filippos Karapetis | |
svn-id: r49342 | |||
2010-05-31 | Slight cleanup | Filippos Karapetis | |
svn-id: r49339 | |||
2010-05-30 | Limited access to the script export table and synonyms block | Filippos Karapetis | |
svn-id: r49338 | |||
2010-05-30 | SCI: Merge setLockers(1) call into Script::init | Max Horn | |
svn-id: r49337 | |||
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 | Cleanup | Filippos Karapetis | |
svn-id: r49334 | |||
2010-05-30 | Cleanup | Filippos Karapetis | |
svn-id: r49333 | |||
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 | kScriptID can be used to load scripts with no exports. Don't throw warnings ↵ | Filippos Karapetis | |
in this case if no export is requested, as it's perfectly normal behavior svn-id: r49331 | |||
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 | Unified the script loading code, and marked an issue with the SCI11 heap ↵ | Filippos Karapetis | |
addresses svn-id: r49329 | |||
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-30 | Fixed findGameObject() for SCI11 games | Filippos Karapetis | |
svn-id: r49326 | |||
2010-05-30 | Clarify reasoning behind hack in Script::scriptRelocate() | Lars Skovlund | |
svn-id: r49320 | |||
2010-05-29 | Limit access to the _classTable array (now it's directly accessible only ↵ | Filippos Karapetis | |
inside saveLoadWithSerializer() svn-id: r49318 | |||
2010-05-29 | Mass renaming of selector-related functions, and removed some defines which ↵ | Filippos Karapetis | |
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317 | |||
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-29 | Cleanup | Filippos Karapetis | |
svn-id: r49312 | |||
2010-05-29 | Removed the scriptRelocateExportsSci11() hack. The open spell in QFG1VGA ↵ | Filippos Karapetis | |
works now (thanks to waltervn for all his help on this) svn-id: r49311 | |||
2010-05-29 | Removed the hack inside findGameObject(), and replaced it with code from the ↵ | Filippos Karapetis | |
segment manager, till we find out why the segment is sometimes off by 1 (note that findGameObject() works fine for finding the game ID itself) svn-id: r49310 | |||
2010-05-29 | Fixed regression in SCI2-SCI21 games from commit 49308 | Filippos Karapetis | |
svn-id: r49309 | |||
2010-05-29 | Added a method to the resource manager, to limit the places where script ↵ | Filippos Karapetis | |
exports are accessed, since for SCI11 and newer exports can be functions and objects (first step in removing scriptRelocateExportsSci11(), which is a gross hack and it fails in QFG1VGA) svn-id: r49308 | |||
2010-05-28 | Silenced some superfluous warnings in KQ5CD | Filippos Karapetis | |
svn-id: r49294 | |||
2010-05-28 | Added some more info when severe script errors occur | Filippos Karapetis | |
svn-id: r49293 | |||
2010-05-28 | Cleaned up detectGfxFunctionsType() slightly, and made it work for Hoyle 1 ↵ | Filippos Karapetis | |
and 2 properly. svn-id: r49292 | |||
2010-05-28 | Cleanup | Filippos Karapetis | |
svn-id: r49290 | |||
2010-05-28 | Added comments to kMergePoly() | Filippos Karapetis | |
svn-id: r49289 | |||
2010-05-28 | Added a stub for kMergePoly, to avoid crashing in QFG1VGA after killing a ↵ | Filippos Karapetis | |
monster svn-id: r49288 |