aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.cpp
AgeCommit message (Collapse)Author
2009-05-08SCI: Set signature for GetMessage.Walter van Niftrik
svn-id: r40396
2009-05-08SCI: Renamed dstack_t -> DataStack; removed obsolete KF_OLD constantMax Horn
svn-id: r40374
2009-05-03SCI: Started adding methods to MemObject subclasses: constructors, ↵Max Horn
destructors, dereference() (and currently commented out refs to Common::Serializable svn-id: r40295
2009-05-03SCI: Completed transition from MemObject (a union of various structs) to ↵Max Horn
MemObjectNEW (a baseclass for these structs) svn-id: r40294
2009-05-03SCI: Changed SegManager to store the heap pointers in a Common::ArrrayMax Horn
svn-id: r40293
2009-05-03SCI: Continue transition from MemObject to MemObjectNEWMax Horn
svn-id: r40274
2009-05-03SCI: Renamed MemObject::type and ::segmgr_id to _type resp. _segmgrId, and ↵Max Horn
added accessor methods getType() and getSegMgrId() svn-id: r40271
2009-04-28SCI: Improved the Table template a bit by taking advantage of C++ featuresMax Horn
svn-id: r40190
2009-04-25WIP (still non-working) code for speech sync in CD talkie games (like e.g. ↵Filippos Karapetis
KQ5 CD and SQ4 CD), taken from Greg's SCI implementation. svn-id: r40142
2009-04-24SCI: Fix sci_max_allowed_unknown_kernel_functions[], it was missing an entry.Walter van Niftrik
svn-id: r40118
2009-04-24SCI: Fix signature of kPalette().Walter van Niftrik
svn-id: r40117
2009-04-23Removed a FIXME concerning CanBeHere and CantBeHere and added an ↵Filippos Karapetis
explanation. Also, removed some unused code. svn-id: r40094
2009-04-23WIP code for kGetMessage (tested with Eco Quest 1). Currently, it doesn't ↵Filippos Karapetis
always work for some reason... svn-id: r40092
2009-04-22SCI: Slim down struct SciKernelFunctionMax Horn
svn-id: r40081
2009-04-22SCI: Changed kfunct_table to a Common::ArrayMax Horn
svn-id: r40080
2009-04-22SCI: Changed knames (kernel function name table) to Common::StringListMax Horn
svn-id: r40078
2009-04-20SCI: Moved list of kernel func declarations to header file, where it belongsMax Horn
svn-id: r40030
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