Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-09 | restAdjust should be a signed integer. Fixes crashes with SCI1 games that ↵ | Filippos Karapetis | |
take absolute lofs parameters (a regression of commit #42260) svn-id: r42297 | |||
2009-07-08 | Some cleanup for the script debugger code: | Filippos Karapetis | |
- Renamed struct DebugState to ScriptState and r_amp_rest to restAdjust inside EngineState. Changed restAdjust to be a uint16 (actually it is a uint16, but it was being casted back and forth from an unsigned integer, so this clears up its type and size) - Moved the script state variables from inside the run_vm() into the ScriptState struct, so that they can be accessed by the console commands and the script debugger all the time, and removed the weird isValid code svn-id: r42260 | |||
2009-06-24 | SCI: Partial support for dual-language games. | Walter van Niftrik | |
svn-id: r41833 | |||
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: Added FIXME comment to not_register() | Max Horn | |
svn-id: r41172 | |||
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 | Split the kernel functions away from the vocabulary functions (WIP, ↵ | Filippos Karapetis | |
saving/loading is broken) svn-id: r41101 | |||
2009-05-31 | Further objectification of the SCI vocabulary functions. Removed the ↵ | Filippos Karapetis | |
"kernel_words" console command, as it's exactly the same as "parser_words" svn-id: r41065 | |||
2009-05-31 | More objectification of the Vocabulary functions | Filippos Karapetis | |
svn-id: r41057 | |||
2009-05-30 | Started objectifying the vocabulary functions (WIP) | Filippos Karapetis | |
svn-id: r41051 | |||
2009-05-30 | - Moved 3 more commands to console.cpp: "draw_pic", "draw_rect" and ↵ | Filippos Karapetis | |
"fill_screen" - Removed some FreeSCI-specific variables for checking of the on-screen console - Removed the Control-1 key combo - the console command "visual_state" can be used for the same reason svn-id: r41040 | |||
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-29 | SCI: Revised code for listing savegames | Max Horn | |
svn-id: r40999 | |||
2009-05-29 | - Rewrote kSetCursor to be a bit simpler to understand, and got rid of ↵ | Filippos Karapetis | |
GF_SCI1_NEWSETCURSOR - Removed the 3 mouse pointer view, loop and cell variables (and their 3 "save" versions) from the game state, as they're all actually not used anywhere - Cleanup svn-id: r40976 | |||
2009-05-28 | SCI: Fix potential dangling pointer more robustly, | Willem Jan Palenstijn | |
by changing the executionStack implementation to a list. svn-id: r40971 | |||
2009-05-28 | SCI: Renamed sfx_state_t -> SfxState, preparing it to become a class eventually | Max Horn | |
svn-id: r40958 | |||
2009-05-26 | SCI: Turned the global 'static MessageState state' variable into a member of ↵ | Max Horn | |
EngineState svn-id: r40910 | |||
2009-05-21 | SCI: Removed the 'save_dir' gui hack | Max Horn | |
svn-id: r40772 | |||
2009-05-20 | removed trailing whitespaces | Max Horn | |
svn-id: r40742 | |||
2009-05-20 | SCI: Changed EngineState::opcodes to a Common::Array (maybe we shold just ↵ | Max Horn | |
remove the relevant code completely, though, it seems useless, esp. as long as we hardcode the way we interpret every opcode svn-id: r40740 | |||
2009-05-19 | SCI: got rid of EngineState::savegame_version; some cleanup | Max Horn | |
svn-id: r40713 | |||
2009-05-19 | SCI: Init the diff .#&$ EngineState::flags field in the constructor and when ↵ | Max Horn | |
loading -- fixes many weird crashes upon loading (lesson to be learned: if you add fields to a class, then (a) init it in the construtor and (b) if the class support serializing, make sure the new field is handled when saving/loading :-) svn-id: r40712 | |||
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 | SCI: Removed SCI_SIMPLE_SAID_CODE and the associated heavily bitrotted code | Max Horn | |
svn-id: r40691 | |||
2009-05-18 | SCI: cleanup | Max Horn | |
svn-id: r40689 | |||
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-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-14 | - Removed SCI_VERSION_FTU_NEW_GETTIME | Filippos Karapetis | |
- Added defines for SCI0 flags, to simplify game entries - Removed the leftover version_lock_flag from EngineState svn-id: r40553 | |||
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-14 | Removed the hack used to check for the existence of the CantBeHere() selector | Filippos Karapetis | |
svn-id: r40549 | |||
2009-05-12 | SCI: Changed object / script local vars storage to use a Common::Array | Max Horn | |
svn-id: r40515 | |||
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-11 | SCI: Reduced header deps | Max Horn | |
svn-id: r40451 | |||
2009-05-10 | SCI: Changed EngineState::pics to a Common::Array | Max Horn | |
svn-id: r40434 | |||
2009-05-10 | Moved the code which retrieves the current room number in a separate ↵ | Filippos Karapetis | |
function and merged _sci1_alloc_system_colors inside _reset_graphics_input svn-id: r40412 | |||
2009-04-28 | SCI: Renamed execution_stack -> _executionStack and turned it into a ↵ | Max Horn | |
Common::Array svn-id: r40182 | |||
2009-04-27 | SCI: Turned classtable into a Common::Array<Class> | Max Horn | |
svn-id: r40161 | |||
2009-04-27 | SCI: Removed unused vars; doxygenified some comments; cleanup | Max Horn | |
svn-id: r40159 | |||
2009-04-27 | SCI: Renamed gfx_state_t -> GfxState | Max Horn | |
svn-id: r40155 | |||
2009-04-24 | SCI: Renamed gfxw_widget_t and subtypes to GfxWidget etc. | Max Horn | |
svn-id: r40104 | |||
2009-04-24 | SCI: Started to C++ify the gfxw_widget_t codebase | Max Horn | |
svn-id: r40103 | |||
2009-04-24 | SCI: Store parse_tree_branch_t in a Common::Arraay | Max Horn | |
svn-id: r40100 | |||
2009-04-22 | SCI: Changed kfunct_table to a Common::Array | Max Horn | |
svn-id: r40080 | |||
2009-04-22 | SCI: Changed knames (kernel function name table) to Common::StringList | Max Horn | |
svn-id: r40078 | |||
2009-03-24 | SCI: Rewrote vocabulary code to use a Common::HashMap<String,ResultWord> | Max Horn | |
svn-id: r39671 | |||
2009-03-24 | SCI: Turned synonyms list into a Common::List | Max Horn | |
svn-id: r39669 | |||
2009-03-24 | SCI: Changed some char* into Common::String | Max Horn | |
svn-id: r39663 | |||
2009-03-24 | SCI: C++ify menu code | Max Horn | |
svn-id: r39659 |