Commit graph

18 commits

Author SHA1 Message Date
Oystein Eftevaag
25f7c37171 Wrapped the SCI engine in the Sci namespace.
svn-id: r38676
2009-02-21 10:23:36 +00:00
Willem Jan Palenstijn
abbca80d61 Converted SCI saving to use saveFileMan. Instead of a savegame being
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 23:41:15 +00:00
Filippos Karapetis
701279fb40 Changed some SCIkdebug() calls to debugC()
svn-id: r38634
2009-02-20 22:21:33 +00:00
Filippos Karapetis
9582e48574 Some initial code for a debug console (still non-working)
svn-id: r38623
2009-02-20 21:26:31 +00:00
Filippos Karapetis
2ddce51a56 Changed more messages to warnings/errors
svn-id: r38621
2009-02-20 20:39:02 +00:00
Filippos Karapetis
ac716ad843 Started conversion of debug messages and debug levels to the ScummVM equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings
svn-id: r38617
2009-02-20 20:11:12 +00:00
Max Horn
bc360ee525 SCI: Started rewriting file handling. Warning: This will likely introduce
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-20 16:03:50 +00:00
Max Horn
617c63c1ed SCI: Removed unused allow_patches param/member
svn-id: r38595
2009-02-20 15:47:37 +00:00
Max Horn
a2aba2f18e SCI: Renamed resource_mgr_t -> ResourceManager; added remark to 'the other resource manager' that it should be renamed to GraphicsManager or so
svn-id: r38592
2009-02-20 15:24:22 +00:00
Jordi Vilalta Prat
20d0395b69 - Moved SciEngine code to sci.cpp
- 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-20 14:45:28 +00:00
Filippos Karapetis
a501d4dca0 Added methods to get information for the detected game version
svn-id: r38502
2009-02-18 20:08:49 +00:00
Filippos Karapetis
056a13f710 Moved game version checking to ScummVM's detector and removed the FreeSCI version checking routines
svn-id: r38458
2009-02-18 09:09:37 +00:00
Max Horn
f245cf55b8 SCI: Merged main_ into SciEngine::go()
svn-id: r38433
2009-02-17 18:16:48 +00:00
Eugene Sandulenko
3e0519e4ee Update headers. rest
svn-id: r38413
2009-02-17 15:20:21 +00:00
Filippos Karapetis
d39d83e525 Replaced sci_free() with free() - it's OK to free a NULL pointer, so the checking that sci_free() performed is not necessary
svn-id: r38406
2009-02-17 13:51:52 +00:00
Max Horn
f3ab80b4e8 SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: rest
svn-id: r38325
2009-02-15 22:43:13 +00:00
Willem Jan Palenstijn
3a6da187ad don't allocate state_t gamestate on stack as it will be freed
svn-id: r38259
2009-02-15 15:36:53 +00:00
Eugene Sandulenko
e9f7428063 - Move sci/scummvm/ contents to sci/
- Rename scumm_engine.cpp to sci.cpp
- Remove unneeded gfx drivers
- Rename scummvm_driver.c to gfx_driver.cpp

svn-id: r38225
2009-02-15 11:03:21 +00:00
Renamed from engines/sci/scummvm/scummvm_engine.cpp (Browse further)