Commit graph

30 commits

Author SHA1 Message Date
384ab6c486 Restore crosshair position after player death. 2013-08-18 13:38:28 +02:00
e469211e95 Added Vector2 class to replace sf::Vector2, featuring comparison operator. 2013-08-07 17:41:20 +02:00
Felix Ableitner
d06efe5257 Removed useless constants for yaml fields/filenames. 2013-06-25 17:51:06 +02:00
Felix Ableitner
9cc928e894 Added weapon ammo/reloading, with GUI ammo widget. 2013-06-25 17:44:40 +02:00
Felix Ableitner
aa6df65e97 Changed sprites to always render as rectangle.
Also created Rectangle/Circle subclasses for sprite to handle
collision detection and moved collision detection from World to
CollisionModel (static methods).
2013-05-08 00:42:26 +02:00
Felix Ableitner
4067d351e5 Changed Character subclasses to not have config as parameter. 2013-05-02 13:31:26 +02:00
Felix Ableitner
a2de030cbc Removed TileManager. 2013-04-29 16:49:16 +02:00
Felix Ableitner
5be4a65653 Extracted Pathfinder class from World. 2013-04-28 18:12:30 +02:00
Felix Ableitner
5db687147d Put mouse movement back in. 2013-04-18 12:45:37 +02:00
Felix Ableitner
d98609063e Added very basic AI that moves and attacks. 2013-04-05 16:54:51 +02:00
Felix Ableitner
c6cd8483e0 Fixed Game class documentation. 2013-04-05 14:19:52 +02:00
Felix Ableitner
48541059a0 Removed unnecessary brackets on if. 2013-04-04 23:13:08 +02:00
Felix Ableitner
273153709c Removed unneeded comments, improved documentation. 2013-04-04 23:00:52 +02:00
Felix Ableitner
0c29dac282 Removed player right click movement. 2013-03-30 02:38:16 +01:00
Felix Ableitner
a083708850 Made direction param optional in Sprite::Data. 2013-03-30 02:36:06 +01:00
Felix Ableitner
47d9882e77 Changed code to use direction vector instead of angle. 2013-03-30 02:30:11 +01:00
Felix Ableitner
a3f6b827bd Removed unneeded includes in .cpp files. 2013-03-29 18:41:42 +01:00
Felix Ableitner
1dfd878a20 Removed Pathfinder class. 2013-03-19 20:43:27 +01:00
Felix Ableitner
394ebc04c7 Improved onThink function structure. 2013-03-09 17:33:58 +01:00
Felix Ableitner
f0a9c3320d Added automatic weapons. 2012-12-24 01:14:22 +01:00
Felix Ableitner
f384165e24 Merged Sprite and Body. 2012-12-23 15:50:49 +01:00
Felix Ableitner
88270ad28c Removed redundant parameter. 2012-12-22 16:52:43 +01:00
Felix Ableitner
7c4eb47f2e Removed string/vector typedefs. 2012-12-22 15:10:26 +01:00
Felix Ableitner
a157f0857d Merged Collection into World. 2012-12-22 14:56:17 +01:00
Felix Ableitner
f42bdf5a24 Re-implemented Body funcionality (without library). 2012-12-22 13:44:17 +01:00
Felix Ableitner
6c83d3827a Removed texture path param from Character. 2012-12-22 01:45:52 +01:00
Felix Ableitner
402cd138d3 Removed Instances class. 2012-12-22 01:44:36 +01:00
Felix Ableitner
e20c99b89f Replaced all Box2D funcitonality with dummy behaviour. 2012-12-22 01:14:30 +01:00
Felix Ableitner
88db5d5324 Renamed Body to Corpse, Physical to Body. 2012-12-20 10:31:32 +01:00
Felix Ableitner
bb3ecf637b Changed folder structure, moved files. 2012-10-14 18:14:06 +02:00
Renamed from source/sprite/Player.cpp (Browse further)