diff options
author | Filippos Karapetis | 2009-06-07 15:53:30 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-06-07 15:53:30 +0000 |
commit | 744323ca33ad94f4be7de9d3e394bf02725b5f7a (patch) | |
tree | 4435225f3e49cdcdea60833c9eba64d1d5f40843 /engines/sci/engine/kmovement.cpp | |
parent | a5ff6cc19d47fbe6acd8c6ad459b609a37ca39ec (diff) | |
download | scummvm-rg350-744323ca33ad94f4be7de9d3e394bf02725b5f7a.tar.gz scummvm-rg350-744323ca33ad94f4be7de9d3e394bf02725b5f7a.tar.bz2 scummvm-rg350-744323ca33ad94f4be7de9d3e394bf02725b5f7a.zip |
Replaced/removed KP_UINT, KP_SINT, SKPV and UKPV as well as the VIEW_PRIORITY and PRIORITY_BAND_FIRST wrappers
svn-id: r41338
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 b116fa4093..361228bedb 100644 --- a/engines/sci/engine/kmovement.cpp +++ b/engines/sci/engine/kmovement.cpp @@ -70,9 +70,9 @@ used in an iterative stepping algorithm reg_t kSetJump(EngineState *s, int funct_nr, int argc, reg_t *argv) { // Input data reg_t object = argv[0]; - int dx = SKPV(1); - int dy = SKPV(2); - int gy = SKPV(3); + int dx = argv[1].toSint16(); + int dy = argv[2].toSint16(); + int gy = argv[3].toSint16(); // Derived data int c; @@ -224,7 +224,7 @@ reg_t kInitBresen(EngineState *s, int funct_nr, int argc, reg_t *argv) { int deltax = GET_SEL32SV(mover, x) - GET_SEL32SV(client, x); int deltay = GET_SEL32SV(mover, y) - GET_SEL32SV(client, y); - initialize_bresen(s, argc, argv, mover, KP_UINT(KP_ALT(1, make_reg(0, 1))), deltax, deltay); + initialize_bresen(s, argc, argv, mover, KP_ALT(1, make_reg(0, 1)).toUint16(), deltax, deltay); return s->r_acc; } |