Age | Commit message (Collapse) | Author |
|
since it gets replaced during loading. Fixes loading (a regression from #44730)
svn-id: r44771
|
|
of start_game_time when restoring a game
svn-id: r44770
|
|
- Renamed gui -> _gui in EngineState, for consistency
- Added a reference to SciGuiCursor in EngineState, to be used by current code
- Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor
- Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position.
svn-id: r44760
|
|
svn-id: r44730
|
|
svn-id: r44644
|
|
svn-id: r44629
|
|
svn-id: r44581
|
|
things)
svn-id: r44495
|
|
- Added a convenience member inside the EngineState struct to access the instance of the Vocabulary class
svn-id: r44481
|
|
Also remove syncCStr()
svn-id: r44358
|
|
- 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: r44250
|
|
svn-id: r44249
|
|
svn-id: r44246
|
|
svn-id: r44243
|
|
SegmentObj::createSegmentObj call in SegManager::allocSegment by several explicit 'new' statements; some extra cleanup
svn-id: r44242
|
|
Script::_objects by a HashMap -- goodbye, class IntMapper
svn-id: r44240
|
|
and scriptObjInit11 to be more similar
svn-id: r44234
|
|
svn-id: r44173
|
|
svn-id: r44170
|
|
svn-id: r44155
|
|
defines and adding appropriate methods to the Object structure
svn-id: r44138
|
|
svn-id: r44130
|
|
svn-id: r44126
|
|
svn-id: r44099
|
|
svn-id: r44093
|
|
getObjectName, respectively)
- Renamed alloc_List -> allocateList, alloc_Node->allocateNode, alloc_hunk_entry->allocateHunkEntry, free_hunk_entry->freeHunkEntry, for consistency
svn-id: r44039
|
|
svn-id: r44015
|
|
svn-id: r43999
|
|
bool, and rename setExportWidth() to setExportAreWide()
svn-id: r43988
|
|
Common::HashMap<int,int>
This simplifies the code considerably. Also changed the savegame format
accordingly, which required me to bump the format version to 10. Old
saves should still load fine.
svn-id: r43986
|
|
svn-id: r43985
|
|
- 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
|
|
changes, and it's used in one place only)
svn-id: r43936
|
|
to allocateClone()
svn-id: r43935
|
|
svn-id: r43916
|
|
svn-id: r43913
|
|
getresourceManager -> getResourceManger
resourceManager -> resMan
segmentManager ->segMan
svn-id: r43908
|
|
- 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
|
|
all SCI0-SCI11 games can now be detected correctly from the fallback detector
- Simplified some checks for old script types
svn-id: r43678
|
|
some of Sierra's internal IDs to our own ones
- The class table is now created in the segment manager constructor
svn-id: r43504
|
|
svn-id: r43482
|
|
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
|
|
static data, which never changes during a game)
svn-id: r42398
|
|
saving/loading
svn-id: r42262
|
|
auto-detection)
svn-id: r42261
|
|
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
|