133 Commits

Author SHA1 Message Date
Max Horn
e5a7b99cee SCI: Don't #include headers in other headers if a forward declaration of a few types suffices (reduces header interdependencies)
svn-id: r38872
2009-02-24 23:16:42 +00:00
Paweł Kołodziejski
9bb135ac25 not needed anymore
svn-id: r38855
2009-02-24 20:52:18 +00:00
Max Horn
0be30cdc5d SCI: Renamed gfx/gfx_operations.h to gfx/operations.h (matching the source file); moved include/sci_widgets.h to gfx/ (matching location of source file); renamed gfx/widgets.cpp to gfx/gfx_widgets.cpp (matching the header)
svn-id: r38852
2009-02-24 20:39:34 +00:00
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
6147bd3ed9 SCI: Merged kDeviceInfo_Win32 & kDeviceInfo_Unix; added lots of debug calls to the file I/O code, to make it possible to analyze usage patterns; some cleanup
svn-id: r38806
2009-02-23 03:51:22 +00:00
Walter van Niftrik
ce7377ff5b SCI: Fix incorrect usage of struct tm in date function of kGetTime
svn-id: r38803
2009-02-23 01:59:04 +00:00
Jordi Vilalta Prat
b5ce8d9320 Whitespace cleanup
svn-id: r38783
2009-02-22 13:11:43 +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
Willem Jan Palenstijn
b18ccb755a multiply before dividing to improve timer resolution
svn-id: r38765
2009-02-21 23:16:03 +00:00
Max Horn
eb37789f6f SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header files
svn-id: r38735
2009-02-21 19:33:01 +00:00
Max Horn
9f2c0dcc6f SCI: Tons of cleanup
svn-id: r38721
2009-02-21 18:39:53 +00:00
Filippos Karapetis
426def4f44 Turned back all fprintf/exit(1) bits into error()
svn-id: r38716
2009-02-21 18:16:17 +00:00
Filippos Karapetis
3cd9706c63 Now that we've placed everything under the Sci namespace, the Sci:: bits can be removed
svn-id: r38714
2009-02-21 18:12:02 +00:00
Andre Heider
e514d9780a use OSystem::getMillis() for last_wait_time and get rid of game_start_time
svn-id: r38701
2009-02-21 15:40:14 +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
Travis Howell
7ce7993c30 Remove excess \n.
svn-id: r38695
2009-02-21 13:19:44 +00:00
Willem Jan Palenstijn
baa7c7b997 remove some endlines from warning() calls
svn-id: r38683
2009-02-21 11:26:54 +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
Filippos Karapetis
701279fb40 Changed some SCIkdebug() calls to debugC()
svn-id: r38634
2009-02-20 22:21:33 +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
Paweł Kołodziejski
c6e9e3d9bc formating
svn-id: r38557
2009-02-19 18:33:43 +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
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
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
4eff1002f9 SCI: Got rid of a nasty hack where class, delete, new were re#defined because FreeSCI used these C++ keywords for variable names
svn-id: r38312
2009-02-15 22:01:09 +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
Johannes Schickel
e1b36cf2cd Fixed some warnings.
svn-id: r38249
2009-02-15 14:59:03 +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