9db73a7b93
Allow changing Tile type after insertion.
2013-08-20 21:44:11 +02:00
e469211e95
Added Vector2 class to replace sf::Vector2, featuring comparison operator.
2013-08-07 17:41:20 +02:00
Felix Ableitner
9401ea53c1
Drop primary weapon on death.
2013-07-14 21:56:44 +02:00
Felix Ableitner
f160cfb2f3
Added rotating shield gadget.
2013-07-10 23:25:53 +02:00
Felix Ableitner
fd7173adee
Changed Enemies to look into movement direction.
2013-06-21 18:00:38 +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
a5b01bf3c5
Improved performance by only rendering onscreen sprites.
2013-04-27 21:30:43 +02:00
Felix Ableitner
acafb57fec
Removed unused function.
2013-04-27 19:01:20 +02:00
Felix Ableitner
439231727a
Moved all YAML keys and defaults to Yaml.h.
2013-04-27 18:54:04 +02:00
Felix Ableitner
83b523ca70
Removed collision checks for non-moving sprites.
2013-04-12 20:31:43 +02:00
Felix Ableitner
48541059a0
Removed unnecessary brackets on if.
2013-04-04 23:13:08 +02:00
Felix Ableitner
7ebf912aad
Fixed wrong order initialization.
2013-04-04 21:50:52 +02:00
Felix Ableitner
12441076c0
Improved error handling and fallbacks.
2013-03-30 13:38:25 +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
30de9e397b
Moved Character handling to world, improved some includes.
2013-03-29 17:59:35 +01:00
Felix Ableitner
ff65f6ceb6
Added Sprite::getRadius().
2013-03-19 20:51:56 +01:00
Felix Ableitner
f51b8a1aaa
Fixed masking.
2013-03-03 21:27:40 +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
7c4eb47f2e
Removed string/vector typedefs.
2012-12-22 15:10:26 +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
99da2acd01
Allowed Sprite size to be optionally set in code (for Cover).
2012-10-13 12:54:09 +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
d7013ce63a
Added Yaml config to Sprite (for texture file).
2012-10-12 20:59:33 +02:00
Felix Ableitner
9ff5edbcd5
Added String typedef to std::string for easier changing.
2012-10-11 23:28:54 +02:00
Felix Ableitner
77d78b3936
Added comments and clarified headers.
2012-09-16 21:32:31 +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