Commit graph

55 commits

Author SHA1 Message Date
Felix Ableitner
0f5d0597fc Changed collision resolving so sliding along walls is possible. 2013-05-26 20:16:36 +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
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
4067d351e5 Changed Character subclasses to not have config as parameter. 2013-05-02 13:31:26 +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
0fc271495d Added Generator::getPlayerSpawn to find a valid spawn position. 2013-04-29 00:43:00 +02:00
Felix Ableitner
5be4a65653 Extracted Pathfinder class from World. 2013-04-28 18:12:30 +02:00
Felix Ableitner
b52af711a0 Changed tile generation, decreased tile size. 2013-04-27 19:42:44 +02:00
Felix Ableitner
ca6943f37d Added automatic area generation so path finding works on random maps. 2013-04-27 14:04:23 +02:00
Felix Ableitner
5db687147d Put mouse movement back in. 2013-04-18 12:45:37 +02:00
Felix Ableitner
ef3553f74e Improved random map generation. 2013-04-18 10:05:17 +02:00
Felix Ableitner
59b6885b15 Moved generator into subfolder. 2013-04-12 20:34:48 +02:00
Felix Ableitner
83b523ca70 Removed collision checks for non-moving sprites. 2013-04-12 20:31:43 +02:00
Felix Ableitner
525e33fbc2 Added random map generation. 2013-04-11 20:44:00 +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
0c29dac282 Removed player right click movement. 2013-03-30 02:38:16 +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
3dace753f2 Fixed map generation. 2013-03-27 14:37:32 +01:00
Felix Ableitner
1dfd878a20 Removed Pathfinder class. 2013-03-19 20:43:27 +01:00
Felix Ableitner
3ea80fa5ed Moved World::checkDelete into World::step, made checks debug only. 2013-03-03 22:02:53 +01:00
Felix Ableitner
637ea180c3 Replaced setTile with insertTile and removeTile. 2013-03-03 21:26:29 +01:00
Felix Ableitner
f0a9c3320d Added automatic weapons. 2012-12-24 01:14:22 +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
402cd138d3 Removed Instances class. 2012-12-22 01:44:36 +01:00
Felix Ableitner
d923e94541 Game: Merged tick() into loop(), removed getFps(). 2012-12-22 01:24:44 +01:00
Felix Ableitner
e20c99b89f Replaced all Box2D funcitonality with dummy behaviour. 2012-12-22 01:14:30 +01:00
Felix Ableitner
88db5d5324 Renamed Body to Corpse, Physical to Body. 2012-12-20 10:31:32 +01:00
Felix Ableitner
1e0d005a1b Removed Cover class. 2012-11-13 19:58:17 +01:00
Felix Ableitner
bb3ecf637b Changed folder structure, moved files. 2012-10-14 18:14:06 +02:00
Felix Ableitner
11da25ce69 Minor code changes.
Moved template function definitions out of class definitions.
Moved Instances to util/.
2012-10-13 13:13:19 +02:00
Felix Ableitner
c93a6b0c9e Added Yaml config to all Sprite subclasses (except tiles). 2012-10-12 20:50:24 +02:00
Felix Ableitner
9ff5edbcd5 Added String typedef to std::string for easier changing. 2012-10-11 23:28:54 +02:00
Felix Ableitner
cdeac690f2 Added Instances class to pass major objects in c'tors. 2012-10-04 19:10:12 +02:00
Felix Ableitner
484bba13c8 Renamed Actor to Character. 2012-10-01 11:02:44 +02:00
Felix Ableitner
a5386c7682 Moved window creation to main(). 2012-10-01 10:47:42 +02:00
Felix Ableitner
178a040f54 Moved all map/world generation to Game::generate(). 2012-10-01 10:15:38 +02:00
Felix Ableitner
8d295df943 Replaced enum with enum class where possible. 2012-10-01 10:01:58 +02:00
Felix Ableitner
197ef6b398 Integrated Pathfinder class into Game/Player. 2012-10-01 09:12:00 +02:00
Felix Ableitner
3cc8c93845 Removed Collection::Level, using Physical::Category order instead. 2012-09-16 20:33:00 +02:00
Felix Ableitner
69eca24bd2 Added Body class to be dropped by Enemy on death. 2012-09-14 20:33:32 +02:00
Felix Ableitner
98fb433dbf Added direct movement via WASD keys. 2012-09-13 13:00:50 +02:00