Commit graph

33 commits

Author SHA1 Message Date
Matthias Schiffer
7327695ca3 Moved source files to src directory 2010-03-09 03:49:15 +01:00
Matthias Schiffer
2bb8561836 Renamed some Tank and Shoot accessors 2010-03-09 03:19:34 +01:00
Matthias Schiffer
aa00912206 Get texture paths through cabal 2010-03-09 02:21:39 +01:00
Matthias Schiffer
d3e50ab004 Migrated from Make to Cabal 2010-03-09 02:00:21 +01:00
Matthias Schiffer
e03de6bfe6 Limit number of bullets/tank; save tank number with shoot 2010-03-08 23:12:14 +01:00
Matthias Schiffer
907cb95dae Shooting is possible now 2010-03-08 22:32:52 +01:00
Matthias Schiffer
335c10654f Added bullet texture and movement; restructured game state 2010-03-08 22:13:35 +01:00
Matthias Schiffer
7edb7c0e06 Re-re-corrected coordinates ... 2010-03-08 20:25:47 +01:00
Matthias Schiffer
996313bd89 Re-corrected coordinates... and new tank texture 2010-03-08 20:16:51 +01:00
Matthias Schiffer
d8cf601ac2 Corrected some coordinate calculations 2010-03-08 19:31:48 +01:00
Matthias Schiffer
000f7b30b7 Set correct scale with tiling window managers 2010-03-06 02:01:37 +01:00
Matthias Schiffer
0fb75af682 Aim with mouse in DefaultPlayer 2010-03-05 04:38:31 +01:00
Matthias Schiffer
1020310190 Render cannon direction; handle resize in GLX driver 2010-03-05 03:32:02 +01:00
Matthias Schiffer
88fd16d930 Added dump CPU player 2010-03-02 23:22:44 +01:00
Matthias Schiffer
8586ef7b85 New generic player implementation 2010-03-02 21:36:37 +01:00
Matthias Schiffer
d4db00ce9b Implemented correct turning 2010-03-02 06:10:34 +01:00
Matthias Schiffer
6a381a238a Use double buffers fbconfig 2010-03-02 03:48:03 +01:00
Matthias Schiffer
b9b5f03a32 Tidied up makefile and added clean target 2010-02-25 15:48:47 +01:00
Matthias Schiffer
bbed580653 Fixed event handling bug; don't provide generated bindings in git as they are probably not 64-bit clean 2010-02-25 05:08:10 +01:00
Matthias Schiffer
9ca9555fed Renamed some files and added Makefile 2010-02-25 04:49:30 +01:00
Matthias Schiffer
b4f295da91 Added tank texture and turn to drive direction 2010-02-25 04:38:14 +01:00
Matthias Schiffer
656b5e8bc1 Render floor 2010-02-25 03:48:17 +01:00
Matthias Schiffer
c23e63e667 Cache textures in game state 2010-02-25 03:16:44 +01:00
Matthias Schiffer
b4c3367c63 Added texture loading 2010-02-25 02:15:26 +01:00
Matthias Schiffer
7f12f41e5f Added keyboard events 2010-02-24 03:40:06 +01:00
Matthias Schiffer
4a6d841bc7 Used fixed point numbers for coordinates 2010-02-24 02:42:10 +01:00
Matthias Schiffer
9036ac3105 Use state monad to hold main loop state 2010-02-23 23:31:11 +01:00
Matthias Schiffer
366eb711dd Update viewport on resize 2010-02-23 20:51:30 +01:00
Matthias Schiffer
9772130708 Added buffer swap and some other things to the GLX backend and main loop 2010-02-23 15:05:31 +01:00
Matthias Schiffer
f10352a0f1 Handle quit events 2010-02-22 22:25:06 +01:00
Matthias Schiffer
8f693405d6 Free foreign pointers 2010-02-22 18:42:09 +01:00
Matthias Schiffer
465bf68345 Added simple main loop 2010-02-22 18:27:18 +01:00
Matthias Schiffer
62fe58cb55 Initial commit 2010-02-22 16:50:42 +01:00