aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-12-30 14:54:08 +0000
committerTorbjörn Andersson2004-12-30 14:54:08 +0000
commit8ce71ebb2015320e81d4148d8136469d77f47c9c (patch)
tree123cfa15628cb87a81adc78043b27fb1656deaa6 /saga
parent92a43e14a0a133ca7767c9f5749de1e101a342cc (diff)
downloadscummvm-rg350-8ce71ebb2015320e81d4148d8136469d77f47c9c.tar.gz
scummvm-rg350-8ce71ebb2015320e81d4148d8136469d77f47c9c.tar.bz2
scummvm-rg350-8ce71ebb2015320e81d4148d8136469d77f47c9c.zip
Fixed warning.
svn-id: r16386
Diffstat (limited to 'saga')
-rw-r--r--saga/actor.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/saga/actor.cpp b/saga/actor.cpp
index c4461c3bfe..f7df23fab4 100644
--- a/saga/actor.cpp
+++ b/saga/actor.cpp
@@ -77,33 +77,33 @@ PathDirectionData pathDirectionLUT[8][4] = {
};
int pathDirectionLUT2[8][2] = {
- 0, -1,
- 1, 0,
- 0, 1,
- -1, 0,
- 1, -1,
- 1, 1,
- -1, 1,
- -1, -1
+ { 0, -1},
+ { 1, 0},
+ { 0, 1},
+ {-1, 0},
+ { 1, -1},
+ { 1, 1},
+ {-1, 1},
+ {-1, -1}
};
int angleLUT[16][2] = {
- 0, -256,
- 98, -237,
- 181, -181,
- 237, -98,
- 256, 0,
- 237, 98,
- 181, 181,
- 98, 237,
- 0, 256,
- -98, 237,
- -181, 181,
- -237, 98,
- -256, 0,
- -237, -98,
- -181, -181,
- -98, -237
+ { 0, -256},
+ { 98, -237},
+ { 181, -181},
+ { 237, -98},
+ { 256, 0},
+ { 237, 98},
+ { 181, 181},
+ { 98, 237},
+ { 0, 256},
+ { -98, 237},
+ {-181, 181},
+ {-237, 98},
+ {-256, 0},
+ {-237, -98},
+ {-181, -181},
+ { -98, -237}
};