diff options
author | Joshua Rahm <jrahm@Scipio.(none)> | 2014-04-28 14:40:02 -0600 |
---|---|---|
committer | Joshua Rahm <jrahm@Scipio.(none)> | 2014-04-28 14:40:02 -0600 |
commit | 6c9d984c054d634d2873fa3a74c41d2436f7fd53 (patch) | |
tree | 105686af3ec9267554f77c345c4ce9baf89be498 | |
parent | 41d2402f004bd446c6c4975caa5211fd44d302f5 (diff) | |
download | terralloc-6c9d984c054d634d2873fa3a74c41d2436f7fd53.tar.gz terralloc-6c9d984c054d634d2873fa3a74c41d2436f7fd53.tar.bz2 terralloc-6c9d984c054d634d2873fa3a74c41d2436f7fd53.zip |
added ability to get control of cursor with c. Updated goliath map
-rw-r--r-- | Resources.hs | 4 | ||||
-rw-r--r-- | maps/goliath_height.png | bin | 15565 -> 27219 bytes | |||
-rw-r--r-- | maps/goliath_terrain.png | bin | 2849 -> 3414 bytes |
3 files changed, 4 insertions, 0 deletions
diff --git a/Resources.hs b/Resources.hs index e5cb528..c0a947c 100644 --- a/Resources.hs +++ b/Resources.hs @@ -261,6 +261,10 @@ eventHandle event res = do SDL.showCursor False SDL.grabInput True return ret + KeyUp (Keysym SDLK_c _ _) -> do + SDL.showCursor True + SDL.grabInput False + return res KeyUp (Keysym SDLK_g _ _) -> do SDL.showCursor False SDL.grabInput True diff --git a/maps/goliath_height.png b/maps/goliath_height.png Binary files differindex 557922b..5e982e8 100644 --- a/maps/goliath_height.png +++ b/maps/goliath_height.png diff --git a/maps/goliath_terrain.png b/maps/goliath_terrain.png Binary files differindex e3eb9ab..5c288bd 100644 --- a/maps/goliath_terrain.png +++ b/maps/goliath_terrain.png |