Commit graph

44 commits

Author SHA1 Message Date
Felix Ableitner
db3bf60b2c Added abstract Gadget and Heal gadget. 2013-07-08 16:57:37 +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
9cc928e894 Added weapon ammo/reloading, with GUI ammo widget. 2013-06-25 17:44:40 +02:00
Felix Ableitner
b9dc5b90d2 Fixed firing. 2013-05-26 20:44:59 +02:00
Felix Ableitner
4b222e9c7a Switched to linux, updated sfml, thor. 2013-05-20 12:07:05 +02:00
Felix Ableitner
439231727a Moved all YAML keys and defaults to Yaml.h. 2013-04-27 18:54:04 +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
602a6a5e66 Added explicit keyword to all constructors. 2013-03-30 16:39:46 +01:00
Felix Ableitner
47d9882e77 Changed code to use direction vector instead of angle. 2013-03-30 02:30:11 +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
394ebc04c7 Improved onThink function structure. 2013-03-09 17:33:58 +01:00
Felix Ableitner
f0a9c3320d Added automatic weapons. 2012-12-24 01:14:22 +01:00
Felix Ableitner
f384165e24 Merged Sprite and Body. 2012-12-23 15:50:49 +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
f42bdf5a24 Re-implemented Body funcionality (without library). 2012-12-22 13:44:17 +01:00
Felix Ableitner
402cd138d3 Removed Instances class. 2012-12-22 01:44:36 +01:00
Felix Ableitner
e20c99b89f Replaced all Box2D funcitonality with dummy behaviour. 2012-12-22 01:14:30 +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
38d97abd5c Added YAML option to limit firing interval of weapons. 2012-10-19 15:44:45 +02: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
516633a374 Removed secondary Sprite constructor (now only via Yaml). 2012-10-13 12:48:16 +02:00
Felix Ableitner
f23f2225db Added Yaml config for bullet. 2012-10-12 19:22:53 +02:00
Felix Ableitner
28681c7eb3 Allow setting weapon damage via yaml config. 2012-10-12 19:04:34 +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
17e628b083 Added forward declarations (not for library types). 2012-09-14 20:39:56 +02:00
Felix Ableitner
a793cc8933 Merged invalid branch. 2012-09-12 14:21:57 +02:00
Felix Ableitner
c679a0ecaa Bullets are inserted at offset to avoid collisions on insert. 2012-09-11 22:02:46 +02:00
Felix Ableitner
59cd09ac16 Added bullet damage constant. 2012-09-11 21:15:16 +02:00
Felix Ableitner
d1a31cac3e Added comments. 2012-09-11 21:13:36 +02:00
Felix Ableitner
6ea371ee2e Pass bullet damage from weapon. 2012-09-11 18:08:08 +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
Felix Ableitner
125cd747fa Initial commit after git corruption, old repo deleted. 2012-09-09 22:55:14 +02:00