Age | Commit message (Collapse) | Author |
|
- Detection works via signatures (couldn't find a better way)
- new kString subcalls were introduced SCI2.1 LATE
- kString now has signatures and is split via subcall table
- kString fix, so that KQ7 doesn't crash, when starting a chapter
- Sci2StringFunctionType removed, because no longer needed
|
|
|
|
|
|
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)
|
|
|
|
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]*$//'
|
|
|
|
Having a deleted script with non-zero lockers had the side effect of
making the deleted script re-appear in the GC's work list, including
any (deleted) objects in the script.
This should be the root cause of bugs #3299458 and #3295849, so
also delete the workaround added for that in 35086fe1.
|
|
|
|
|
|
changes regarding hunk pointers in r0d555c4
|
|
shower"
This is a regression from the new kInitBresen/kDoBresen functions, enabled in r52467.
Many thanks to waltervn for his work in bisecting this. The actual bug should be
found, but since only this death scene has an issue, it's not really worth the
effort. The old functions are based on observations, so there are many differences in
the way that they behave. If another test case is found, then this shall be examined
further. Until then, this simple and unobtrusive hack will do.
svn-id: r55251
|
|
svn-id: r55086
|
|
svn-id: r54350
|
|
svn-id: r54328
|
|
svn-id: r54327
|
|
svn-id: r54307
|
|
In version 1.002.011, global 3, used for timing, is incorrectly initialized
to 0, whereas it should be 6 (like in other versions). Initializing it to
the correct value fixes the speed in the intro. This has been based on the
patch for that version by NewRisingSun(NRS) / Belzorash
svn-id: r54298
|
|
- Added a TODO for the usage of the -info- selector in kClone and kDisposeClone in
SCI3 scripts, as it's no longer used in SCI3
- Added information about which of the selectors are missing in SCI3. There are
some more which are missing, but aren't used in SCI2-SCI3 anyway
- Some styling
svn-id: r54291
|
|
svn-id: r54280
|
|
thx to tortoisegit and broken conflict managment
svn-id: r52585
|
|
remove class bit when marking as clone
svn-id: r52584
|
|
This fixes a regression affecting many SCI32 games and possibly other games,
looping or recursing endlessly.
svn-id: r52583
|
|
and fixing possible crash & typo
svn-id: r52565
|
|
svn-id: r52563
|
|
svn-id: r52562
|
|
The actual names for the bug reports are:
#3035650 "PEPPER non-interactive demo: Crash"
#3039566 "LAURABOW2: Crash during introduction"
Those crashes were caused by an invalid memory dereference in kClone. This
in turn was happening, because the parent object pointer might have been
invalidated in cases where the parent object is also a clone.
svn-id: r52561
|
|
now also checking -info- selector, if object is supposed to get freed. Fixes kq4 early hanging (in intro, when opening door, etc.)
svn-id: r52508
|
|
svn-id: r51666
|
|
svn-id: r51409
|
|
slightly. We no longer use the number Sierra gives us directly, but use a function to convert to our ResourceType enum based on version. This allows us to read the chunk type from SCI2.1 (a form of script). Also, allow debugging of Mac-specific resources from the console.
svn-id: r50973
|
|
now), added information about parameters
svn-id: r50806
|
|
the requested type). Happens e.g. in KQ6 and LSL6
svn-id: r50595
|
|
workaround for kDisposeScript / qfg1 room 64 and adding it to workaround table
svn-id: r50520
|
|
manager
svn-id: r50402
|
|
opcode-related code inside vm.cpp/.h
svn-id: r50396
|
|
bigger than 9 characters, when dealing with VMD videos
svn-id: r50355
|
|
It constantly tries to free the saved area rectangle (underbits) underneath the popup window
svn-id: r50352
|
|
svn-id: r50012
|
|
svn-id: r49995
|
|
svn-id: r49931
|
|
svn-id: r49913
|
|
svn-id: r49841
|
|
svn-id: r49662
|
|
Object class resides. Also, removed several unused defines
svn-id: r49406
|
|
svn-id: r49338
|
|
in this case if no export is requested, as it's perfectly normal behavior
svn-id: r49331
|
|
Script class
svn-id: r49327
|
|
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
|
|
works now (thanks to waltervn for all his help on this)
svn-id: r49311
|