Age | Commit message (Collapse) | Author |
|
svn-id: r48050
|
|
svn-id: r48049
|
|
svn-id: r47918
|
|
svn-id: r47850
|
|
svn-id: r47707
|
|
invoke_selector
svn-id: r47665
|
|
svn-id: r47009
|
|
svn-id: r47007
|
|
svn-id: r46635
|
|
svn-id: r45903
|
|
and we have the same functionality in the debug console
- Merged the view signal flags from kernel.h and gui_animate.h, and named them appropriately. Also, updated the notes next to them, cause some were incorrectly marked as not used in our engine
- Added a note about a hack used in the old GUI in the view signal flags
- Moved the control state flags inside gui_helpers.h
svn-id: r45310
|
|
svn-id: r45234
|
|
svn-id: r45122
|
|
detections and rewrote it to work in a similar fashion to the other detections
svn-id: r44836
|
|
svn-id: r44629
|
|
console.cpp, and switch other code using it to use findObjectByName() instead.
svn-id: r44628
|
|
(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
|
|
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations
svn-id: r44359
|
|
- 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
|
|
svn-id: r44173
|
|
svn-id: r44170
|
|
svn-id: r44153
|
|
svn-id: r44152
|
|
svn-id: r44129
|
|
svn-id: r44126
|
|
getObjectName, respectively)
- Renamed alloc_List -> allocateList, alloc_Node->allocateNode, alloc_hunk_entry->allocateHunkEntry, free_hunk_entry->freeHunkEntry, for consistency
svn-id: r44039
|
|
svn-id: r43980
|
|
getresourceManager -> getResourceManger
resourceManager -> resMan
segmentManager ->segMan
svn-id: r43908
|
|
removed eventually)
svn-id: r43905
|
|
- 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
|
|
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
|
|
static data, which never changes during a game)
svn-id: r42398
|
|
svn-id: r42167
|
|
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
|
|
svn-id: r41127
|
|
saving/loading is broken)
svn-id: r41101
|
|
where invoke_selector should stop
svn-id: r41095
|
|
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
|
|
svn-id: r41057
|
|
svn-id: r41054
|
|
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
|
|
- Fix unused variable warning in scriptdebug.cpp
svn-id: r41038
|
|
- 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
|
|
console.cpp. "list" and "hexgrep" have been added to the console commands. parse_reg_t() has been moved to kmovement.cpp (as it's the only code using it). Note that the debug commands in scriptdebug.cpp have not been converted yet, so they don't work at the moment
svn-id: r41024
|
|
comments to global static vars that should be removed (many more exist in SCI, Tinsel, and some other engines)
svn-id: r40908
|