Commit graph

33 commits

Author SHA1 Message Date
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
Renamed from source/abstract/Actor.h (Browse further)