Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Changed SaveFileManager methods to take Common::String params (instead of ↵ | Max Horn | |
char pointers) svn-id: r41000 | |||
2009-05-29 | SCI: Revised code for listing savegames | Max Horn | |
svn-id: r40999 | |||
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-27 | SCI: Cleanup. | Walter van Niftrik | |
svn-id: r40931 | |||
2009-05-26 | Turned some static tables into static const tables; added some FIXME ↵ | Max Horn | |
comments to global static vars that should be removed (many more exist in SCI, Tinsel, and some other engines) svn-id: r40908 | |||
2009-05-20 | removed trailing whitespaces | Max Horn | |
svn-id: r40742 | |||
2009-05-19 | SCI: Changed K_FILEIO_FILE_EXISTS to check regular files too. | Walter van Niftrik | |
svn-id: r40724 | |||
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-04-11 | SCI: Renamed bp_flag -> breakpointFlag; replaced global send_calls_allocated ↵ | Max Horn | |
& send_calls vars by a local Common::Stack instance svn-id: r39930 | |||
2009-03-12 | SCI: Moved savegame specific stuff from state.h to a new header savegame.h | Max Horn | |
svn-id: r39351 | |||
2009-02-28 | Add support for saving Common::String objects. | Willem Jan Palenstijn | |
Use it to simplify SavegameMetadata handling. svn-id: r38959 | |||
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: Commited file handling revamp, work in progress | Max Horn | |
svn-id: r38919 | |||
2009-02-26 | start out with an empty array of file handles, so the Enginestates matches ↵ | Andre Heider | |
between startup and restart. really check its size before accessing it (fixes LSL3 restart) svn-id: r38915 | |||
2009-02-24 | not needed anymore | Paweł Kołodziejski | |
svn-id: r38856 | |||
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: cleanup | Max Horn | |
svn-id: r38811 | |||
2009-02-23 | SCI: Moved file specific stuff from tools.h & tools.cpp to kfile.cpp | Max Horn | |
svn-id: r38810 | |||
2009-02-23 | SCI: Got rid of resource_dir & work_dir (temporarily disabled ↵ | Max Horn | |
f_open_mirrored for that) svn-id: r38807 | |||
2009-02-23 | SCI: Merged kDeviceInfo_Win32 & kDeviceInfo_Unix; added lots of debug calls ↵ | Max Horn | |
to the file I/O code, to make it possible to analyze usage patterns; some cleanup svn-id: r38806 | |||
2009-02-22 | SCI: Rewrite the way file handles are managed | Max Horn | |
svn-id: r38794 | |||
2009-02-22 | SCI: Moved the code which iterates over the current dir into a small class | Max Horn | |
svn-id: r38793 | |||
2009-02-22 | Whitespace cleanup | Jordi Vilalta Prat | |
svn-id: r38783 | |||
2009-02-22 | Fixed compilation under Windows | Filippos Karapetis | |
svn-id: r38770 | |||
2009-02-21 | SCI: More cleanup | Max Horn | |
svn-id: r38758 | |||
2009-02-21 | Fix compilation by implicit including of sys/stat.h | Eugene Sandulenko | |
svn-id: r38736 | |||
2009-02-21 | Fixed compilation under MSVC | Filippos Karapetis | |
svn-id: r38723 | |||
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 | |||
2009-02-21 | error() calls don't need \n, as it is already appended in error() itself | Joost Peters | |
svn-id: r38694 | |||
2009-02-21 | replace obsolete creat() with open() | Andre Heider | |
svn-id: r38690 | |||
2009-02-21 | Replaced "typedef struct _state state_t" with "struct EngineState" | Jordi Vilalta Prat | |
svn-id: r38678 | |||
2009-02-21 | Wrapped the SCI engine in the Sci namespace. | Oystein Eftevaag | |
svn-id: r38676 | |||
2009-02-21 | SCI: Use GCC_PRINTF hint to the compiler for _SCIkprintf and sciprintf; ↵ | Max Horn | |
fixed tons of bad format strings svn-id: r38660 | |||
2009-02-20 | Converted SCI saving to use saveFileMan. Instead of a savegame being | Willem Jan Palenstijn | |
a directory with an id and a state file, a savegame now consists of two consecutive CFSML-serialized structs: SavegameMetadata and state_t. The former contains the savegame title, and is loaded when scanning saves. svn-id: r38649 | |||
2009-02-20 | Changed more messages to warnings/errors | Filippos Karapetis | |
svn-id: r38621 | |||
2009-02-20 | Started conversion of debug messages and debug levels to the ScummVM ↵ | Filippos Karapetis | |
equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings svn-id: r38617 | |||
2009-02-20 | SCI: Started rewriting file handling. Warning: This will likely introduce | Max Horn | |
regressions, but we just have to start somewhere. - factored out some common code in engine/kfile.cpp into a separate func - replaced many uses of chdir, getcwd, sci_init_dir etc. by equivalent or better functionality from SearchMan etc. - replaced many uses of sci_open and sci_fopen by using Common::File and Common::Stream - C++ified some stuff - simplified ResourceSource a bit (loosing some unused functionality) svn-id: r38597 | |||
2009-02-19 | formating | Paweł Kołodziejski | |
svn-id: r38560 | |||
2009-02-17 | shat up ARRAYSIZE redefine compiler warnings | Paweł Kołodziejski | |
svn-id: r38444 | |||
2009-02-17 | Update headers. engine/ | Eugene Sandulenko | |
svn-id: r38408 | |||
2009-02-17 | Replaced sci_free() with free() - it's OK to free a NULL pointer, so the ↵ | Filippos Karapetis | |
checking that sci_free() performed is not necessary svn-id: r38406 | |||
2009-02-16 | Replace strcasecmp with scumm_stricmp. | Travis Howell | |
svn-id: r38356 | |||
2009-02-16 | SCI: cleanup | Max Horn | |
svn-id: r38336 | |||
2009-02-15 | SCI: Run astyle to make the code be more compliant with our Code Formatting ↵ | Max Horn | |
Guidelines: engine dir svn-id: r38317 | |||
2009-02-15 | SCI: Changed _WIN32 -> WIN32; _DREAMCAST -> __DC__; removed _DOS stuff | Max Horn | |
svn-id: r38305 | |||
2009-02-15 | cleanup, fixed warnings | Max Horn | |
svn-id: r38282 | |||
2009-02-15 | SCI: Got rid of HAVE_FNMATCH_H | Max Horn | |
svn-id: r38279 |