Age | Commit message (Collapse) | Author |
|
- Added a convenience member inside the EngineState struct to access the instance of the Vocabulary class
svn-id: r44481
|
|
- Changed all the SCI version checks to use getSciVersion()
- Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine)
The fallback detector should work correctly now
svn-id: r44269
|
|
non-raw or vice versa
svn-id: r44245
|
|
svn-id: r44161
|
|
svn-id: r44159
|
|
getresourceManager -> getResourceManger
resourceManager -> resMan
segmentManager ->segMan
svn-id: r43908
|
|
are hardcoded anyway (plus, vocab.998 is unreliable in some games, e.g. QFG3, or completely missing in others). Also hardcoded the opcode names for the script debugger, the only place they're actually used. The only place where vocab.998 is loaded on demand is when using the "opcodes" console command (for debug/verification purposes)
svn-id: r43775
|
|
- 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
|
|
as much as possible. All SCI_VERSION_* information was removed from
detection.cpp (much of it was incorrect anyway).
svn-id: r43449
|
|
detection.cpp (should be detectable). Cleanup.
svn-id: r43390
|
|
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
|
|
debugC - it's perfectly normal not to find certain selectors in certain SCI versions. Also, fixed the SCI version enums
svn-id: r42169
|
|
svn-id: r42167
|
|
- When an error occurs, manipulate the execution stack before error() opens the console inside getDebugger(), like FreeSCI did. Added another method for obtaining the SCI console for use by the engine itself.
svn-id: r42062
|
|
svn-id: r41349
|
|
svn-id: r41318
|
|
svn-id: r41227
|
|
svn-id: r41180
|
|
svn-id: r41165
|
|
- Implemented pauseEngineIntern()
- Music now stops and resumes when entering/leaving the debugger
svn-id: r41139
|
|
saving/loading is broken)
svn-id: r41101
|
|
decypherSaidBlock -> decipherSaidBlock; some cleanup in Console::cmdSentenceFragments
svn-id: r41072
|
|
svn-id: r41071
|
|
- Rewrote the sci_opcodes enum so that it's easier to read
- Made the engine error out if data is sent to an invalid selector (which is a fatal condition)
svn-id: r41069
|
|
"kernel_words" console command, as it's exactly the same as "parser_words"
svn-id: r41065
|
|
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
|
|
svn-id: r41057
|
|
svn-id: r41051
|
|
really global var is worse); also clarified some FIXME comments that we want to avoid *any* non-const global var, no matter whether it is static or not
svn-id: r41045
|
|
(but without the static variable)
svn-id: r41044
|
|
resources, and then for SCI0 resources (as in SCI1 games, tree branches are in resource 901, which coincides with the SCI0 suffix vocabulary resource 901)
svn-id: r41026
|
|
svn-id: r41018
|
|
fprintf calls should probably be replaced by suitable debug/debugC/debugN invocations)
svn-id: r40993
|
|
- Removed a static variable (vocab_version)
- vocab.996 is now freed after creating the class table in SCI1 games, like in SCI0 games
svn-id: r40979
|
|
related to it (either vocab_version needs to become a member of EngineState/SciEngine, or we need to derive its value e.g. from the game version/flags, if that's possible)
svn-id: r40955
|
|
EcoQuest 2 working
svn-id: r40944
|
|
selectors & kernelnames debugger commands
svn-id: r40919
|
|
svn-id: r40915
|
|
svn-id: r40691
|
|
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp
svn-id: r40608
|