Commit graph

40 commits

Author SHA1 Message Date
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
b47b323180 Added logging on area generation. 2013-05-26 20:57:37 +02:00
Felix Ableitner
27fd692471 Fixed logic of Interval::getOverlap. 2013-05-26 18:57:20 +02:00
Felix Ableitner
6418de7774 Added teams so enemies don't attack each other. 2013-05-08 19:49:04 +02:00
Felix Ableitner
439231727a Moved all YAML keys and defaults to Yaml.h. 2013-04-27 18:54:04 +02:00
Felix Ableitner
ca6943f37d Added automatic area generation so path finding works on random maps. 2013-04-27 14:04:23 +02:00
Felix Ableitner
d98609063e Added very basic AI that moves and attacks. 2013-04-05 16:54:51 +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
a094c01d55 Added raycast. 2013-04-04 22:50:40 +02:00
Felix Ableitner
3d9ab86e72 Added nullpointer check, removed mistakenly added file. 2013-04-04 21:49:38 +02:00
Felix Ableitner
5ddc6c6c97 Merge branch 'temp' 2013-03-31 15:34:23 +02:00
Felix Ableitner
602a6a5e66 Added explicit keyword to all constructors. 2013-03-30 16:39:46 +01:00
Felix Ableitner
12441076c0 Improved error handling and fallbacks. 2013-03-30 13:38:25 +01:00
Felix Ableitner
995895872e Removed unneeded Timer class. 2013-03-29 18:35:32 +01:00
Felix Ableitner
6e631e78d5 Cleaned includes in .h files. 2013-03-29 18:34:51 +01:00
Felix Ableitner
1dfd878a20 Removed Pathfinder class. 2013-03-19 20:43:27 +01:00
Felix Ableitner
f384165e24 Merged Sprite and Body. 2012-12-23 15:50: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
e20c99b89f Replaced all Box2D funcitonality with dummy behaviour. 2012-12-22 01:14:30 +01:00
Felix Ableitner
fbcbcc6902 Removed all Pathfinder functionality. 2012-12-22 00:56:31 +01:00
Felix Ableitner
99243ccd60 Fixed include guards and comments. 2012-12-22 00:51:42 +01:00
Felix Ableitner
fa5c64d043 Added hardcoded default values for YAML values. 2012-12-20 14:59:05 +01:00
Felix Ableitner
88db5d5324 Renamed Body to Corpse, Physical to Body. 2012-12-20 10:31:32 +01:00
Felix Ableitner
38d97abd5c Added YAML option to limit firing interval of weapons. 2012-10-19 15:44:45 +02:00
Felix Ableitner
fe7909ea7b Changed Yaml to log missing files, files are actually closed. 2012-10-19 15:14:25 +02:00
Felix Ableitner
bb3ecf637b Changed folder structure, moved files. 2012-10-14 18:14:06 +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
9b61304d1e Changed Physical size to be passed via Yaml. 2012-10-13 12:38:05 +02:00
Felix Ableitner
daaf8c8d9a Added stream output operator for Vector2i. 2012-10-13 12:02:04 +02:00
Felix Ableitner
76b074220d Added Yaml class for runtime configuration 2012-10-12 19:04:03 +02:00
Felix Ableitner
9ff5edbcd5 Added String typedef to std::string for easier changing. 2012-10-11 23:28:54 +02:00
Felix Ableitner
9a3f97b990 Added output operator for Vector2f, minor fixes. 2012-09-25 18:20:45 +02:00
Felix Ableitner
77d78b3936 Added comments and clarified headers. 2012-09-16 21:32:31 +02:00
Felix Ableitner
3cc8c93845 Removed Collection::Level, using Physical::Category order instead. 2012-09-16 20:33:00 +02:00
Felix Ableitner
17e628b083 Added forward declarations (not for library types). 2012-09-14 20:39:56 +02:00
Felix Ableitner
45f0b31d57 Initial commit after git corruption, old repo deleted.
Working:
Rendering
Resources
Physics
Player movement with mouse
Shooting with mouse
Tiles
2012-09-10 17:26:37 +02:00