Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-25 | - Split SCI_VERSION_32 into SCI_VERSION_2, SCI_VERSION_2_1, and ↵ | Matthew Hoops | |
SCI_VERSION_3 (each version has a different kernel table). - Improve map detection. - Fix SCI32 object and script initialization (Torin's Passage and GK1 scripts now start up, and probably most SCI2/2.1 games). - Add SCI2 and SCI2.1 kernel tables. svn-id: r43742 | |||
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-24 | SCI: Read class table from vocab resource instead of scanning. This fixes | Walter van Niftrik | |
several "invalid selector" VM crashes caused by duplicate classes. svn-id: r43680 | |||
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-20 | remove \n's from error() calls | Joost Peters | |
svn-id: r43571 | |||
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 | - 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-28 | SCI: Avoid using perror (it's not portable) | Max Horn | |
svn-id: r42866 | |||
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-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-06 | Replaced sciprintf() calls with printf, DebugPrintf, warning and error calls | Filippos Karapetis | |
svn-id: r42167 | |||
2009-06-18 | Patch | Max Horn | |
svn-id: r41647 | |||
2009-06-07 | SCI: Moved resource36 handling into resource manager. | Walter van Niftrik | |
svn-id: r41349 | |||
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-04 | SCI: Moved MemObject code into a separate source file | Max Horn | |
svn-id: r41166 | |||
2009-05-31 | Removed script_error_flag and script_debug_flag, which were used to error ↵ | Filippos Karapetis | |
out if something went wrong and open the debugger console. Changed all the places where they were used to error() out instead, as ScummVM's debugger console can open on error() svn-id: r41073 | |||
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 | Removed/replaced BREAKPOINT | Filippos Karapetis | |
svn-id: r41025 | |||
2009-05-29 | SCI: Converted several fprintf(stderr) calls to warning/error (the remaining ↵ | Max Horn | |
fprintf calls should probably be replaced by suitable debug/debugC/debugN invocations) svn-id: r40993 | |||
2009-05-23 | Turned some errors into warnings, as they occur in KQ5CD | Filippos Karapetis | |
svn-id: r40804 | |||
2009-05-21 | Removed the PREG, PSTK, IS_NULL_REG and REG_EQ defines | Filippos Karapetis | |
svn-id: r40767 | |||
2009-05-20 | removed trailing whitespaces | Max Horn | |
svn-id: r40742 | |||
2009-05-19 | SCI: Introduce a new subclass StringFrag of MemObject (does nothing right ↵ | Max Horn | |
now); switched MemObject to subclass Common::Serializable svn-id: r40714 | |||
2009-05-18 | SCI: Removed ENTRY_IS_VALID macro | Max Horn | |
svn-id: r40690 | |||
2009-05-18 | SCI: Tweaks, cleanup | Max Horn | |
svn-id: r40688 | |||
2009-05-18 | SCI: Fixed Table::initTable to invoke _table.clear() | Max Horn | |
svn-id: r40687 | |||
2009-05-18 | SCI: Changed SegManager to not pre-allocate _heap entries (leave the memory ↵ | Max Horn | |
management to Common::Array) svn-id: r40686 | |||
2009-05-18 | SCI: Removed the unused member SegManager::gc_mark_bits; changed some int ↵ | Max Horn | |
params to SegmentId svn-id: r40685 | |||
2009-05-18 | SCI: Replaced SegManager::getHeap() by Script::getHeap() | Max Horn | |
svn-id: r40683 | |||
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-15 | Simplified SCI versions to be SCI version generations, and fixed some game ↵ | Filippos Karapetis | |
entries in the process. Also, added a sanity check for invalid game entries svn-id: r40596 | |||
2009-05-14 | SCI: A provisional fix for the "invalid selector" problem in KQ6 and other | Walter van Niftrik | |
SCI1.1 games. svn-id: r40575 | |||
2009-05-14 | Started using game-specific flags and removed/replaced some SCI version ↵ | Filippos Karapetis | |
checks with flags. - The SCI0 new script header and the angles check have been replaced by the GF_SCI0_OLD flag - The SCI0 new drawpic parameter and the new priority check have been replaced by the GF_SCI0_OLDGFXFUNCS flag - Removed the code which retries to use the newer script header in SCI0 games if the detected one is wrong, as that case should be covered by the GF_SCI0_OLD flag - Removed the leftover min_version and max_version variables from gamestate - Cleaned up kGetTime() a bit svn-id: r40552 | |||
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-12 | SCI: Fixed a valgrind warning. | Walter van Niftrik | |
svn-id: r40492 | |||
2009-05-11 | SCI: Simplified the Table class, by making it use an Common::Array ↵ | Max Horn | |
internally. Increased savegame version, breaking compatibility to the previous one -- sorry for that, but some of my previous changes accidentally messed up the table syncing, resulting in messed up savegames anyway; these breakages should be fixed with this commit svn-id: r40453 | |||
2009-05-10 | SCI: Replaced Cplain odeBlock array in class Script by a ↵ | Max Horn | |
Common::Array<CodeBlock> svn-id: r40433 | |||
2009-05-10 | SCI: Changed object list in Script instances to use Common:::Array | Max Horn | |
svn-id: r40431 | |||
2009-05-08 | SCI: Got rid of last traces of class SegInterface | Max Horn | |
svn-id: r40377 | |||
2009-05-08 | SCI: Moved findCanonicAddress from SegInterface to MemObject | Max Horn | |
svn-id: r40376 | |||
2009-05-08 | SCI: Moved freeAtAddress from SegInterface to MemObject | Max Horn | |
svn-id: r40375 | |||
2009-05-08 | SCI: Renamed dstack_t -> DataStack; removed obsolete KF_OLD constant | Max Horn | |
svn-id: r40374 | |||
2009-05-08 | SCI: Started to merge SegInterface into MemObject | Max Horn | |
svn-id: r40373 | |||
2009-05-08 | SCI: Added workaround for Common::Array<T>::resize() not zero-initing newly ↵ | Max Horn | |
allocated memory if T is a scaler type, pointer, POD type. At least on OS X svn-id: r40372 | |||
2009-05-07 | Fix an endian bug | Matthew Hoops | |
svn-id: r40370 | |||
2009-05-04 | This should fix linking on PSP. | Johannes Schickel | |
svn-id: r40310 |