Commit graph

187 commits

Author SHA1 Message Date
392afec39c Added automatic respawn on player death, enemies firing after death. 2013-08-18 13:27:32 +02:00
28b086fdc4 Changed World::getNearestItem to getNearbySprites for better reusability. 2013-08-18 13:13:49 +02:00
e469211e95 Added Vector2 class to replace sf::Vector2, featuring comparison operator. 2013-08-07 17:41:20 +02:00
602cc605e8 Changed procedural generation to use minimum spanning trees. 2013-08-07 00:13:04 +02:00
Felix Ableitner
5b3020ad3d Revert "Changed .gitignore for Code::Blocks."
This reverts commit 7ed5c8ed8d.
2013-08-05 16:57:30 +02:00
Felix Ableitner
260bb46ac6 Added documentation. 2013-07-21 11:02:14 +02:00
Felix Ableitner
fd141bda9c Updated readme (controls and dependencies). 2013-07-21 10:58:28 +02:00
Felix Ableitner
7ed5c8ed8d Changed .gitignore for Code::Blocks. 2013-07-21 10:54:39 +02:00
Felix Ableitner
19de12d62a Allow to pick up dropped items. 2013-07-21 10:52:50 +02:00
Felix Ableitner
9401ea53c1 Drop primary weapon on death. 2013-07-14 21:56:44 +02:00
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
203a34f0a0 Added knife. 2013-07-06 13:22:55 +02:00
Felix Ableitner
60518e1eda Added secondary weapon. 2013-06-25 22:00:40 +02:00
Felix Ableitner
ef0fa839b9 Added option for different bullet spread during movement. 2013-06-25 21:35:58 +02:00
Felix Ableitner
e04d684352 Added bullet spread and Heavy Machine Gun. 2013-06-25 21:28:22 +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
b5b3ea33f8 Added C++11 override keyword. 2013-06-25 18:12:50 +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
51cf1d9c68 Added enemies back in.
Fixed a bug where Pathfinder areas were created incorrectly, also
added a debug draw function to Pathfinder
2013-06-21 17:40:39 +02:00
Felix Ableitner
94814e0172 Added own SimplexNoise class, cache noise values. 2013-06-21 17:40:26 +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
45cfc8662d Added better placeholder textures. 2013-05-27 17:36:29 +02:00
Felix Ableitner
b47b323180 Added logging on area generation. 2013-05-26 20:57:37 +02:00
Felix Ableitner
b9dc5b90d2 Fixed firing. 2013-05-26 20:44:59 +02:00
Felix Ableitner
0f5d0597fc Changed collision resolving so sliding along walls is possible. 2013-05-26 20:16:36 +02:00
Felix Ableitner
27fd692471 Fixed logic of Interval::getOverlap. 2013-05-26 18:57:20 +02:00
Felix Ableitner
12048ffc8c Areas are now generated on the fly based on player position 2013-05-20 23:01:01 +02:00
Felix Ableitner
07826336c5 Disabled key repeat (not needed). 2013-05-20 13:18:01 +02:00
Felix Ableitner
4b222e9c7a Switched to linux, updated sfml, thor. 2013-05-20 12:07:05 +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
22bcd8cf13 Removed unneeded YAML attributes, cleaned up Bullet class. 2013-05-04 23:00:45 +02:00
Felix Ableitner
4067d351e5 Changed Character subclasses to not have config as parameter. 2013-05-02 13:31:26 +02:00
Felix Ableitner
d9a5821e1a Changed containers used by Pathfinder::astarArea. 2013-05-02 13:21:55 +02:00
Felix Ableitner
f7b0d1348b Changed Generator to use std::map and Tile::Type. 2013-05-01 21:32:03 +02:00
Felix Ableitner
079c4b539b Fixed collision detection. 2013-05-01 19:07:47 +02:00
Felix Ableitner
027006c966 Fixed warnings. 2013-05-01 18:04:41 +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