diff options
author | neoraider <devnull@localhost> | 2007-11-01 00:27:03 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-11-01 00:27:03 +0100 |
commit | 68ba1f69427760d004142c420a51e88c0f6b2961 (patch) | |
tree | cfee403a205d42ced06fb53b1e06e6cae9a95295 /player.c | |
parent | 0d161e31bbc3433e320f2367657fb054974182d3 (diff) | |
download | libzoom-68ba1f69427760d004142c420a51e88c0f6b2961.tar libzoom-68ba1f69427760d004142c420a51e88c0f6b2961.zip |
libzoom: Fixed some warnings with -Wall
Diffstat (limited to 'player.c')
-rw-r--r-- | player.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -10,7 +10,7 @@ int input = 0; int falling = 0; PLAYER player = { - {0.0, 0.0, 0.0}, + {{0.0, 0.0, 0.0}}, 0.0, 0.0, 1.0, 100, 100, 0 }; @@ -34,16 +34,16 @@ void MouseInput(int x, int y) { void DoInput(int delta) { int i, wasfalling = falling; - int g; + //int g; VERTEX pos; int room = player.room; - VECTOR move = {0.0, 0.0, 0.0}; - VECTOR v = {0.0, -1.0, 0.0}; + VECTOR move = {{0.0, 0.0, 0.0}}; + VECTOR v = {{0.0, -1.0, 0.0}}; float s, c; float f = 0.0; - VERTEX p1, p2; - VECTOR v1, v2; - MATRIX transform; + //VERTEX p1, p2; + //VECTOR v1, v2; + //MATRIX transform; objrot += 0.01*delta; if(objrot > 360.0) objrot -= 360.0; |