Age | Commit message (Collapse) | Author |
|
- rename segGet and getSegment to getScriptSegment; the two can be
distinguished by the parameter count.
- rename type SCRIPT_GET to ScriptLoadType to conform with our code
formatting conventions
- rename get_class_address to getClassAddress
- some cleanup
svn-id: r43981
|
|
svn-id: r43937
|
|
to allocateClone()
svn-id: r43935
|
|
getresourceManager -> getResourceManger
resourceManager -> resMan
segmentManager ->segMan
svn-id: r43908
|
|
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
|
|
- Made some version comparisons for old SCI0 versions easier to read
- Removed the GET_SEL32SV macro
svn-id: r43729
|
|
- 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
|
|
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: r43571
|
|
some of Sierra's internal IDs to our own ones
- The class table is now created in the segment manager constructor
svn-id: r43504
|
|
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
|
|
svn-id: r42866
|
|
static data, which never changes during a game)
svn-id: r42398
|
|
removed game flag GF_SCI0_OLD
svn-id: r42211
|
|
svn-id: r42167
|
|
svn-id: r41647
|
|
svn-id: r41349
|
|
(following our conventions); also slightly changed the EngineState constructor to init _version & _flags, and used this to make them constant
svn-id: r41177
|
|
svn-id: r41166
|
|
out if something went wrong and open the debugger console. Changed all the places where they were used to error() out instead, as ScummVM's debugger console can open on error()
svn-id: r41073
|
|
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
|
|
svn-id: r41025
|
|
fprintf calls should probably be replaced by suitable debug/debugC/debugN invocations)
svn-id: r40993
|
|
svn-id: r40804
|
|
svn-id: r40767
|
|
svn-id: r40742
|
|
now); switched MemObject to subclass Common::Serializable
svn-id: r40714
|
|
svn-id: r40690
|
|
svn-id: r40688
|
|
svn-id: r40687
|
|
management to Common::Array)
svn-id: r40686
|
|
params to SegmentId
svn-id: r40685
|
|
svn-id: r40683
|
|
svn-id: r40599
|
|
svn-id: r40598
|
|
svn-id: r40597
|
|
entries in the process. Also, added a sanity check for invalid game entries
svn-id: r40596
|
|
SCI1.1 games.
svn-id: r40575
|
|
checks with flags.
- The SCI0 new script header and the angles check have been replaced by the GF_SCI0_OLD flag
- The SCI0 new drawpic parameter and the new priority check have been replaced by the GF_SCI0_OLDGFXFUNCS flag
- Removed the code which retries to use the newer script header in SCI0 games if the detected one is wrong, as that case should be covered by the GF_SCI0_OLD flag
- Removed the leftover min_version and max_version variables from gamestate
- Cleaned up kGetTime() a bit
svn-id: r40552
|
|
svn-id: r40515
|
|
svn-id: r40514
|
|
svn-id: r40492
|
|
internally. Increased savegame version, breaking compatibility to the previous one -- sorry for that, but some of my previous changes accidentally messed up the table syncing, resulting in messed up savegames anyway; these breakages should be fixed with this commit
svn-id: r40453
|
|
Common::Array<CodeBlock>
svn-id: r40433
|
|
svn-id: r40431
|
|
svn-id: r40377
|
|
svn-id: r40376
|
|
svn-id: r40375
|
|
svn-id: r40374
|