Age | Commit message (Collapse) | Author |
|
This is a major rewrite of the graphics code. A slightly adapted
version of the old code is still available and currently the default.
The new code is selectable in sci.cpp, but is not yet finished.
svn-id: r44565
|
|
(usually), or to signal success in some special occasions
svn-id: r44505
|
|
ShowSends, ShowObjs, ShowFree, StackUsage and Profiler) to be dummy functions - we have our own debugger, and don't use these functions for debugging
- Removed the function number parameter from all kernel functions, as it's no longer needed, and removed the FAKE_FUNCT_NR hack
- Removed kUnknown() and kStub()
- Dummy/unknown kernel functions are no longer invoked, and a warning is shown instead, with the paremeters passed to them
Note: there is an evil hack used for debugging scripts in invoke_selector(), which probably no longer works now
svn-id: r44461
|
|
All string access to segments should now work with both raw and non-raw
(reg_t) segments, using the new utility functions in segMan.
There will likely be regressions.
svn-id: r44388
|
|
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations
svn-id: r44359
|
|
svn-id: r44356
|
|
svn-id: r44173
|
|
svn-id: r44151
|
|
svn-id: r44130
|
|
svn-id: r44128
|
|
svn-id: r44099
|
|
svn-id: r44093
|
|
svn-id: r44083
|
|
svn-id: r44082
|
|
getresourceManager -> getResourceManger
resourceManager -> resMan
segmentManager ->segMan
svn-id: r43908
|
|
svn-id: r43907
|
|
* removed kNOP
* renamed k_Unknown to kUnknown
* added FIXME to kfunct_mappers table
* more cleanup
svn-id: r43906
|
|
removed eventually)
svn-id: r43905
|
|
svn-id: r43834
|
|
- 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
|
|
svn-id: r43572
|
|
svn-id: r43218
|
|
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
|
|
know when they're used and how they're called
svn-id: r42170
|
|
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: r42044
|
|
svn-id: r41340
|
|
VIEW_PRIORITY and PRIORITY_BAND_FIRST wrappers
svn-id: r41338
|
|
(following our conventions); also slightly changed the EngineState constructor to init _version & _flags, and used this to make them constant
svn-id: r41177
|
|
kernel func map in kernel.cpp a bit
svn-id: r41176
|
|
moved any 'extern' decls of them into a new header file
svn-id: r41163
|
|
inside the Kernel class and moved gfxw_find_port inside the GfxVisual struct
svn-id: r41125
|
|
saving/loading is broken)
svn-id: r41101
|
|
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
|
|
- 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
|
|
svn-id: r41051
|
|
by changing the executionStack implementation to a list.
svn-id: r40971
|
|
svn-id: r40959
|
|
svn-id: r40938
|
|
svn-id: r40931
|
|
svn-id: r40804
|
|
svn-id: r40772
|
|
svn-id: r40767
|
|
svn-id: r40754
|
|
(and incorrect) fallback code in k_Unknown
svn-id: r40739
|
|
kmisc.cpp
svn-id: r40738
|