Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Clarify reasoning behind hack in Script::scriptRelocate() | Lars Skovlund | |
svn-id: r49320 | |||
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-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 | 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 | SCI: Move more stuff around | Max Horn | |
svn-id: r47836 | |||
2010-01-30 | SCI: Remove extra '\n's in debugC messages | Willem Jan Palenstijn | |
svn-id: r47707 | |||
2010-01-26 | SCI: Add string support for odd-offset pointers into reg_t-based segments. | Walter van Niftrik | |
svn-id: r47572 | |||
2010-01-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2010-01-24 | SCI: Cleanup | Walter van Niftrik | |
svn-id: r47506 | |||
2009-12-30 | SCI32: | Matthew Hoops | |
- 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 | |||
2009-12-29 | SCI: returning back raw == 0, when script trying to access invalid memory | Martin Kiewitz | |
svn-id: r46720 | |||
2009-12-29 | SCI: dont crash when scripts are trying to access invalid memory (fixes ↵ | Martin Kiewitz | |
intro of lb2cd) svn-id: r46718 | |||
2009-12-23 | Some SCI32 (minor) String bug fixes and cleanup. | Matthew Hoops | |
svn-id: r46492 | |||
2009-12-21 | SCI32: | Matthew Hoops | |
- 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 | |||
2009-10-20 | - Fixed the pathfinding issue for LSL5 room 640, where Patti walks ↵ | Filippos Karapetis | |
off-screen (we still need a proper way of detecting this, though...) - Made warnings where invalid pointers are dereferenced more precise svn-id: r45257 | |||
2009-10-16 | Moved sci_ffs() inside iterator.cpp, the only place where it's actually ↵ | Filippos Karapetis | |
used, and removed tools.*. Also, removed all the unused includes to tools.h from several places svn-id: r45176 | |||
2009-10-10 | Started rewriting the Object struct into a class | Filippos Karapetis | |
svn-id: r44878 | |||
2009-10-08 | SCI: Remove outdated comment | Willem Jan Palenstijn | |
svn-id: r44805 | |||
2009-10-08 | SCI: Removed obsolete stringfrags code | Max Horn | |
svn-id: r44803 | |||
2009-09-27 | SCI: Adjust isValidOffset to match changes from r44396, | Willem Jan Palenstijn | |
and make maxSize report the valid space starting at offset. svn-id: r44421 | |||
2009-09-27 | SCI: change segment offsets in reg segments to be in half reg_t. | Willem Jan Palenstijn | |
This makes offsets in raw and reg segments consistent, which fixes string addressing in savegame dialogs. svn-id: r44396 | |||
2009-09-27 | SCI: Add warning when dereferencing non-aligned stack pointer | Willem Jan Palenstijn | |
svn-id: r44386 | |||
2009-09-23 | - Moved the SCI version in a global variable | Filippos Karapetis | |
- 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 | |||
2009-09-22 | - Merged scriptObjInit0() and scriptObjInit11() | Filippos Karapetis | |
- 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 | |||
2009-09-22 | SCI: Change SystemStrings to use RAW storage consistenly | Max Horn | |
svn-id: r44246 | |||
2009-09-22 | SCI: Add some FIXMEs, and print warning if accessing a raw segment as ↵ | Max Horn | |
non-raw or vice versa svn-id: r44245 | |||
2009-09-22 | SCI: Add new type SegmentRef which ultimately will allow us to distinguish ↵ | Max Horn | |
between raw and 'reg_t' memory blocks in client code svn-id: r44244 | |||
2009-09-22 | SCI: Change SystemString::name from char* to Common::String | Max Horn | |
svn-id: r44243 | |||
2009-09-22 | SCI: SegmentObj's now set their type in constructor; replace central ↵ | Max Horn | |
SegmentObj::createSegmentObj call in SegManager::allocSegment by several explicit 'new' statements; some extra cleanup svn-id: r44242 | |||
2009-09-21 | SCI: Replace IntMapper Script::_objIndices and Common::Array ↵ | Max Horn | |
Script::_objects by a HashMap -- goodbye, class IntMapper svn-id: r44240 | |||
2009-09-21 | SCI: Rename Object::flags and pos to _flags and _pos; tweak scriptObjInit0 ↵ | Max Horn | |
and scriptObjInit11 to be more similar svn-id: r44234 | |||
2009-09-17 | SCI: Add a global getSciVersion() function and make use of it | Max Horn | |
svn-id: r44170 | |||
2009-09-17 | SCI: Rename engine/memobj.* to engine/segment.* | Max Horn | |
svn-id: r44155 |