aboutsummaryrefslogtreecommitdiff
path: root/saga/actor.h
diff options
context:
space:
mode:
authorAndrew Kurushin2005-02-18 00:00:00 +0000
committerAndrew Kurushin2005-02-18 00:00:00 +0000
commitbbbd3b5fbf1230e681fad01e80717bc1785e0d09 (patch)
treee6ece1dcf27eef28d85915deed0b1e592f326648 /saga/actor.h
parentdef8641e1f748a193db6afe060729ef242883409 (diff)
downloadscummvm-rg350-bbbd3b5fbf1230e681fad01e80717bc1785e0d09.tar.gz
scummvm-rg350-bbbd3b5fbf1230e681fad01e80717bc1785e0d09.tar.bz2
scummvm-rg350-bbbd3b5fbf1230e681fad01e80717bc1785e0d09.zip
iso mode drawing work in progress
svn-id: r16802
Diffstat (limited to 'saga/actor.h')
-rw-r--r--saga/actor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/saga/actor.h b/saga/actor.h
index 5d43efd137..4bfe878a71 100644
--- a/saga/actor.h
+++ b/saga/actor.h
@@ -146,6 +146,12 @@ struct Location {
int &v() {
return y;
}
+ int u() const {
+ return x;
+ }
+ int v() const {
+ return y;
+ }
void delta(const Location &location, Location &result) const {
result.x = x - location.x;
result.y = y - location.y;