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
16ad937c57
Added collision detection for rotated rectangles.
2013-07-09 22:29:56 +02:00
Felix Ableitner
0f5d0597fc
Changed collision resolving so sliding along walls is possible.
2013-05-26 20:16:36 +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
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
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
0eee81d574
Removed unused constructor.
2012-12-22 15:13:28 +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
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
99da2acd01
Allowed Sprite size to be optionally set in code (for Cover).
2012-10-13 12:54:09 +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
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