Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-06 | SCI: Rename resManager -> resMan; segManager -> segMan | Max Horn | |
svn-id: r43980 | |||
2009-09-04 | Moved some functions inside the SegManager class, and renamed alloc_clone() ↵ | Filippos Karapetis | |
to allocateClone() svn-id: r43935 | |||
2009-09-02 | Some renaming: | Filippos Karapetis | |
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908 | |||
2009-09-02 | SCI: funct_nr is not used in 99% of all opcodes -- hide it in those (to be ↵ | Max Horn | |
removed eventually) svn-id: r43905 | |||
2009-09-01 | - Moved the Sierra game ID conversion code inside game.cpp, so that any ↵ | Filippos Karapetis | |
game-specific workarounds are tested against ScummVM IDs - Added detection for the EcoQuest 1 demo in the fallback detector - Partially reverted my previous "fix" for EcoQuest 1 CD, and turned it into a script-specific hack for that game, for now - Added handling of kDisposeScript calls made with 2 parameters, e.g. in KQ5CD and others (still untested, haven't found a test case) svn-id: r43887 | |||
2009-09-01 | Fixed the crash at the beginning of EcoQuest 1 CD | Filippos Karapetis | |
svn-id: r43875 | |||
2009-08-25 | - Replaced more cases of EngineState parameters | Filippos Karapetis | |
- Made some version comparisons for old SCI0 versions easier to read - Removed the GET_SEL32SV macro svn-id: r43729 | |||
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-20 | remove \n's from error() calls | Joost Peters | |
svn-id: r43571 | |||
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-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-06-07 | SCI: Moved resource36 handling into resource manager. | Walter van Niftrik | |
svn-id: r41349 | |||
2009-06-07 | Replaced KP_ALT, SKPV_OR_ALT and UKPV_OR_ALT | Filippos Karapetis | |
svn-id: r41340 | |||
2009-06-07 | Replaced/removed KP_UINT, KP_SINT, SKPV and UKPV as well as the ↵ | Filippos Karapetis | |
VIEW_PRIORITY and PRIORITY_BAND_FIRST wrappers svn-id: r41338 | |||
2009-06-06 | Store long-term pointers to object variables in a new ObjVarRef struct. | Willem Jan Palenstijn | |
Storing them as reg_t* could cause the pointers to become invalid when they pointed into CloneTable since CloneTable can be re-allocated. svn-id: r41220 | |||
2009-06-04 | SCI: Support for 16-bit DPCM. | Walter van Niftrik | |
svn-id: r41164 | |||
2009-06-01 | Split the kernel functions away from the vocabulary functions (WIP, ↵ | Filippos Karapetis | |
saving/loading is broken) svn-id: r41101 | |||
2009-06-01 | Replaced kernel_oops with error(), and added an enum to clarify the cases ↵ | Filippos Karapetis | |
where invoke_selector should stop svn-id: r41095 | |||
2009-05-31 | - Further objectification of the SCI vocabulary functions | Filippos Karapetis | |
- 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 | |||
2009-05-31 | The error() and warning() functions add ! and newline automatically. (I didn't | Torbjörn Andersson | |
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061 | |||
2009-05-30 | Started objectifying the vocabulary functions (WIP) | Filippos Karapetis | |
svn-id: r41051 | |||
2009-05-30 | - Removed debug_mode from the engine state | Filippos Karapetis | |
- 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 | |||
2009-05-21 | Removed the PREG, PSTK, IS_NULL_REG and REG_EQ defines | Filippos Karapetis | |
svn-id: r40767 | |||
2009-05-19 | SCI: Added some stubs for LSL6CD (lores). | Walter van Niftrik | |
svn-id: r40719 | |||
2009-05-19 | SCI: Cleanup/paranoia checks | Max Horn | |
svn-id: r40711 | |||
2009-05-18 | SCI: Got rid of EngineState::execution_stack_pos; overally, the resulting ↵ | Max Horn | |
code should be even stricter in detecting invalid VM stack access (and some bugs when loading saves might be fixed now...) svn-id: r40694 | |||
2009-05-18 | Changed errors to be fatal, as most of them are fatal conditions. Some of ↵ | Filippos Karapetis | |
them have been changed to warnings for now, as they occur in certain games (e.g. SQ4 floppy, SQ4 CD and KQ5 CD) svn-id: r40675 | |||
2009-05-15 | - Moved all the files out of /sci/scicore and into /sci | Filippos Karapetis | |
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp svn-id: r40608 | |||
2009-05-15 | SCI: Got rid of SEG_ID/SCRIPT_ID | Max Horn | |
svn-id: r40599 | |||
2009-05-15 | SCI: Added SegManager::getScriptIfLoaded() method | Max Horn | |
svn-id: r40598 | |||
2009-05-15 | SCI: Turned several script related SegManager methods into Script methods | Max Horn | |
svn-id: r40597 | |||
2009-05-14 | - Replaced SCI_VERSION_FTU_LOFS_ABSOLUTE with the GF_SCI1_LOFSABSOLUTE game flag | Filippos Karapetis | |
- Moved the version defines outside of versions.h svn-id: r40559 | |||
2009-05-12 | SCI: Changed object / script local vars storage to use a Common::Array | Max Horn | |
svn-id: r40515 | |||
2009-05-12 | SCI: Removed sci_memory.h/.cpp | Max Horn | |
svn-id: r40514 | |||
2009-05-03 | SCI: Continue transition from MemObject to MemObjectNEW | Max Horn | |
svn-id: r40274 | |||
2009-04-28 | SCI: Renamed execution_stack -> _executionStack and turned it into a ↵ | Max Horn | |
Common::Array svn-id: r40182 | |||
2009-04-24 | SCI: Renamed gfxw_widget_t and subtypes to GfxWidget etc. | Max Horn | |
svn-id: r40104 | |||
2009-02-28 | SCI: Use the ResourceType enum instead of integers where it makes sense | Jordi Vilalta Prat | |
svn-id: r38988 | |||
2009-02-28 | resource_t struct replaced with stub Resource class for future objectifying. ↵ | Greg Frieger | |
Also the crash when exiting SCI1 games was fixed svn-id: r38982 | |||
2009-02-28 | Turned ResourceManager into a class, along with all related functions | Greg Frieger | |
svn-id: r38978 | |||
2009-02-28 | SCI: Renamed some kernel types and general cleanup | Jordi Vilalta Prat | |
svn-id: r38961 | |||
2009-02-27 | SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp ↵ | Max Horn | |
file with the EngineState constructor svn-id: r38921 | |||
2009-02-27 | SCI: Moved almost all files from include/ to other dirs; only ↵ | Max Horn | |
include/engine.h remains svn-id: r38920 | |||
2009-02-24 | SCI: Moved kernel.h and kdebug.h from include/ to engine/; untangled header ↵ | Max Horn | |
deps some more svn-id: r38833 | |||
2009-02-23 | SCI: Changed selector name table to a Common::StringList | Max Horn | |
svn-id: r38805 | |||
2009-02-22 | Whitespace cleanup | Jordi Vilalta Prat | |
svn-id: r38783 | |||
2009-02-21 | SCI: Convert the segment manager into a class | Jordi Vilalta Prat | |
svn-id: r38767 | |||
2009-02-21 | SCI: Got rid of include/scitypes.h | Max Horn | |
svn-id: r38746 | |||
2009-02-21 | revert large parts of r38621. error() is for fatal errors and does not ↵ | Willem Jan Palenstijn | |
return. warning() is not for debugging status messages. svn-id: r38696 | |||
2009-02-21 | Remove excess \n. | Travis Howell | |
svn-id: r38695 |