Age | Commit message (Collapse) | Author |
|
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
|
|
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
|
|
svn-id: r43217
|
|
static data, which never changes during a game)
svn-id: r42398
|
|
- 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
|
|
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
|
|
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
|
|
detected now. Removed the GF_SCI1_LOFSABSOLUTE game flag
svn-id: r42118
|
|
from the presence of the "TimesSin" and "SinMult" kernel functions. Removed the GF_SCI0_OLDGFXFUNCS game flag
svn-id: r42081
|
|
svn-id: r41349
|
|
svn-id: r41227
|
|
(following our conventions); also slightly changed the EngineState constructor to init _version & _flags, and used this to make them constant
svn-id: r41177
|
|
inside the Kernel class and moved gfxw_find_port inside the GfxVisual struct
svn-id: r41125
|
|
svn-id: r41123
|
|
svn-id: r41102
|
|
saving/loading is broken)
svn-id: r41101
|
|
"kernel_words" console command, as it's exactly the same as "parser_words"
svn-id: r41065
|
|
svn-id: r41057
|
|
svn-id: r41051
|
|
"fill_screen"
- Removed some FreeSCI-specific variables for checking of the on-screen console
- Removed the Control-1 key combo - the console command "visual_state" can be used for the same reason
svn-id: r41040
|
|
- Turned all SCIkwarn and SCIkdebug functions to ScummVM's debugC function
- Placed some debug code in appropriate defines: DEBUG_PARSER, DEBUG_AVOIDPATH and DEBUG_SOUND
- Removed the "debuglog" command and the "script_checkloads_flag" and "sci_debug_flags" variables
svn-id: r41033
|
|
"show_map") and removed the GFXWC macro. Some cleanup
svn-id: r41032
|
|
"redraw_screen", "save_game", "restore_game", "restart_game", "class_table", "parser_words", "current_port" and "parse_grammar"
svn-id: r41029
|
|
- 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
|
|
svn-id: r40978
|
|
svn-id: r40977
|
|
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
|
|
member methods)
svn-id: r40973
|
|
svn-id: r40958
|
|
svn-id: r40938
|
|
svn-id: r40915
|
|
comments to global static vars that should be removed (many more exist in SCI, Tinsel, and some other engines)
svn-id: r40908
|
|
svn-id: r40772
|
|
svn-id: r40767
|
|
svn-id: r40742
|
|
remove the relevant code completely, though, it seems useless, esp. as long as we hardcode the way we interpret every opcode
svn-id: r40740
|
|
code should be even stricter in detecting invalid VM stack access (and some bugs when loading saves might be fixed now...)
svn-id: r40694
|
|
svn-id: r40689
|
|
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp
svn-id: r40608
|
|
svn-id: r40599
|
|
entries in the process. Also, added a sanity check for invalid game entries
svn-id: r40596
|
|
code formatting conventions
svn-id: r40578
|
|
running SCI1 game is VGA or not (better than modifying the detected SCI resource version)
svn-id: r40566
|
|
SCI1 EGA games should *really* be working now
svn-id: r40565
|
|
- Fixed the wrong detected versions of Laura Bow 2
- Changed some code regarding the resource loader of Jones in the Fast Lane (which is still non-functional)
svn-id: r40564
|
|
feature flag GF_SCI1_NEWDOSOUND
svn-id: r40561
|