Commit graph

66 commits

Author SHA1 Message Date
cc53496bab Reworked Transform as a type class 2011-06-26 20:55:51 +02:00
8f1fd98cd6 Consider bullet diameter in tank/bullet collision tests 2011-06-24 23:04:21 +02:00
83f0606ea9 Added Transformable class to simplify collision calculation 2011-06-24 21:50:32 +02:00
d7971385e8 Added some fixes for current opengl library 2011-01-03 15:31:53 +01:00
Matthias Schiffer
ba7068c940 Properly align bullet model 2010-04-16 09:20:22 +02:00
Matthias Schiffer
0c03d67f55 Adapted to obj-model-opengl rename 2010-04-16 09:20:01 +02:00
Matthias Schiffer
a19dc0d6aa Added more models and render with perspective transform now 2010-04-16 03:08:48 +02:00
Matthias Schiffer
5951108c0a Added tank textures 2010-04-14 10:55:22 +02:00
Matthias Schiffer
08762ddc9a Simplified texture and model loading; also use crosshair for DefaultPlayer 2010-04-12 16:17:41 +02:00
Matthias Schiffer
dafe16f191 Some improvements on coordinate calculation & player rendering 2010-04-12 14:40:31 +02:00
Matthias Schiffer
d56001cb33 Added lighting 2010-04-12 04:42:26 +02:00
Matthias Schiffer
a4f2d991da Added 3D models 2010-04-12 02:47:09 +02:00
Matthias Schiffer
4ecea2f9dc Restructured Simulation module 2010-04-11 02:12:48 +02:00
Matthias Schiffer
b694c7705e Removed IO from Game monad 2010-04-11 01:48:55 +02:00
Matthias Schiffer
d2be8eb410 Renamed WiimotePlayer to HWiidPlayer 2010-04-10 16:25:27 +02:00
Matthias Schiffer
2ff529b0b1 WiimotePlayer: Adapted to HWiid name changes 2010-04-10 15:43:35 +02:00
Matthias Schiffer
f78f24af9b WiimotePlayer: Smooth IR aiming 2010-04-10 15:17:55 +02:00
Matthias Schiffer
546da85814 Added player cursor 2010-04-10 14:17:08 +02:00
Matthias Schiffer
083619cc87 WiimotePlayer: Use IR sensor for aiming 2010-04-10 13:21:04 +02:00
Matthias Schiffer
6af7b89939 WiimotePlayer: Handle IR signal 2010-04-10 13:03:25 +02:00
Matthias Schiffer
f86af7816c Added nunchuk support 2010-04-08 16:00:01 +02:00
Matthias Schiffer
d6b28723a2 Use system sleep functions as threadDelay sleep to long without -threaded 2010-04-07 15:07:27 +02:00
Matthias Schiffer
c0d2d54ea1 Added Wiimote support 2010-04-07 13:28:38 +02:00
Matthias Schiffer
736ad91b32 Hit tanks will die now. 2010-03-18 09:22:21 +01:00
Matthias Schiffer
5c34cd6941 Added bullet/tank collision; reduced tick count 2010-03-18 09:14:32 +01:00
Matthias Schiffer
a1294859c7 Some optimizations 2010-03-17 17:55:03 +01:00
Matthias Schiffer
98ae7f48c5 Added bullet/bullet collision 2010-03-16 02:34:31 +01:00
Matthias Schiffer
90b8d87e02 Reorganized code to add Debris class 2010-03-15 14:46:14 +01:00
Matthias Schiffer
e85dc20a48 Nice tank-border collision detection 2010-03-09 22:36:22 +01:00
Matthias Schiffer
f3d9814ad5 Moved parts of Main to Simulation module 2010-03-09 19:53:59 +01:00
Matthias Schiffer
9d34024718 Raise number of left bullets after a bullet exploded 2010-03-09 07:30:42 +01:00
Matthias Schiffer
4993b2ef07 Reflect bullets at the level border 2010-03-09 06:45:02 +01:00
Matthias Schiffer
89e87826a8 Renamed shoot to bullet 2010-03-09 06:08:42 +01:00
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