aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/object.cpp
AgeCommit message (Collapse)Author
2012-06-18SCI: Add setter/getter methods to reg_t'sFilippos Karapetis
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB)
2012-06-15SCI: Change getClassAddress() to only require the caller segmentFilippos Karapetis
The caller offset is never actually used inside the function
2012-06-15SCI: _propertyOffsetsSci3 and classpos should be 32-bit integersFilippos Karapetis
These are needed for future handling of large SCI3 script files
2011-10-11SCI: Changed a warning about wrong object variable count into a debugCFilippos Karapetis
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-25SCI: Constify Object::_baseVarsMax Horn
This may have to be undone if we ever want to start free'ing _baseVars again.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-14SCI: Remove a space at the end of a warningMatthew Hoops
2011-03-14SCI: Add code to enumerate shadowed selectorsWillem Jan Palenstijn
If an object defines more variables than its base class, some method selectors may be hidden. This code tries to enumerate the affected selectors. It may be useful for mass-scanning objects using 'find_callk Dummy'. It's disabled by default currently since it does things to partially uninitialized objects that I can't guarantee are 100% safe at this point.
2011-03-13SCI: Add reference to related bug to commentWillem Jan Palenstijn
2011-03-11SCI: Clarify fix for KQ5 witch freeze bug #3034714Willem Jan Palenstijn
The cause for this bug turns out to be a corrupt object that as a side effect accidentally bypasses its own corruption. See the added comments for details. Also add a warning that points out similarly corrupted objects.
2011-01-26SCI: Make SCI3 propertyId endianness hack a bit cleanerWillem Jan Palenstijn
svn-id: r55542
2011-01-25SCI: cleanupMax Horn
svn-id: r55539
2011-01-25SCI3: Fix script abort during startup on Big Endian platformsLars Skovlund
svn-id: r55525
2010-12-23Fix code formattingLars Skovlund
svn-id: r55026
2010-12-23SCI: Unbreak script loading on big-endian machines. Thanks to [md5] and wjp.Lars Skovlund
svn-id: r55025
2010-12-21- SCI: Added code to free the _baseVars value in SCI3 as well. Both free() ↵Filippos Karapetis
operations have been commented out for now, as MSVC complains about heap corruption in SCI3 games - Code formatting fixes svn-id: r54991
2010-12-21Make Object::_baseMethod a Common::Array. This is intended to clean upLars Skovlund
the Object class, and it also plugs a leak. svn-id: r54986
2010-11-22SCI: Fixed bug #3044050 - "SQ4FLOPPY: Crash while flying in Skate-o-Rama"Filippos Karapetis
Fixed Object::locateVarSelector() for SCI0-SCI1 games, as it wasn't checking the class for object variables svn-id: r54415
2010-11-19SCI: Moved the Object class in a separate fileFilippos Karapetis
svn-id: r54361