e469211e95
Added Vector2 class to replace sf::Vector2, featuring comparison operator.
2013-08-07 17:41:20 +02:00
Felix Ableitner
203a34f0a0
Added knife.
2013-07-06 13:22:55 +02:00
Felix Ableitner
6923092c3b
Added shotgun/auto shotgun, removed Particle/Emitter.
2013-06-25 21:02:08 +02:00
Felix Ableitner
db662808c2
Moved damage, speed from bullet to weapon, added pistol, rifle.
2013-06-25 18:31:27 +02:00
Felix Ableitner
d06efe5257
Removed useless constants for yaml fields/filenames.
2013-06-25 17:51:06 +02:00
Felix Ableitner
b9dc5b90d2
Fixed firing.
2013-05-26 20:44:59 +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
22bcd8cf13
Removed unneeded YAML attributes, cleaned up Bullet class.
2013-05-04 23:00:45 +02:00
Felix Ableitner
439231727a
Moved all YAML keys and defaults to Yaml.h.
2013-04-27 18:54:04 +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
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
6e631e78d5
Cleaned includes in .h files.
2013-03-29 18:34:51 +01:00
Felix Ableitner
9fd43d1d3a
Fixed bullet collisions.
2013-03-03 21:28:12 +01:00
Felix Ableitner
b6002eb6fd
Removed needless function.
2012-12-23 15:52:38 +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
21040de4dc
Fixed weapon firing direction.
2012-12-22 16:44:07 +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
e20c99b89f
Replaced all Box2D funcitonality with dummy behaviour.
2012-12-22 01:14:30 +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
bb3ecf637b
Changed folder structure, moved files.
2012-10-14 18:14:06 +02:00
Felix Ableitner
516633a374
Removed secondary Sprite constructor (now only via Yaml).
2012-10-13 12:48:16 +02:00
Felix Ableitner
9b61304d1e
Changed Physical size to be passed via Yaml.
2012-10-13 12:38:05 +02:00
Felix Ableitner
c93a6b0c9e
Added Yaml config to all Sprite subclasses (except tiles).
2012-10-12 20:50:24 +02:00
Felix Ableitner
f23f2225db
Added Yaml config for bullet.
2012-10-12 19:22:53 +02:00
Felix Ableitner
484bba13c8
Renamed Actor to Character.
2012-10-01 11:02:44 +02:00
Felix Ableitner
17e628b083
Added forward declarations (not for library types).
2012-09-14 20:39:56 +02:00
Felix Ableitner
86e7da2303
Changed Player, Enemy and Bullet to use circle for collision model.
2012-09-13 14:35:04 +02:00
Felix Ableitner
a793cc8933
Merged invalid branch.
2012-09-12 14:21:57 +02:00
Felix Ableitner
c679a0ecaa
Bullets are inserted at offset to avoid collisions on insert.
2012-09-11 22:02:46 +02:00
Felix Ableitner
b782614bc4
Made bullet size a public constant.
2012-09-11 19:20:17 +02:00
Felix Ableitner
6ea371ee2e
Pass bullet damage from weapon.
2012-09-11 18:08:08 +02:00
Felix Ableitner
b0d2fe7a1f
Added health to actor, bullets can damage and kill.
2012-09-11 18:08:07 +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
Felix Ableitner
125cd747fa
Initial commit after git corruption, old repo deleted.
2012-09-09 22:55:14 +02:00