aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kfile.cpp
AgeCommit message (Collapse)Author
2009-09-14SCI: Rename SegManager::kernelDeref*() methods to SegManager::deref*()Max Horn
svn-id: r44083
2009-09-14SCI: kernelDeref*() functions are now seSegmentManager methodsMax Horn
svn-id: r44082
2009-09-14SCI: Merge kernelDerefCharPtr and kernelDerefString and change it from a ↵Max Horn
macro to a function svn-id: r44081
2009-09-02Some renaming:Filippos Karapetis
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908
2009-09-02SCI: Renamed kernel_dereference_* to kernelDeref*, and added kernelDerefStringMax Horn
svn-id: r43907
2009-09-02SCI: 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- Reverted the *vga targets back to *sci, and used the extras field again ↵Filippos Karapetis
for VGA remakes - The extras field is now filled by the fallback detector for VGA games svn-id: r43893
2009-08-27Throw a warning when kGetSaveDir is called with a parameterMatthew Hoops
svn-id: r43774
2009-08-25When opening files, open the English language part of the filename. Fixes ↵Filippos Karapetis
some multilingual SCI1 games svn-id: r43730
2009-08-25- Replaced more cases of EngineState parametersFilippos Karapetis
- Made some version comparisons for old SCI0 versions easier to read - Removed the GET_SEL32SV macro svn-id: r43729
2009-07-06Replaced sciprintf() calls with printf, DebugPrintf, warning and error callsFilippos Karapetis
svn-id: r42167
2009-07-03Applied patch #2815937 - "SCI: ReadString fix to repair LSL5 password". This ↵Filippos Karapetis
fixes the problems with the LSL5 password for good svn-id: r42049
2009-06-07Replaced/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-05Moved some more debug commands to ScummVM's coneole and removed some unused codeFilippos Karapetis
svn-id: r41198
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-30- Removed debug_mode from the engine stateFilippos 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-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
2009-05-29SCI: Revised code for listing savegamesMax Horn
svn-id: r40999
2009-05-28SCI: Fix potential dangling pointer more robustly,Willem Jan Palenstijn
by changing the executionStack implementation to a list. svn-id: r40971
2009-05-27SCI: Cleanup.Walter van Niftrik
svn-id: r40931
2009-05-26Turned 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-20removed trailing whitespacesMax Horn
svn-id: r40742
2009-05-19SCI: Changed K_FILEIO_FILE_EXISTS to check regular files too.Walter van Niftrik
svn-id: r40724
2009-05-18SCI: 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-18Changed 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-11SCI: 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-12SCI: Moved savegame specific stuff from state.h to a new header savegame.hMax Horn
svn-id: r39351
2009-02-28Add support for saving Common::String objects.Willem Jan Palenstijn
Use it to simplify SavegameMetadata handling. svn-id: r38959
2009-02-27SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp ↵Max Horn
file with the EngineState constructor svn-id: r38921
2009-02-27SCI: Commited file handling revamp, work in progressMax Horn
svn-id: r38919
2009-02-26start 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-24not needed anymorePaweł Kołodziejski
svn-id: r38856
2009-02-24SCI: Moved kernel.h and kdebug.h from include/ to engine/; untangled header ↵Max Horn
deps some more svn-id: r38833
2009-02-23SCI: cleanupMax Horn
svn-id: r38811
2009-02-23SCI: Moved file specific stuff from tools.h & tools.cpp to kfile.cppMax Horn
svn-id: r38810
2009-02-23SCI: Got rid of resource_dir & work_dir (temporarily disabled ↵Max Horn
f_open_mirrored for that) svn-id: r38807
2009-02-23SCI: 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-22SCI: Rewrite the way file handles are managedMax Horn
svn-id: r38794
2009-02-22SCI: Moved the code which iterates over the current dir into a small classMax Horn
svn-id: r38793
2009-02-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783
2009-02-22Fixed compilation under WindowsFilippos Karapetis
svn-id: r38770
2009-02-21SCI: More cleanupMax Horn
svn-id: r38758
2009-02-21Fix compilation by implicit including of sys/stat.hEugene Sandulenko
svn-id: r38736
2009-02-21Fixed compilation under MSVCFilippos Karapetis
svn-id: r38723
2009-02-21revert 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-21Remove excess \n.Travis Howell
svn-id: r38695
2009-02-21error() calls don't need \n, as it is already appended in error() itselfJoost Peters
svn-id: r38694
2009-02-21replace obsolete creat() with open()Andre Heider
svn-id: r38690
2009-02-21Replaced "typedef struct _state state_t" with "struct EngineState"Jordi Vilalta Prat
svn-id: r38678
2009-02-21Wrapped the SCI engine in the Sci namespace.Oystein Eftevaag
svn-id: r38676