Commit graph

122 commits

Author SHA1 Message Date
Felix Ableitner
4362e45d8b Added temporary textures into version control. 2013-04-23 22:42:23 +02:00
Felix Ableitner
73b742a6d3 Added config files into version control. 2013-04-23 22:41:41 +02:00
Felix Ableitner
b655d0ec0f Added Readme and gitignore. 2013-04-23 22:41:15 +02:00
Felix Ableitner
5db687147d Put mouse movement back in. 2013-04-18 12:45:37 +02:00
Felix Ableitner
bbdd298ebe Removed TileManager::removeTile. 2013-04-18 10:07:09 +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
2515b23b16 Improved path finding wall avoidance (more distance). 2013-04-05 16:58:37 +02:00
Felix Ableitner
d98609063e Added very basic AI that moves and attacks. 2013-04-05 16:54:51 +02:00
Felix Ableitner
5f7c2a8ee4 Fixed character removal and getCharacters returning self. 2013-04-05 16:23:09 +02:00
Felix Ableitner
c6cd8483e0 Fixed Game class documentation. 2013-04-05 14:19:52 +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
a094c01d55 Added raycast. 2013-04-04 22:50:40 +02:00
Felix Ableitner
7ebf912aad Fixed wrong order initialization. 2013-04-04 21:50:52 +02:00
Felix Ableitner
3d9ab86e72 Added nullpointer check, removed mistakenly added file. 2013-04-04 21:49:38 +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
0c29dac282 Removed player right click movement. 2013-03-30 02:38:16 +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
995895872e Removed unneeded Timer class. 2013-03-29 18:35:32 +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
98e2836c14 Improved portal traversal. 2013-03-27 16:06:57 +01:00
Felix Ableitner
6641823cd1 Added path finding. 2013-03-27 14:38:34 +01:00
Felix Ableitner
3dace753f2 Fixed map generation. 2013-03-27 14:37:32 +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
3d74314d22 Fixed rect-circle collisions not working on rect corners. 2013-03-05 00:36:22 +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
12655e0319 Moved corpse dropping to Character::onDeath to allow overloading. 2013-03-03 21:33:01 +01:00
Felix Ableitner
310816eba6 Added collisions detection. 2013-03-03 21:32:49 +01:00
Felix Ableitner
9fd43d1d3a Fixed bullet collisions. 2013-03-03 21:28:12 +01:00
Felix Ableitner
f51b8a1aaa Fixed masking. 2013-03-03 21:27:40 +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
5433e14f51 Moved weapon file name from code to YAML. 2012-12-24 00:49:49 +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
88270ad28c Removed redundant parameter. 2012-12-22 16:52:43 +01:00