Max Horn
b5df97ad2b
SCI: Moved kernel.h and kdebug.h from include/ to engine/; untangled header deps some more
...
svn-id: r38833
2009-02-24 05:51:55 +00:00
Max Horn
9744fc615c
SCI: Changed selector name table to a Common::StringList
...
svn-id: r38805
2009-02-23 03:04:52 +00:00
Max Horn
1687a5e8d0
SCI: Rewrite the way file handles are managed
...
svn-id: r38794
2009-02-22 21:38:46 +00:00
Jordi Vilalta Prat
b5ce8d9320
Whitespace cleanup
...
svn-id: r38783
2009-02-22 13:11:43 +00:00
Jordi Vilalta Prat
ac409a2ab7
SCI: Converted "segment interfaces" into classes
...
svn-id: r38782
2009-02-22 12:18:22 +00:00
Jordi Vilalta Prat
817fde6cdd
SCI: Convert the segment manager into a class
...
svn-id: r38767
2009-02-21 23:27:24 +00:00
Max Horn
6f13850161
SCI: Moved include/menubar.h -> gfx/menubar.h, untangled headers some more
...
svn-id: r38761
2009-02-21 22:50:35 +00:00
Max Horn
8430b662a9
SCI: Changed typedef struct -> struct
...
svn-id: r38752
2009-02-21 22:06:42 +00:00
Max Horn
dbafa5c456
SCI: Removed c_sleep console command (what was/is the idea behind that one, anyway?)
...
svn-id: r38748
2009-02-21 21:22:50 +00:00
Max Horn
ff17899d8e
SCI: Got rid of include/scitypes.h
...
svn-id: r38746
2009-02-21 21:16:41 +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
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
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
Max Horn
bcb1a71052
SCI: Fixed more warnings
...
svn-id: r38658
2009-02-21 04:10:21 +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
Paweł Kołodziejski
435844c61e
formating
...
svn-id: r38625
2009-02-20 21:38:38 +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
Filippos Karapetis
53ef1bd4fd
Removed already implemented graphic capability flags, and used CLIP inside scummvm_draw_line() to clean up the code a bit
...
svn-id: r38451
2009-02-17 22:53:09 +00:00
Paweł Kołodziejski
ebff01c463
shat up ARRAYSIZE redefine compiler warnings
...
svn-id: r38444
2009-02-17 20:26:57 +00:00
Filippos Karapetis
e28439bebc
point_t -> Common::Point
...
svn-id: r38437
2009-02-17 19:15:37 +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
Filippos Karapetis
a3adca29f2
Removed a lot of unused and compiler-specific debug code. Note that for MSVC, the corresponding checks are enabled by default in the debug build, so there's no need to set them again programmatically. Also, removed the "codebugging" related code
...
svn-id: r38387
2009-02-16 23:28:24 +00:00
Lars Persson
6dbd7e21eb
Use MIN with correct template <int>
...
svn-id: r38375
2009-02-16 18:37:28 +00:00
Travis Howell
2d0a897d16
Replace strcasecmp with scumm_stricmp.
...
svn-id: r38356
2009-02-16 09:17:49 +00:00
Max Horn
6af056c89d
Reimplemented reg_t_hashmap using Common::HashMap
...
svn-id: r38340
2009-02-16 01:58:30 +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
e29d90be3e
SCI: Fixed more warnings
...
svn-id: r38303
2009-02-15 21:12:21 +00:00
Filippos Karapetis
aa3f10b2fd
Fixed compilation under MSVC, and silenced some more warnings
...
svn-id: r38247
2009-02-15 14:52:51 +00:00
Filippos Karapetis
24dc986944
Silenced a ton of warnings, and disabled several unreferenced functions (dead code) - hopefully, compilation hasn't been broken...
...
svn-id: r38243
2009-02-15 14:26:33 +00:00
Filippos Karapetis
25ddb00436
Silenced more warnings
...
svn-id: r38230
2009-02-15 12:23:16 +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