Filippos Karapetis
d71aec0b39
SCI: Changed a warning about wrong object variable count into a debugC
2011-10-11 01:39:56 +03:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
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-06-20 00:59:48 +02:00
Max Horn
8615cecfe0
SCI: Constify Object::_baseVars
...
This may have to be undone if we ever want to start free'ing _baseVars again.
2011-05-25 16:44:50 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Matthew Hoops
8f40a18146
SCI: Remove a space at the end of a warning
2011-03-14 18:48:43 -04:00
Willem Jan Palenstijn
c1cdc49ac5
SCI: Add code to enumerate shadowed selectors
...
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-14 20:34:16 +01:00
Willem Jan Palenstijn
0360b4ac95
SCI: Add reference to related bug to comment
2011-03-13 18:28:01 +01:00
Willem Jan Palenstijn
bd6602ea6f
SCI: Clarify fix for KQ5 witch freeze bug #3034714
...
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-03-11 23:09:13 +01:00
Willem Jan Palenstijn
190bd60505
SCI: Make SCI3 propertyId endianness hack a bit cleaner
...
svn-id: r55542
2011-01-26 16:51:18 +00:00
Max Horn
fec516e2b0
SCI: cleanup
...
svn-id: r55539
2011-01-25 20:21:57 +00:00
Lars Skovlund
e1a9c866bf
SCI3: Fix script abort during startup on Big Endian platforms
...
svn-id: r55525
2011-01-25 10:21:44 +00:00
Lars Skovlund
a03a3fd411
Fix code formatting
...
svn-id: r55026
2010-12-23 14:05:16 +00:00
Lars Skovlund
5b2071487f
SCI: Unbreak script loading on big-endian machines. Thanks to [md5] and wjp.
...
svn-id: r55025
2010-12-23 14:03:58 +00:00
Filippos Karapetis
42dc70bb83
- SCI: Added code to free the _baseVars value in SCI3 as well. Both free() operations
...
have been commented out for now, as MSVC complains about heap corruption in SCI3 games
- Code formatting fixes
svn-id: r54991
2010-12-21 21:18:25 +00:00
Lars Skovlund
7b0760f1bc
Make Object::_baseMethod a Common::Array. This is intended to clean up
...
the Object class, and it also plugs a leak.
svn-id: r54986
2010-12-21 15:36:27 +00:00
Filippos Karapetis
eba5c441b2
SCI: Fixed bug #3044050 - "SQ4FLOPPY: Crash while flying in Skate-o-Rama"
...
Fixed Object::locateVarSelector() for SCI0-SCI1 games, as it wasn't checking the
class for object variables
svn-id: r54415
2010-11-22 10:23:53 +00:00
Filippos Karapetis
3b07056a47
SCI: Moved the Object class in a separate file
...
svn-id: r54361
2010-11-19 08:18:24 +00:00