Age | Commit message (Collapse) | Author |
|
svn-id: r43756
|
|
svn-id: r43752
|
|
about a potential problem with language detection with some SCI games
svn-id: r43751
|
|
svn-id: r43750
|
|
svn-id: r43749
|
|
- Added detection for GK1 to the fallback detector
- Removed the rest of the executable reading code, as it's no longer used
svn-id: r43746
|
|
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
|
|
svn-id: r43727
|
|
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: r43699
|
|
prevented a crash when detecting a SCI32 game if SCI32 isn't compiled in
svn-id: r43698
|
|
executable in the fallback detector. We no longer use the actual SCI version string, and we can auto-detect a lot of features from the game resources now. The EXE version string was only used to display the detected SCI version in the console, which isn't very useful to us anymore.
- Added detection for PC and Amiga versions based on the game's detected view types. Still need to do detection for Mac and Atari ST versions
svn-id: r43683
|
|
svn-id: r43682
|
|
all SCI0-SCI11 games can now be detected correctly from the fallback detector
- Simplified some checks for old script types
svn-id: r43678
|
|
detection code was based on FSNode, but since SCI seems to call engine internal code for detection which operates via File, there was the need to use File::addDefaultDirectory to have it working. The problem here is that the default directories are not reset after game detection, since the caller code assumes it's all done via FSNode. A simple change to use SearchMan, which is used internally by File, to add the default directory and removing it later on in the SCI detection code fixed the issue. Of course that is still slightly of a HACK, but it is much nicer than to rewrite engine internal code to use FSNode, just to be usable for game detection. I added a possible solution to remove the HACK as sourcecode comment.
svn-id: r43613
|
|
svn-id: r43565
|
|
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
|
|
hack currently used in the fallback detector
svn-id: r43509
|
|
some of Sierra's internal IDs to our own ones
- The class table is now created in the segment manager constructor
svn-id: r43504
|
|
a define
svn-id: r43503
|
|
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
|
|
by Strangerke).
svn-id: r43190
|
|
svn-id: r42525
|
|
svn-id: r42524
|
|
with _gfxop_set_pic(), which was causing crashes in that game
svn-id: r42523
|
|
svn-id: r42373
|
|
with some slight formatting changes
svn-id: r42300
|
|
removed game flag GF_SCI0_OLD
svn-id: r42211
|
|
has been removed and versions SCI_VERSION_01_EGA and SCI_VERSION_01_VGA have been merged into SCI_VERSION_01
- Simplified the checks for EGA and VGA graphics
- Fixed a bug in script_adjust_opcode_formats()
- Simplified the code in GfxResManager::getView() a bit
svn-id: r42206
|
|
svn-id: r42181
|
|
svn-id: r42178
|
|
detected now. Removed the GF_SCI1_LOFSABSOLUTE game flag
svn-id: r42118
|
|
of the "setVol" selector. Removed game flag GF_SCI1_NEWDOSOUND
svn-id: r42087
|
|
from the presence of the "TimesSin" and "SinMult" kernel functions. Removed the GF_SCI0_OLDGFXFUNCS game flag
svn-id: r42081
|
|
kernel name tables in one table. vocab.999 is only used in SCI0 and SCI01 games if it exists as an override to the default kernel name table (which works with SCI0/SCI01 demos with no vocab.999, like KQ1 and xmas1998). Removed GF_SCI0_SCI1VOCAB.
svn-id: r42050
|
|
Demo (original from Patch #2795916). I'm also fixing the full game as well :)
svn-id: r41841
|
|
svn-id: r41517
|
|
svn-id: r41485
|
|
svn-id: r41326
|
|
svn-id: r41325
|
|
svn-id: r41272
|
|
GF_SCI1_NEWSETCURSOR
- Removed the 3 mouse pointer view, loop and cell variables (and their 3 "save" versions) from the game state, as they're all actually not used anywhere
- Cleanup
svn-id: r40976
|
|
newer) and fixed the detection entry for SQ4CD
svn-id: r40935
|
|
comments to global static vars that should be removed (many more exist in SCI, Tinsel, and some other engines)
svn-id: r40908
|
|
svn-id: r40898
|
|
svn-id: r40742
|