diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2010-04-12 14:40:31 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2010-04-12 14:40:31 +0200 |
commit | dafe16f191f99dc1199a5b386fad916a78c5c4f1 (patch) | |
tree | 35b889df1cfdbf696e0b2e68c1e17f3fca6a743e /src/HTanks.hs | |
parent | d56001cb33d5a6d688cfd97dba71408c8fff1f7d (diff) | |
download | htanks-dafe16f191f99dc1199a5b386fad916a78c5c4f1.tar htanks-dafe16f191f99dc1199a5b386fad916a78c5c4f1.zip |
Some improvements on coordinate calculation & player rendering
Diffstat (limited to 'src/HTanks.hs')
-rw-r--r-- | src/HTanks.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HTanks.hs b/src/HTanks.hs index c9525b9..f1e0e98 100644 --- a/src/HTanks.hs +++ b/src/HTanks.hs @@ -27,7 +27,7 @@ import Data.Obj3D.GL main :: IO () main = do let theLevel = testLevel - --hwiidPlayer <- newHWiidPlayer + hwiidPlayer <- newHWiidPlayer gl <- initGL $ glxDriver (levelWidth theLevel) (levelHeight theLevel) when (initialized gl) $ do @@ -36,8 +36,8 @@ main = do , Tank 5.0 3.5 0 0 1.5 270 False 3 1 5 1 ], bullets = []} mainstate = MainState {run = True, driver = SomeDriver gl, time = currentTime, players = - [ SomePlayer $ DefaultPlayer S.empty 0 0 False - --SomePlayer $ hwiidPlayer + [ --SomePlayer $ DefaultPlayer S.empty 0 0 False + SomePlayer $ hwiidPlayer , SomePlayer $ CPUPlayer 0 ], textures = M.empty, models = M.empty, gameState = gamestate} |