e469211e95
Added Vector2 class to replace sf::Vector2, featuring comparison operator.
2013-08-07 17:41:20 +02:00
Felix Ableitner
19de12d62a
Allow to pick up dropped items.
2013-07-21 10:52:50 +02:00
Felix Ableitner
cb11a22bff
Added bind to swap Gadgets with 'F'.
2013-07-13 00:01:57 +02:00
Felix Ableitner
8bee607981
Added Player Gadget names to GUI.
2013-07-10 23:41:24 +02:00
Felix Ableitner
f160cfb2f3
Added rotating shield gadget.
2013-07-10 23:25:53 +02:00
Felix Ableitner
db3bf60b2c
Added abstract Gadget and Heal gadget.
2013-07-08 16:57:37 +02:00
Felix Ableitner
19dcda6b8c
Added health widget to GUI.
2013-07-06 14:37:16 +02:00
Felix Ableitner
9d133392bc
Display weapon name on GUI.
2013-07-06 13:38:15 +02:00
Felix Ableitner
60518e1eda
Added secondary weapon.
2013-06-25 22:00:40 +02:00
Felix Ableitner
9cc928e894
Added weapon ammo/reloading, with GUI ammo widget.
2013-06-25 17:44:40 +02:00
Felix Ableitner
fd7173adee
Changed Enemies to look into movement direction.
2013-06-21 18:00:38 +02:00
Felix Ableitner
6418de7774
Added teams so enemies don't attack each other.
2013-05-08 19:49:04 +02:00
Felix Ableitner
73bb918a01
Added Generator::getEnemySpawns.
2013-05-08 11:20:31 +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
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
439231727a
Moved all YAML keys and defaults to Yaml.h.
2013-04-27 18:54:04 +02:00
Felix Ableitner
adfb49b493
Fixed Character path finding to not skip points.
2013-04-27 13:51:51 +02:00
Felix Ableitner
d585a82ada
Fixed player path finding, made Character::move() private.
2013-04-25 21:57:37 +02:00
Felix Ableitner
d98609063e
Added very basic AI that moves and attacks.
2013-04-05 16:54:51 +02:00
Felix Ableitner
273153709c
Removed unneeded comments, improved documentation.
2013-04-04 23:00:52 +02:00
Felix Ableitner
602a6a5e66
Added explicit keyword to all constructors.
2013-03-30 16:39:46 +01:00
Felix Ableitner
8e65b94667
Added function to get nearby characters.
2013-03-29 18:48:49 +01:00
Felix Ableitner
7c55643da4
Removed unneeded variable.
2013-03-29 18:42:56 +01:00
Felix Ableitner
6e631e78d5
Cleaned includes in .h files.
2013-03-29 18:34:51 +01:00
Felix Ableitner
30de9e397b
Moved Character handling to world, improved some includes.
2013-03-29 17:59:35 +01:00
Felix Ableitner
eb2bcf1d6d
Shortened and improved path following code.
2013-03-25 16:58:13 +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
5433e14f51
Moved weapon file name from code to YAML.
2012-12-24 00:49:49 +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
fa5c64d043
Added hardcoded default values for YAML values.
2012-12-20 14:59:05 +01:00
Felix Ableitner
bb3ecf637b
Changed folder structure, moved files.
2012-10-14 18:14:06 +02:00
Felix Ableitner
2be3f13810
Moved path finding logic from Player to Character.
2012-10-13 19:36:33 +02:00
Felix Ableitner
c1c461f8e2
Moved Weapon from Player to Character.
2012-10-13 18:58:15 +02:00
Felix Ableitner
5517db89c7
Moved movent speed to Character (loaded from yaml).
2012-10-13 18:50:28 +02:00
Felix Ableitner
11da25ce69
Minor code changes.
...
Moved template function definitions out of class definitions.
Moved Instances to util/.
2012-10-13 13:13:19 +02:00
Felix Ableitner
c93a6b0c9e
Added Yaml config to all Sprite subclasses (except tiles).
2012-10-12 20:50:24 +02:00
Felix Ableitner
9ff5edbcd5
Added String typedef to std::string for easier changing.
2012-10-11 23:28:54 +02:00
Felix Ableitner
4981af6438
Added empty default implementation for Character::onThink.
2012-10-04 19:36:05 +02:00
Felix Ableitner
f013b3c000
Moved creation of Body from Enemy to Character.
2012-10-04 19:24:46 +02:00
Felix Ableitner
f4bb9a5dae
Made Character a subclass of Sprite.
2012-10-01 11:13:26 +02:00
Felix Ableitner
484bba13c8
Renamed Actor to Character.
2012-10-01 11:02:44 +02:00