aboutsummaryrefslogtreecommitdiff
path: root/saga/actor.h
diff options
context:
space:
mode:
authorAndrew Kurushin2005-02-09 20:30:45 +0000
committerAndrew Kurushin2005-02-09 20:30:45 +0000
commitea78766c46041f9252e6b058f736503e6458f03d (patch)
treee8265b6b172c01aed74c4270279b15fcfc4a0474 /saga/actor.h
parenta13e8a98ff506c100b014ccf7e4b077012c94b50 (diff)
downloadscummvm-rg350-ea78766c46041f9252e6b058f736503e6458f03d.tar.gz
scummvm-rg350-ea78766c46041f9252e6b058f736503e6458f03d.tar.bz2
scummvm-rg350-ea78766c46041f9252e6b058f736503e6458f03d.zip
first step in ISO mode implementation - trying to draw iso scene
svn-id: r16763
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 32ea2812a0..5d43efd137 100644
--- a/saga/actor.h
+++ b/saga/actor.h
@@ -140,6 +140,12 @@ struct Location {
int distance(const Location &location) const {
return MAX(ABS(x - location.x), ABS(y - location.y));
}
+ int &u() {
+ return x;
+ }
+ int &v() {
+ return y;
+ }
void delta(const Location &location, Location &result) const {
result.x = x - location.x;
result.y = y - location.y;