Age | Commit message (Collapse) | Author |
|
different in Mac versions. At least, Mac versions should start now
svn-id: r43747
|
|
svn-id: r43744
|
|
SCI_VERSION_3 (each version has a different kernel table).
- Improve map detection.
- Fix SCI32 object and script initialization (Torin's Passage and GK1 scripts now start up, and probably most SCI2/2.1 games).
- Add SCI2 and SCI2.1 kernel tables.
svn-id: r43742
|
|
some multilingual SCI1 games
svn-id: r43730
|
|
- Made some version comparisons for old SCI0 versions easier to read
- Removed the GET_SEL32SV macro
svn-id: r43729
|
|
svn-id: r43725
|
|
- Replaced some EngineState parameters
- The SCI version is now obtained from the resource manager or the segment manager, thereby simplifying several functions
- Plugged 2 leaks in the fallback detector
- Renamed the segment manager and resource manager to "segmentManager" and "resourceManager" in all places, for consistency
svn-id: r43722
|
|
svn-id: r43718
|
|
svn-id: r43711
|
|
several "invalid selector" VM crashes caused by duplicate classes.
svn-id: r43680
|
|
all SCI0-SCI11 games can now be detected correctly from the fallback detector
- Simplified some checks for old script types
svn-id: r43678
|
|
svn-id: r43572
|
|
svn-id: r43571
|
|
svn-id: r43566
|
|
svn-id: r43564
|
|
svn-id: r43549
|
|
SCI32 is enabled).
svn-id: r43528
|
|
is the proper solution for removing the hack in the fallback detector, but it still needs work. Also, reduced the things needed to be initialized a bit, so that the detection is a bit faster
svn-id: r43510
|
|
some of Sierra's internal IDs to our own ones
- The class table is now created in the segment manager constructor
svn-id: r43504
|
|
svn-id: r43497
|
|
svn-id: r43483
|
|
svn-id: r43482
|
|
I touched (and probably others I luckily didn't touch) seem to assume that files including them will supply needed types. That looks like a major issue in SCI. Someone with knowledge of the SCI code should look into this and cleanup the includes of *all* SCI headers.
svn-id: r43459
|
|
need as parameters, instead of the whole EngineState
- Moved the class table in the Segment manager - it's the only class using it directly
- Removed the sci11 flag from save games (we already know this, we don't need to store it)
- Moved script_get_segment() and get_class_address() inside the segment manager class
- Removed the script_locate_by_segment wrapper
- Simplified script_lookup_export() a lot by removing some paranoia checks
- Added some WIP code for automatically determining the game id in the fallback detector (still not working)
- General cleanup
svn-id: r43458
|
|
as much as possible. All SCI_VERSION_* information was removed from
detection.cpp (much of it was incorrect anyway).
svn-id: r43449
|
|
svn-id: r43407
|
|
detection.cpp (should be detectable). Cleanup.
svn-id: r43390
|
|
svn-id: r43289
|
|
svn-id: r43268
|
|
svn-id: r43218
|
|
svn-id: r43217
|
|
svn-id: r42866
|
|
svn-id: r42609
|
|
svn-id: r42599
|
|
svn-id: r42587
|
|
static data, which never changes during a game)
svn-id: r42398
|
|
for testing only
svn-id: r42394
|
|
signal completion when starting it. This fixes a sync issue with
the departing spaceship at the start of SQ4CD (after the intro).
svn-id: r42385
|
|
svn-id: r42376
|
|
doSound"
svn-id: r42375
|
|
names to some demos which are missing them (KQ4, LSL1, LSL3, Iceman and Christmas1992)
svn-id: r42372
|
|
svn-id: r42371
|
|
take absolute lofs parameters (a regression of commit #42260)
svn-id: r42297
|
|
- Enabled the parts where disassemble() is called
svn-id: r42263
|
|
saving/loading
svn-id: r42262
|
|
auto-detection)
svn-id: r42261
|
|
- Renamed struct DebugState to ScriptState and r_amp_rest to restAdjust inside EngineState. Changed restAdjust to be a uint16 (actually it is a uint16, but it was being casted back and forth from an unsigned integer, so this clears up its type and size)
- Moved the script state variables from inside the run_vm() into the ScriptState struct, so that they can be accessed by the console commands and the script debugger all the time, and removed the weird isValid code
svn-id: r42260
|
|
to appropriate debug messages
svn-id: r42240
|
|
sci_max_resource_nr array), as it doesn't serve any real purpose and leads to strange errors: if a resource is found which is bigger than the maximum number, it will be remapped to an incorrect number from this check. This makes KQ5CD work properly again (resources would be remapped to incorrect resource numbers from this code as a result of not updating this array with the latest SCI version merges).
svn-id: r42219
|
|
which are only used for auto-detection from the convenience selector map and placed feature auto-detection in a separate function. Also, now the automatically detected graphics resources are shown in the console.
svn-id: r42212
|