Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2010-05-26 | After running some tests, it appears that modifying argc inside ↵ | Filippos Karapetis | |
send_selector() was a bad idea. Reverting the relevant code, and putting the warning back, with some extra comments svn-id: r49231 | |||
2010-05-26 | Silence a warning inside send_selector(): argc > 0 means "write selector". ↵ | Filippos Karapetis | |
Added code do make sure that argc is always either 0 or 1 when referencing variable selectors (this isn't strictly necessary, but better safe than sorry...). Some cleanup svn-id: r49230 | |||
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-26 | Cleanup | Filippos Karapetis | |
svn-id: r49227 | |||
2010-05-26 | Implement QuickTime playback for SCI1.1 Mac. The 'Halfdome' and 'KQ6Movie' ↵ | Matthew Hoops | |
videos now play. However, they require multiple edit list support to look completely correct. svn-id: r49224 | |||
2010-05-25 | SCI: adding comment about error() on pattern opcodes sci1.1+ | Martin Kiewitz | |
svn-id: r49217 | |||
2010-05-25 | SCI: error out on pattern opcodes inside vector data when drawing pictures ↵ | Martin Kiewitz | |
in sci1.1+, also adding workaround for garbage data inside picture 381 in sq4 svn-id: r49216 |