aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.cpp
AgeCommit message (Collapse)Author
2009-03-30Wrapped all the still WIP SCI32-specific code around appropriate ifdef ↵Filippos Karapetis
blocks. SCI32 has fundamental differences from previous SCI versions (e.g. direct point addressing is no longer possible), most of SCI32 games use SVGA resolutions and currently a lot of SCI32 specific code is missing (like, for example, the newer string and array handling functions, the widget system etc). This has been done in the same manner as in the SCUMM and SAGA engines. svn-id: r39750
2009-03-12SCI: Removed most uses of the 'inline' keyword. It is usually better to let ↵Max Horn
the compiler figure out what to inline. As it is, most of these looked as if they were randomly placed ;) svn-id: r39352
2009-03-07Replaced getInt16, getUInt16 and putInt16Filippos Karapetis
svn-id: r39189
2009-02-28SCI: Renamed ResourceManager::sci_version to _sciVersion, to avoid var ↵Max Horn
shadowing warnings; some other tweaks svn-id: r38984
2009-02-28clean up some warningsAndre Heider
svn-id: r38965
2009-02-28SCI: Renamed some kernel types and general cleanupJordi Vilalta Prat
svn-id: r38961
2009-02-27SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp ↵Max Horn
file with the EngineState constructor svn-id: r38921
2009-02-27SCI: Moved almost all files from include/ to other dirs; only ↵Max Horn
include/engine.h remains svn-id: r38920
2009-02-26SCI: Some nitpick FIXMEs on incorrect opcode number comments ;)Max Horn
svn-id: r38906
2009-02-25reintroduce game_start_time (removed it in r38701), since the interpreter ↵Andre Heider
can be restarted and it can be retrieved via script function (eg. LSL3 about box) svn-id: r38888
2009-02-24SCI: Don't #include headers in other headers if a forward declaration of a ↵Max Horn
few types suffices (reduces header interdependencies) svn-id: r38872
2009-02-24not needed anymorePaweł Kołodziejski
svn-id: r38855
2009-02-24SCI: Renamed gfx/gfx_operations.h to gfx/operations.h (matching the source ↵Max Horn
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-24SCI: Moved kernel.h and kdebug.h from include/ to engine/; untangled header ↵Max Horn
deps some more svn-id: r38833
2009-02-23SCI: Merged kDeviceInfo_Win32 & kDeviceInfo_Unix; added lots of debug calls ↵Max Horn
to the file I/O code, to make it possible to analyze usage patterns; some cleanup svn-id: r38806
2009-02-23SCI: Fix incorrect usage of struct tm in date function of kGetTimeWalter van Niftrik
svn-id: r38803
2009-02-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783
2009-02-21SCI: Convert the segment manager into a classJordi Vilalta Prat
svn-id: r38767
2009-02-21multiply before dividing to improve timer resolutionWillem Jan Palenstijn
svn-id: r38765
2009-02-21SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header filesMax Horn
svn-id: r38735
2009-02-21SCI: Tons of cleanupMax Horn
svn-id: r38721
2009-02-21Turned back all fprintf/exit(1) bits into error()Filippos Karapetis
svn-id: r38716
2009-02-21Now that we've placed everything under the Sci namespace, the Sci:: bits can ↵Filippos Karapetis
be removed svn-id: r38714
2009-02-21use OSystem::getMillis() for last_wait_time and get rid of game_start_timeAndre Heider
svn-id: r38701
2009-02-21revert large parts of r38621. error() is for fatal errors and does not ↵Willem Jan Palenstijn
return. warning() is not for debugging status messages. svn-id: r38696
2009-02-21Remove excess \n.Travis Howell
svn-id: r38695
2009-02-21remove some endlines from warning() callsWillem Jan Palenstijn
svn-id: r38683
2009-02-21Replaced "typedef struct _state state_t" with "struct EngineState"Jordi Vilalta Prat
svn-id: r38678
2009-02-21Wrapped the SCI engine in the Sci namespace.Oystein Eftevaag
svn-id: r38676
2009-02-21SCI: Use GCC_PRINTF hint to the compiler for _SCIkprintf and sciprintf; ↵Max Horn
fixed tons of bad format strings svn-id: r38660
2009-02-20Changed some SCIkdebug() calls to debugC()Filippos Karapetis
svn-id: r38634
2009-02-20Changed more messages to warnings/errorsFilippos Karapetis
svn-id: r38621
2009-02-20Started conversion of debug messages and debug levels to the ScummVM ↵Filippos Karapetis
equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings svn-id: r38617
2009-02-19formatingPaweł Kołodziejski
svn-id: r38557
2009-02-17Removed already implemented graphic capability flags, and used CLIP inside ↵Filippos Karapetis
scummvm_draw_line() to clean up the code a bit svn-id: r38451
2009-02-17shat up ARRAYSIZE redefine compiler warningsPaweł Kołodziejski
svn-id: r38444
2009-02-17Update headers. engine/Eugene Sandulenko
svn-id: r38408
2009-02-17Replaced sci_free() with free() - it's OK to free a NULL pointer, so the ↵Filippos Karapetis
checking that sci_free() performed is not necessary svn-id: r38406
2009-02-15SCI: Run astyle to make the code be more compliant with our Code Formatting ↵Max Horn
Guidelines: engine dir svn-id: r38317
2009-02-15SCI: Got rid of a nasty hack where class, delete, new were re#defined ↵Max Horn
because FreeSCI used these C++ keywords for variable names svn-id: r38312
2009-02-15SCI: Changed _WIN32 -> WIN32; _DREAMCAST -> __DC__; removed _DOS stuffMax Horn
svn-id: r38305
2009-02-15Fixed some warnings.Johannes Schickel
svn-id: r38249
2009-02-15- Remove some unneeded filesEugene Sandulenko
- Mass rename .c to .cpp svn-id: r38227