Filippos Karapetis
fcf5e87de6
- Made ResourceManager accessible from _vm
...
- Replaced c_version by its corresponding ScummVM equivalent command
svn-id: r38775
2009-02-22 01:33:16 +00:00
Filippos Karapetis
a46a2d9c92
Fixed compilation under Windows
...
svn-id: r38770
2009-02-22 00:38:39 +00:00
Max Horn
d6e397233f
SCI: More cleanup
...
svn-id: r38758
2009-02-21 22:40:58 +00:00
Filippos Karapetis
9036c0fee0
Renamed SCI's console to sciconsole (MSVC has problems with files with the same name under different directories). ScummVM's console can be enabled correctly under MSVC now
...
svn-id: r38722
2009-02-21 18:46:03 +00:00
Paweł Kołodziejski
03769a6d56
formating
...
svn-id: r38700
2009-02-21 15:30:47 +00:00
Willem Jan Palenstijn
34f90ac043
revert large parts of r38621. error() is for fatal errors and does not return. warning() is not for debugging status messages.
...
svn-id: r38696
2009-02-21 14:11:41 +00:00
Jordi Vilalta Prat
3cc6cdf719
Replaced "typedef struct _state state_t" with "struct EngineState"
...
svn-id: r38678
2009-02-21 10:47:56 +00:00
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