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
Max Horn
7c87b4901d
SCI: Use GCC_PRINTF hint to the compiler for _SCIkprintf and sciprintf; fixed tons of bad format strings
...
svn-id: r38660
2009-02-21 04:25:56 +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
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
Paweł Kołodziejski
427196cde4
formating
...
svn-id: r38560
2009-02-19 18:52:00 +00:00
Paweł Kołodziejski
ebff01c463
shat up ARRAYSIZE redefine compiler warnings
...
svn-id: r38444
2009-02-17 20:26:57 +00:00
Eugene Sandulenko
22a009d3c6
Update headers. engine/
...
svn-id: r38408
2009-02-17 15:02:16 +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
Travis Howell
2d0a897d16
Replace strcasecmp with scumm_stricmp.
...
svn-id: r38356
2009-02-16 09:17:49 +00:00
Max Horn
74132ed71a
SCI: cleanup
...
svn-id: r38336
2009-02-16 00:35:22 +00:00
Max Horn
57434d955f
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: engine dir
...
svn-id: r38317
2009-02-15 22:28:12 +00:00
Max Horn
e90eed4ff3
SCI: Changed _WIN32 -> WIN32; _DREAMCAST -> __DC__; removed _DOS stuff
...
svn-id: r38305
2009-02-15 21:27:42 +00:00
Max Horn
a49d29cf6f
cleanup, fixed warnings
...
svn-id: r38282
2009-02-15 19:15:43 +00:00
Max Horn
e28ed6b4c9
SCI: Got rid of HAVE_FNMATCH_H
...
svn-id: r38279
2009-02-15 18:58:10 +00:00
Johannes Schickel
e1b36cf2cd
Fixed some warnings.
...
svn-id: r38249
2009-02-15 14:59:03 +00:00
Max Horn
9daed50e01
Fixed lots of warnings and errors (on my system) by backporting a patch I had sent the FreeSCI folks some time ago (but apparently it never made it, or only made it to a branch not imported?)
...
svn-id: r38245
2009-02-15 14:46:42 +00:00
Eugene Sandulenko
e241843bec
- Remove some unneeded files
...
- Mass rename .c to .cpp
svn-id: r38227
2009-02-15 11:39:07 +00:00