Felix Ableitner
cb11a22bff
Added bind to swap Gadgets with 'F'.
2013-07-13 00:01:57 +02:00
Felix Ableitner
8bee607981
Added Player Gadget names to GUI.
2013-07-10 23:41:24 +02:00
Felix Ableitner
f160cfb2f3
Added rotating shield gadget.
2013-07-10 23:25:53 +02:00
Felix Ableitner
16ad937c57
Added collision detection for rotated rectangles.
2013-07-09 22:29:56 +02:00
Felix Ableitner
db3bf60b2c
Added abstract Gadget and Heal gadget.
2013-07-08 16:57:37 +02:00
Felix Ableitner
19dcda6b8c
Added health widget to GUI.
2013-07-06 14:37:16 +02:00
Felix Ableitner
9d133392bc
Display weapon name on GUI.
2013-07-06 13:38:15 +02:00
Felix Ableitner
60518e1eda
Added secondary weapon.
2013-06-25 22:00:40 +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
fd7173adee
Changed Enemies to look into movement direction.
2013-06-21 18:00:38 +02:00
Felix Ableitner
11f3800332
Added YAML size attribute to circle sprites (for correct bullet size).
2013-05-27 17:42:36 +02:00
Felix Ableitner
0f5d0597fc
Changed collision resolving so sliding along walls is possible.
2013-05-26 20:16:36 +02:00
Felix Ableitner
6418de7774
Added teams so enemies don't attack each other.
2013-05-08 19:49:04 +02:00
Felix Ableitner
8ea278030d
Fixed Corpse not being rendered.
2013-05-08 11:30:02 +02:00
Felix Ableitner
73bb918a01
Added Generator::getEnemySpawns.
2013-05-08 11:20:31 +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
4067d351e5
Changed Character subclasses to not have config as parameter.
2013-05-02 13:31:26 +02:00
Felix Ableitner
a2de030cbc
Removed TileManager.
2013-04-29 16:49:16 +02:00
Felix Ableitner
3ee0c71857
Moved raycast from TileManager to World.
2013-04-29 16:10:22 +02:00
Felix Ableitner
5be4a65653
Extracted Pathfinder class from World.
2013-04-28 18:12:30 +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
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
5db687147d
Put mouse movement back in.
2013-04-18 12:45:37 +02:00
Felix Ableitner
83b523ca70
Removed collision checks for non-moving sprites.
2013-04-12 20:31:43 +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
7ebf912aad
Fixed wrong order initialization.
2013-04-04 21:50:52 +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
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
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
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
30de9e397b
Moved Character handling to world, improved some includes.
2013-03-29 17:59:35 +01:00
Felix Ableitner
7a074b7c3d
Replaced diameter with radius.
2013-03-27 16:09:01 +01:00
Felix Ableitner
6641823cd1
Added path finding.
2013-03-27 14:38:34 +01:00
Felix Ableitner
eb2bcf1d6d
Shortened and improved path following code.
2013-03-25 16:58:13 +01:00
Felix Ableitner
ff65f6ceb6
Added Sprite::getRadius().
2013-03-19 20:51:56 +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
12655e0319
Moved corpse dropping to Character::onDeath to allow overloading.
2013-03-03 21:33:01 +01:00
Felix Ableitner
f51b8a1aaa
Fixed masking.
2013-03-03 21:27:40 +01:00