Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2010-05-28 | SCI: read out vol selector on initSound/playSound for sci1early ↵ | Martin Kiewitz | |
(soundversion) as well - fixes lsl1demo svn-id: r49285 | |||
2010-05-27 | SCI: disabling music fading again, but only for sci32 - drivers seem to have ↵ | Martin Kiewitz | |
issues when fading in on gk1/sierra logo svn-id: r49271 | |||
2010-05-27 | SCI: enabling fading again, issues in pharkas and gk1demo are actually ↵ | Martin Kiewitz | |
"normal" - maybe we should add some hack workaround, but the delay in ssci was just slow resource loading svn-id: r49269 | |||
2010-05-27 | Fix starting GK1. | Matthew Hoops | |
svn-id: r49265 | |||
2010-05-27 | SCI: removing tab from vo output (debug console) | Martin Kiewitz | |
svn-id: r49264 | |||
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-27 | Added an explanation for audio36 and sync36 external patches | Filippos Karapetis | |
svn-id: r49262 | |||
2010-05-27 | SCI: fixing resuming samples - fixes hang when ship is flying away happening ↵ | Martin Kiewitz | |
when you entered menu during that sequence svn-id: r49261 | |||
2010-05-27 | Split all of the audio-related functions of the resource manager in a ↵ | Filippos Karapetis | |
separate file svn-id: r49260 | |||
2010-05-27 | Slight formatting, and added a note that audio36 and sync36 resource patches ↵ | Filippos Karapetis | |
were introduced in SCI2, and didn't exist in SCI0-SCI1.1 svn-id: r49259 | |||
2010-05-27 | Add the Mac sync resource type and allow for more than 9 Mac SCI1.1+ data files. | Matthew Hoops | |
svn-id: r49255 | |||
2010-05-26 | Made _k_new_node() a method of the segment manager, and fixed a bug with the ↵ | Filippos Karapetis | |
rarely used SCI0 kernel function kSort in the process (_k_new_node was called with key, value instead of value, key inside kSort) svn-id: r49251 | |||
2010-05-26 | SCI: fixing kReadNumber to behave like in sierra sci (non standard atoi ↵ | Martin Kiewitz | |
implementation) - fixes big door not unlocking in sq4 svn-id: r49250 | |||
2010-05-26 | SCI: More const related changes; remove unnecessary casts which hide const ↵ | Max Horn | |
issues svn-id: r49248 | |||
2010-05-26 | SCI: adding another workaround for picture 376 in sq4/cd (same issue like ↵ | Martin Kiewitz | |
originally found in r49216) svn-id: r49247 | |||
2010-05-26 | SCI: Making various object and script related things const | Max Horn | |
svn-id: r49246 | |||
2010-05-26 | SCI: Simplify appending string 'seeker' to sierraId | Max Horn | |
svn-id: r49244 | |||
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 | SCI: adding another hack to sci32 picture drawing, fixes crash in sci32 ↵ | Martin Kiewitz | |
games introduced by r49216 svn-id: r49238 | |||
2010-05-26 | Avoid adding a null char in the sierraId Common::String | Filippos Karapetis | |
svn-id: r49234 | |||
2010-05-26 | Formatting | Filippos Karapetis | |
svn-id: r49233 | |||
2010-05-26 | Added more info to the warning thrown when argc > 1 while modifying a ↵ | Filippos Karapetis | |
variable selector in send_selector() svn-id: r49232 |