Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-28 | Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard ↵ | Filippos Karapetis | |
(defined in sci.h) svn-id: r45459 | |||
2009-10-25 | Moved the cel count calculation to the new graphics code | Filippos Karapetis | |
svn-id: r45379 | |||
2009-10-24 | SCI: Restore accumulator after executing send from debugger | Willem Jan Palenstijn | |
svn-id: r45360 | |||
2009-10-22 | Moved the view loop counting code in the new GUI | Filippos Karapetis | |
svn-id: r45322 | |||
2009-10-18 | SCI: Make the implicit segMan param to GET_SEL32(V) and PUT_SEL32(V) explicit | Max Horn | |
svn-id: r45234 | |||
2009-10-18 | Move the SeqDecoder to the Sci namespace, it makes more sense than Graphics ↵ | Matthew Hoops | |
because it's only used in Sci. svn-id: r45230 | |||
2009-10-17 | Added a new console command, "play_video", which can play a SEQ or AVI file | Filippos Karapetis | |
svn-id: r45178 | |||
2009-10-15 | SCI: Make send varselector reads more verbose. Add notes. | Willem Jan Palenstijn | |
svn-id: r45131 | |||
2009-10-15 | SCI: Fix send debugger command | Willem Jan Palenstijn | |
svn-id: r45128 | |||
2009-10-14 | SCI: Improve cmdSend slightly. It's still broken, though | Willem Jan Palenstijn | |
svn-id: r45097 | |||
2009-10-13 | Merged the rest of the cursor code | Filippos Karapetis | |
svn-id: r45029 | |||
2009-10-13 | Merged the cursor manipulation code - cursor views are still not done | Filippos Karapetis | |
svn-id: r45028 | |||
2009-10-11 | Implemented some advanced savegame functionality - loading and deleting ↵ | Filippos Karapetis | |
savegames from the GMM is now possible, and new saved games will also have thumbnails. Saving from the GMM creates corrupted saved games, so it has been disabled for now svn-id: r44930 | |||
2009-10-10 | Started rewriting the Object struct into a class | Filippos Karapetis | |
svn-id: r44878 | |||
2009-10-07 | SCI: Turn lookup_node & lookup_list into SegManager::lookupNode & ↵ | Max Horn | |
SegManager::lookupList svn-id: r44769 | |||
2009-10-07 | SCI: Reduce header interdepencies once again. Rule of thumb: Never include a ↵ | Max Horn | |
header file from another header file unless you absolutely *must* do it; if possible, try to use class forwards instead, and include the headers from source files only svn-id: r44767 | |||
2009-10-07 | SCI: debug command undither implemented | Martin Kiewitz | |
svn-id: r44761 | |||
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/newgui: implemented debug command show_map | Martin Kiewitz | |
svn-id: r44735 | |||
2009-10-04 | SCI: Rename EngineState::segMan to _segMan | Max Horn | |
svn-id: r44629 | |||
2009-10-04 | SCI: Add SegManager::findObjectByName() method, make parse_reg_t() local to ↵ | Max Horn | |
console.cpp, and switch other code using it to use findObjectByName() instead. svn-id: r44628 | |||
2009-10-03 | SCI: Fix parse error in parse_reg_t | Willem Jan Palenstijn | |
svn-id: r44578 | |||
2009-10-03 | SCI: Fix typo | Willem Jan Palenstijn | |
svn-id: r44561 | |||
2009-10-02 | SCI: Fix parse_reg_t, it no longer modified the const string passed to it | Max Horn | |
svn-id: r44545 | |||
2009-10-02 | SCI: Remove PRINT_STK macro; cleanup | Max Horn | |
svn-id: r44533 | |||
2009-10-01 | SCI: Add some fixmes noted by salty-horse. | Willem Jan Palenstijn | |
svn-id: r44513 | |||
2009-10-01 | - Removed the toggle for "weak" validations, as there are cases where they ↵ | Filippos Karapetis | |
fail (e.g. in Longbow), so there is no point in having strict validations - Removed the invalid toggle from kernel signatures - we now never error out on invalid object references, but throw a warning instead - Simplified determine_reg_type() svn-id: r44511 | |||
2009-10-01 | SCI: Remove outdated debugging hack. | Willem Jan Palenstijn | |
In the past, a negative selector value was used to identify a callk stack frame. Currently a type of EXEC_STACK_TYPE_KERNEL already does that. svn-id: r44510 | |||
2009-09-30 | SCI: Replace magic '-42' by an enum | Max Horn | |
svn-id: r44492 | |||
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 | Create a define for the special "signal" offset used throughout the engine, ↵ | Filippos Karapetis | |
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations svn-id: r44359 | |||
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 | SCI: Add new type SegmentRef which ultimately will allow us to distinguish ↵ | Max Horn | |
between raw and 'reg_t' memory blocks in client code svn-id: r44244 | |||
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 selector_map_t -> SelectorCache and _selectorMap -> _selectorCache | Max Horn | |
svn-id: r44152 | |||
2009-09-17 | SCI: Move parts of struct ScriptState into a new struct DebugState | Max Horn | |
svn-id: r44151 | |||
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-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-07 | SCI: Replace GET_SEGMENT_ANY and GET_OBJECT_SEGMENT macros by new segman methods | Max Horn | |
svn-id: r43999 | |||
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: cleanup | Max Horn | |
svn-id: r43982 | |||
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 |