aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
AgeCommit message (Collapse)Author
2009-02-21Renamed SCI's console to sciconsole (MSVC has problems with files with the ↵Filippos Karapetis
same name under different directories). ScummVM's console can be enabled correctly under MSVC now svn-id: r38722
2009-02-21formatingPaweł Kołodziejski
svn-id: r38700
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-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
2009-02-20Converted SCI saving to use saveFileMan. Instead of a savegame beingWillem 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-20Changed some SCIkdebug() calls to debugC()Filippos Karapetis
svn-id: r38634
2009-02-20Some initial code for a debug console (still non-working)Filippos Karapetis
svn-id: r38623
2009-02-20Changed more messages to warnings/errorsFilippos Karapetis
svn-id: r38621
2009-02-20Started 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-20SCI: Started rewriting file handling. Warning: This will likely introduceMax 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-20SCI: Removed unused allow_patches param/memberMax Horn
svn-id: r38595
2009-02-20SCI: Renamed resource_mgr_t -> ResourceManager; added remark to 'the other ↵Max Horn
resource manager' that it should be renamed to GraphicsManager or so svn-id: r38592
2009-02-20- Moved SciEngine code to sci.cppJordi Vilalta Prat
- Fill the platform on fallback detection - Report unparseable version strings - Map known non-numeric version strings to their numeric counterparts - Fix a crash caused by uninitialized LZEXE data svn-id: r38589
2009-02-18Added methods to get information for the detected game versionFilippos Karapetis
svn-id: r38502
2009-02-18Moved game version checking to ScummVM's detector and removed the FreeSCI ↵Filippos Karapetis
version checking routines svn-id: r38458
2009-02-17SCI: Merged main_ into SciEngine::go()Max Horn
svn-id: r38433
2009-02-17Update headers. restEugene Sandulenko
svn-id: r38413
2009-02-17Replaced 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-15SCI: Run astyle to make the code be more compliant with our Code Formatting ↵Max Horn
Guidelines: rest svn-id: r38325
2009-02-15don't allocate state_t gamestate on stack as it will be freedWillem Jan Palenstijn
svn-id: r38259
2009-02-15- Move sci/scummvm/ contents to sci/ Eugene Sandulenko
- Rename scumm_engine.cpp to sci.cpp - Remove unneeded gfx drivers - Rename scummvm_driver.c to gfx_driver.cpp svn-id: r38225