Walter van Niftrik
|
d7180316dd
|
SCI: Fix sci_max_allowed_unknown_kernel_functions[], it was missing an entry.
svn-id: r40118
|
2009-04-24 15:13:04 +00:00 |
|
Walter van Niftrik
|
db8b3cef61
|
SCI: Fix signature of kPalette().
svn-id: r40117
|
2009-04-24 14:50:01 +00:00 |
|
Filippos Karapetis
|
001699becb
|
Removed a FIXME concerning CanBeHere and CantBeHere and added an explanation. Also, removed some unused code.
svn-id: r40094
|
2009-04-23 19:11:01 +00:00 |
|
Filippos Karapetis
|
bd2c2b0e50
|
WIP code for kGetMessage (tested with Eco Quest 1). Currently, it doesn't always work for some reason...
svn-id: r40092
|
2009-04-23 18:17:35 +00:00 |
|
Max Horn
|
3774b9cd0c
|
SCI: Slim down struct SciKernelFunction
svn-id: r40081
|
2009-04-22 17:54:30 +00:00 |
|
Max Horn
|
3af8918e1a
|
SCI: Changed kfunct_table to a Common::Array
svn-id: r40080
|
2009-04-22 17:54:11 +00:00 |
|
Max Horn
|
b1e43f3ca0
|
SCI: Changed knames (kernel function name table) to Common::StringList
svn-id: r40078
|
2009-04-22 17:53:29 +00:00 |
|
Max Horn
|
d567482818
|
SCI: Moved list of kernel func declarations to header file, where it belongs
svn-id: r40030
|
2009-04-20 19:28:08 +00:00 |
|
Filippos Karapetis
|
e130aecc4f
|
Wrapped all the still WIP SCI32-specific code around appropriate ifdef 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-30 07:53:32 +00:00 |
|
Max Horn
|
642bad22d8
|
SCI: Removed most uses of the 'inline' keyword. It is usually better to let 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-12 03:26:47 +00:00 |
|
Filippos Karapetis
|
1e29983d8e
|
Replaced getInt16, getUInt16 and putInt16
svn-id: r39189
|
2009-03-07 16:14:20 +00:00 |
|
Max Horn
|
d7b06b7d42
|
SCI: Renamed ResourceManager::sci_version to _sciVersion, to avoid var shadowing warnings; some other tweaks
svn-id: r38984
|
2009-02-28 22:19:22 +00:00 |
|
Andre Heider
|
b2cd5beb9e
|
clean up some warnings
svn-id: r38965
|
2009-02-28 13:41:43 +00:00 |
|
Jordi Vilalta Prat
|
501e4bb91a
|
SCI: Renamed some kernel types and general cleanup
svn-id: r38961
|
2009-02-28 11:12:59 +00:00 |
|
Max Horn
|
479751104f
|
SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp file with the EngineState constructor
svn-id: r38921
|
2009-02-27 02:23:40 +00:00 |
|
Max Horn
|
170916201c
|
SCI: Moved almost all files from include/ to other dirs; only include/engine.h remains
svn-id: r38920
|
2009-02-27 02:23:00 +00:00 |
|
Max Horn
|
e140188541
|
SCI: Some nitpick FIXMEs on incorrect opcode number comments ;)
svn-id: r38906
|
2009-02-26 16:16:30 +00:00 |
|
Andre Heider
|
9af7fba681
|
reintroduce game_start_time (removed it in r38701), since the interpreter can be restarted and it can be retrieved via script function (eg. LSL3 about box)
svn-id: r38888
|
2009-02-25 21:43:57 +00:00 |
|
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 |
|