Filippos Karapetis
522b161bec
Replaced sciprintf() calls with printf, DebugPrintf, warning and error calls
...
svn-id: r42167
2009-07-06 10:39:22 +00:00
Filippos Karapetis
6fa8541aed
- Pushed debugstate into debug.h
...
- When an error occurs, manipulate the execution stack before error() opens the console inside getDebugger(), like FreeSCI did. Added another method for obtaining the SCI console for use by the engine itself.
svn-id: r42062
2009-07-03 14:22:50 +00:00
Filippos Karapetis
317da8756e
- Moved the engine state and the console to be private members of SciEngine
...
- Implemented pauseEngineIntern()
- Music now stops and resumes when entering/leaving the debugger
svn-id: r41139
2009-06-03 14:09:25 +00:00
Filippos Karapetis
56c0a41b71
SCI: Moved the rest of the console code out of sciconsole.cpp and into console.cpp. "list" and "hexgrep" have been added to the console commands. parse_reg_t() has been moved to kmovement.cpp (as it's the only code using it). Note that the debug commands in scriptdebug.cpp have not been converted yet, so they don't work at the moment
...
svn-id: r41024
2009-05-30 10:22:53 +00:00
Max Horn
32975b25f4
SCI: cleanup
...
svn-id: r40959
2009-05-28 11:15:09 +00:00
Filippos Karapetis
87e8f94fde
- Moved all the files out of /sci/scicore and into /sci
...
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp
svn-id: r40608
2009-05-15 14:07:45 +00:00
Filippos Karapetis
41af51d645
Simplified and re-enabled the debug code that shows pixmaps on screen and moved sciprintf() to tools.cpp
...
svn-id: r40542
2009-05-13 21:22:53 +00:00
Filippos Karapetis
1e29983d8e
Replaced getInt16, getUInt16 and putInt16
...
svn-id: r39189
2009-03-07 16:14:20 +00:00
Max Horn
595c655766
SCI: Moved (kernel) debug stuff from tools.cpp to a new file engine/kdebug.cpp
...
svn-id: r38867
2009-02-24 22:41:58 +00:00
Paweł Kołodziejski
c2c02ceffd
remove code related __GNU__XX defines
...
svn-id: r38863
2009-02-24 22:24:58 +00:00
Paweł Kołodziejski
91ee9a3eb8
not needed this includes anymore
...
svn-id: r38857
2009-02-24 21:13:32 +00:00
Andre Heider
357299c570
substitute all time related functions, removing sci_gettime sci_get_current_time altogether.
...
svn-id: r38845
2009-02-24 18:31:05 +00:00
Johannes Schickel
cda5d6989b
Fix some warnings.
...
svn-id: r38840
2009-02-24 15:14:15 +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
c21e6c382d
SCI: Moved file specific stuff from tools.h & tools.cpp to kfile.cpp
...
svn-id: r38810
2009-02-23 04:37:35 +00:00
Max Horn
8997a45773
SCI: Replaced two uses of sci_fopen by Common::File; moved is_print_str() to the only spot it is used
...
svn-id: r38791
2009-02-22 19:45:53 +00:00
Filippos Karapetis
a46a2d9c92
Fixed compilation under Windows
...
svn-id: r38770
2009-02-22 00:38:39 +00:00
Max Horn
d6e397233f
SCI: More cleanup
...
svn-id: r38758
2009-02-21 22:40:58 +00:00
Max Horn
9f2c0dcc6f
SCI: Tons of cleanup
...
svn-id: r38721
2009-02-21 18:39:53 +00:00
Max Horn
0d41ca8d38
SCI: Moved scicore/tools.cpp to tools.cpp, and include/resource.h to tools.h
...
svn-id: r38720
2009-02-21 18:28:38 +00:00