Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2009-08-16 | SCI: Stage 1 of the game detection overhaul. The end goal is to autodetect | Walter van Niftrik | |
as much as possible. All SCI_VERSION_* information was removed from detection.cpp (much of it was incorrect anyway). svn-id: r43449 | |||
2009-08-15 | SCI: Added enum for map and volume versions. Removed res_version setting from | Walter van Niftrik | |
detection.cpp (should be detectable). Cleanup. svn-id: r43390 | |||
2009-07-11 | Moved the kernel and the vocabulary outside of the engine state (they're ↵ | Filippos Karapetis | |
static data, which never changes during a game) svn-id: r42398 | |||
2009-07-08 | Only the kernel needs to be initialized before anything else, when ↵ | Filippos Karapetis | |
saving/loading svn-id: r42262 | |||
2009-07-08 | Fixed saving/loading again (broken with the latest changes for game feature ↵ | Filippos Karapetis | |
auto-detection) svn-id: r42261 | |||
2009-07-07 | Added auto-detection for games with older headers for script blocks, and ↵ | Filippos Karapetis | |
removed game flag GF_SCI0_OLD svn-id: r42211 | |||
2009-07-07 | - Added auto-detection for EGA graphics. As a result of this, GF_SCI1_EGA ↵ | Filippos Karapetis | |
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 | |||
2009-07-06 | Renamed SCI_VERSION_01 -> SCI_VERSION_01_EGA | Filippos Karapetis | |
svn-id: r42181 | |||
2009-07-06 | Replaced sciprintf() calls with printf, DebugPrintf, warning and error calls | Filippos Karapetis | |
svn-id: r42167 | |||
2009-06-07 | Hopefully fixed memory corruption when loading games | Filippos Karapetis | |
svn-id: r41361 | |||
2009-06-07 | SCI: Moved resource36 handling into resource manager. | Walter van Niftrik | |
svn-id: r41349 | |||
2009-06-07 | SCI: Simplified SongLibrary code a bit | Max Horn | |
svn-id: r41345 | |||
2009-06-07 | SCI: Objectified SongLibrary | Max Horn | |
svn-id: r41343 | |||
2009-06-07 | SCI: Renamed various song/songlib related structs and members | Max Horn | |
svn-id: r41342 | |||
2009-06-04 | SCI: Renamed EngineState::flags and version to _flags and _version ↵ | Max Horn | |
(following our conventions); also slightly changed the EngineState constructor to init _version & _flags, and used this to make them constant svn-id: r41177 | |||
2009-06-02 | Removed the gfxw_new_visual and gfxw_new_port wrappers, moved _kfuncTable ↵ | Filippos Karapetis | |
inside the Kernel class and moved gfxw_find_port inside the GfxVisual struct svn-id: r41125 | |||
2009-06-02 | Removed some unused variables from the engine state | Filippos Karapetis | |
svn-id: r41123 | |||
2009-06-01 | Some fixes for saving/loading (still broken) | Filippos Karapetis | |
svn-id: r41102 |