diff options
author | Filippos Karapetis | 2009-09-29 14:24:07 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-29 14:24:07 +0000 |
commit | f9296a64459a09961bdf61fa4dbb3d3f524a4c25 (patch) | |
tree | 47e58f397493e87f18560b7891cbb23afa668eb2 /engines/sci/engine/kmovement.cpp | |
parent | af4c6c5f5b642e6a53596b7a00d57e2060ba0693 (diff) | |
download | scummvm-rg350-f9296a64459a09961bdf61fa4dbb3d3f524a4c25.tar.gz scummvm-rg350-f9296a64459a09961bdf61fa4dbb3d3f524a4c25.tar.bz2 scummvm-rg350-f9296a64459a09961bdf61fa4dbb3d3f524a4c25.zip |
- Changed the unimplemented debug SCI kernel functions (InspectObj, ShowSends, ShowObjs, ShowFree, StackUsage and Profiler) to be dummy functions - we have our own debugger, and don't use these functions for debugging
- Removed the function number parameter from all kernel functions, as it's no longer needed, and removed the FAKE_FUNCT_NR hack
- Removed kUnknown() and kStub()
- Dummy/unknown kernel functions are no longer invoked, and a warning is shown instead, with the paremeters passed to them
Note: there is an evil hack used for debugging scripts in invoke_selector(), which probably no longer works now
svn-id: r44461
Diffstat (limited to 'engines/sci/engine/kmovement.cpp')
-rw-r--r-- | engines/sci/engine/kmovement.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/kmovement.cpp b/engines/sci/engine/kmovement.cpp index ac4a2382ad..ad5851cd3d 100644 --- a/engines/sci/engine/kmovement.cpp +++ b/engines/sci/engine/kmovement.cpp @@ -67,7 +67,7 @@ But the solution resulting from that is a lot more complicated, so we use the ab Still, what we compute in the end is of course not a real velocity anymore, but an integer approximation, used in an iterative stepping algorithm */ -reg_t kSetJump(EngineState *s, int, int argc, reg_t *argv) { +reg_t kSetJump(EngineState *s, int argc, reg_t *argv) { SegManager *segMan = s->segMan; // Input data reg_t object = argv[0]; @@ -218,7 +218,7 @@ static void initialize_bresen(SegManager *segMan, int argc, reg_t *argv, reg_t m PUT_SEL32V(mover, b_i2, bdi * 2); } -reg_t kInitBresen(EngineState *s, int, int argc, reg_t *argv) { +reg_t kInitBresen(EngineState *s, int argc, reg_t *argv) { SegManager *segMan = s->segMan; reg_t mover = argv[0]; reg_t client = GET_SEL32(mover, client); @@ -284,7 +284,7 @@ static void bresenham_autodetect(EngineState *s) { } } -reg_t kDoBresen(EngineState *s, int, int argc, reg_t *argv) { +reg_t kDoBresen(EngineState *s, int argc, reg_t *argv) { SegManager *segMan = s->segMan; reg_t mover = argv[0]; reg_t client = GET_SEL32(mover, client); @@ -393,7 +393,7 @@ reg_t kDoBresen(EngineState *s, int, int argc, reg_t *argv) { extern void _k_dirloop(reg_t obj, uint16 angle, EngineState *s, int argc, reg_t *argv); extern int get_angle(int xrel, int yrel); -reg_t kDoAvoider(EngineState *s, int, int argc, reg_t *argv) { +reg_t kDoAvoider(EngineState *s, int argc, reg_t *argv) { SegManager *segMan = s->segMan; reg_t avoider = argv[0]; reg_t client, looper, mover; |