Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-10 | Started rewriting the Object struct into a class | Filippos Karapetis | |
svn-id: r44878 | |||
2009-10-10 | Fixed loading again - a regression from commit #44803 | Filippos Karapetis | |
svn-id: r44868 | |||
2009-10-10 | SCI: kMessage() rewrite | Walter van Niftrik | |
svn-id: r44860 | |||
2009-10-09 | Removed the unused _flags variable from EngineState | Filippos Karapetis | |
svn-id: r44857 | |||
2009-10-08 | SCI: Turn reconstruct_scripts into SegManager::reconstructScripts | Max Horn | |
svn-id: r44806 | |||
2009-10-08 | SCI: Removed obsolete stringfrags code | Max Horn | |
svn-id: r44803 | |||
2009-10-08 | Introduce a new struct TimeDate, replacing struct tm in client code. May ↵ | Max Horn | |
lead to compilation issues in ports, which should be trivial to fix, though svn-id: r44793 | |||
2009-10-08 | Restore the engine state stored within SciGui during loading once more, ↵ | Filippos Karapetis | |
since it gets replaced during loading. Fixes loading (a regression from #44730) svn-id: r44771 | |||
2009-10-08 | Removed the unused game_time variable, and fixed the incorrect calculation ↵ | Filippos Karapetis | |
of start_game_time when restoring a game svn-id: r44770 | |||
2009-10-07 | - Cleaned up the cursor code | Filippos Karapetis | |
- 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 | |||
2009-10-07 | SCI: SciGuiCursor class added, cleanup, OSystem removed from SciGui constructor | Martin Kiewitz | |
svn-id: r44730 | |||
2009-10-04 | SCI: Really remove sci/gui/gui.h include from engine/state.h | Max Horn | |
svn-id: r44644 | |||
2009-10-04 | SCI: Rename EngineState::segMan to _segMan | Max Horn | |
svn-id: r44629 | |||
2009-10-03 | SCI: Add hack to gui to fix loading | Willem Jan Palenstijn | |
svn-id: r44581 | |||
2009-09-30 | Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵ | Max Horn | |
things) svn-id: r44495 | |||
2009-09-30 | - Moved the list of synonyms and parser nodes inside the vocabulary class | Filippos Karapetis | |
- Added a convenience member inside the EngineState struct to access the instance of the Vocabulary class svn-id: r44481 | |||
2009-09-25 | SCI: Remove EngineState::game_version, it was only used for saving anyway. ↵ | Max Horn | |
Also remove syncCStr() svn-id: r44358 | |||
2009-09-23 | - Moved the SCI version in a global variable | Filippos Karapetis | |
- 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 | |||
2009-09-22 | Copy the internal game name when loading, and don't recreate it | Filippos Karapetis | |
svn-id: r44250 | |||
2009-09-22 | Removed unused variable | Filippos Karapetis | |
svn-id: r44249 | |||
2009-09-22 | SCI: Change SystemStrings to use RAW storage consistenly | Max Horn | |
svn-id: r44246 | |||
2009-09-22 | SCI: Change SystemString::name from char* to Common::String | Max Horn | |
svn-id: r44243 | |||
2009-09-22 | SCI: SegmentObj's now set their type in constructor; replace central ↵ | Max Horn | |
SegmentObj::createSegmentObj call in SegManager::allocSegment by several explicit 'new' statements; some extra cleanup svn-id: r44242 | |||
2009-09-21 | SCI: Replace IntMapper Script::_objIndices and Common::Array ↵ | Max Horn | |
Script::_objects by a HashMap -- goodbye, class IntMapper svn-id: r44240 | |||
2009-09-21 | SCI: Rename Object::flags and pos to _flags and _pos; tweak scriptObjInit0 ↵ | Max Horn | |
and scriptObjInit11 to be more similar svn-id: r44234 | |||
2009-09-17 | SCI: Add EngineState::_kernel member for convenience | Max Horn | |
svn-id: r44173 | |||
2009-09-17 | SCI: Add a global getSciVersion() function and make use of it | Max Horn | |
svn-id: r44170 | |||
2009-09-17 | SCI: Rename engine/memobj.* to engine/segment.* | Max Horn | |
svn-id: r44155 | |||
2009-09-17 | Changed the way object selectors are accessed, by removing the relevant ↵ | Filippos Karapetis | |
defines and adding appropriate methods to the Object structure svn-id: r44138 | |||
2009-09-17 | SCI: Rename MemObject -> SegmentObj | Max Horn | |
svn-id: r44130 | |||
2009-09-16 | SCI: Rename Script class members, change Script from struct to class | Max Horn | |
svn-id: r44126 | |||
2009-09-15 | Removed some unused variables from the engine state | Filippos Karapetis | |
svn-id: r44099 | |||
2009-09-14 | SCI: Misc cleanup | Max Horn | |
svn-id: r44093 | |||
2009-09-12 | - Made obj_get and obj_get_name methods of SegManager (getObject and ↵ | Filippos Karapetis | |
getObjectName, respectively) - Renamed alloc_List -> allocateList, alloc_Node->allocateNode, alloc_hunk_entry->allocateHunkEntry, free_hunk_entry->freeHunkEntry, for consistency svn-id: r44039 | |||
2009-09-08 | Fixed some (pedantic) warnings | Max Horn | |
svn-id: r44015 | |||
2009-09-07 | SCI: Replace GET_SEGMENT_ANY and GET_OBJECT_SEGMENT macros by new segman methods | Max Horn | |
svn-id: r43999 | |||
2009-09-06 | SCI: Rename SegManager::exports_wide to _exportsAreWide and changed it to a ↵ | Max Horn | |
bool, and rename setExportWidth() to setExportAreWide() svn-id: r43988 | |||
2009-09-06 | SCI: Replace "IntMapper *id_seg_map" in SegManager with a ↵ | Max Horn | |
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 | |||
2009-09-06 | SCI: Convert saveload code to use the versioning feature of Common::Serializer | Max Horn | |
svn-id: r43985 | |||
2009-09-06 | SCI: Cleanup for some SegManager internals | Max Horn | |
- 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 | |||
2009-09-04 | Removed the animation_granularity variable from the engine state (it never ↵ | Filippos Karapetis | |
changes, and it's used in one place only) svn-id: r43936 | |||
2009-09-04 | Moved some functions inside the SegManager class, and renamed alloc_clone() ↵ | Filippos Karapetis | |
to allocateClone() svn-id: r43935 | |||
2009-09-03 | SCI: Relocate export table when restoring SCI1.1 savegames | Walter van Niftrik | |
svn-id: r43916 | |||
2009-09-02 | Fixed loading again (broken accidentally in rev. 43504 | Filippos Karapetis | |
svn-id: r43913 | |||
2009-09-02 | Some renaming: | Filippos Karapetis | |
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908 | |||
2009-08-25 | - Simplified the parameters of some functions | Filippos Karapetis | |
- 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 | |||
2009-08-23 | - Added more mappings from Sierra's internal IDs to our own ones. Hopefully, ↵ | Filippos Karapetis | |
all SCI0-SCI11 games can now be detected correctly from the fallback detector - Simplified some checks for old script types svn-id: r43678 | |||
2009-08-18 | - Added game ID detection to the fallback detector. We still need to map ↵ | Filippos Karapetis | |
some of Sierra's internal IDs to our own ones - The class table is now created in the segment manager constructor svn-id: r43504 | |||
2009-08-17 | SCI: Add autodetection for DoSound. Cleanup. | Walter van Niftrik | |
svn-id: r43482 | |||
2009-08-17 | - Simplified some functions to accept only the parts of the EngineState they ↵ | Filippos Karapetis | |
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 |