Linus Probert
18e70221fa
Restructured main game loop a bit. Reduced function size
2018-07-28 14:28:55 +02:00
Linus Probert
252955bc8d
Removes "resume" option from menu when game over.
2018-07-09 22:53:52 +02:00
Linus Probert
988d6c5cac
Implemented the sword swing effect.
...
This adds the animation type for future use.
Not super happy with the animation png. Will look over it in the future.
2018-07-09 19:26:06 +02:00
Linus Probert
79b0869974
Adds sword swing effect that isn't horrible
2018-07-06 22:54:15 +02:00
Linus Probert
c96d0b6718
Removes bug that made it possible to move with daggers in air.
2018-07-06 22:30:28 +02:00
Linus Probert
c6b643835b
Added codefactor badge and fixed blank line issue.
2018-07-06 12:12:27 +02:00
Linus Probert
a30d501e86
Patch version raised to 7
2018-06-28 12:54:15 +02:00
Linus Probert
f36a9dd2ac
Sleeping state indicator is always visible.
2018-06-28 12:50:32 +02:00
Linus Probert
53dc7e2fe6
Possibly more accurate scaling.
2018-06-23 14:30:29 +02:00
Linus Probert
dff55a1978
Fixes some buggs
...
- Fixes mapbuilder pit loading nullpointer
- Fixes black main menu bg after return to main menu
- Fixes skill sparkling on new game start
2018-06-14 00:12:49 +02:00
Linus Probert
be42981ff3
Fixed errors and adapted to new vim 8.1
2018-05-27 15:13:03 +02:00
Linus Probert
60052af7f5
Merge branch 'master' into dev
2018-05-25 13:46:55 +02:00
Linus Probert
4684e0409c
Minor cleaning of lua scripts
2018-05-25 13:46:28 +02:00
Linus Probert
6a9a3bdbcf
Removed some old debug output from pitlayouts.
2018-05-25 13:32:15 +02:00
Linus Probert
ec6722106a
Adds an idea for slash animations that didn't look very good.
2018-05-22 23:01:15 +02:00
Linus Probert
cc229c8b00
Prepares pengine for more particle types.
...
Also fixed an invalid read bug.
2018-05-22 22:42:06 +02:00
Linus Probert
bbe4526947
Fixes colors to use defines.
2018-05-22 15:48:09 +02:00
Linus Probert
2462e4cf33
Adds sentinel monster behaviour.
2018-05-21 21:03:59 +02:00
Linus Probert
a66f16de79
Reintroduces the pointer and mouse menu operation.
2018-05-20 17:25:53 +02:00
Linus Probert
123ae90f59
Better mod key logic in input and mouse motion check.
2018-05-20 16:53:16 +02:00
Linus Probert
821cac2fbd
Completely separates input handling and game logic.
...
This commit disables mouse support in menus. This needs to be rethought
to be more stable.
2018-05-20 00:03:17 +02:00
Linus Probert
186cc7b514
Replaced state logic with behaviours instead.
2018-05-19 17:55:10 +02:00
Linus Probert
b905232d5e
....and once again...
2018-05-18 23:28:24 +02:00
Linus Probert
8573bad864
...and include the SDL dll
2018-05-18 23:25:10 +02:00
Linus Probert
8c58c6ee2f
And once again for windows!
2018-05-18 23:20:28 +02:00
Linus Probert
6788e3cd29
Another trywq
2018-05-18 23:13:56 +02:00
Linus Probert
60114ed159
Hopefully fixes the build issues
2018-05-18 23:11:33 +02:00
Linus Probert
e222e51a0e
Don't test on clang and fix include problem in appveyor
...
Clang doesn't have the same --wrap linker flag that GCC has. Just ignore
it for now.
2018-05-18 14:17:29 +02:00
Linus Probert
138cba1400
Mock test for keyboardinput and fixed the found issues
2018-05-18 13:49:31 +02:00
Linus Probert
2feeb5cbcf
Attempts to fix appveyor build
2018-05-17 23:34:44 +02:00
Linus Probert
f1206811d0
Fixed the releasenotes and the script for it
2018-05-17 23:18:35 +02:00
Linus Probert
998501ae42
Patch version raised to 6
2018-05-17 23:15:53 +02:00
Linus Probert
2813a571e4
Separate player movement from input event loop.
...
Wrote a keyboardinput object but decided against using it for the time
being. I'll leave it in if I change my mind.
2018-05-17 23:14:42 +02:00
Linus Probert
c4dc8382a9
Monsters now indicate their state with speech bubbles
2018-05-17 21:41:23 +02:00
Linus Probert
f049d66219
Fixed releasenotes and script again
2018-05-17 10:06:58 +02:00
Linus Probert
769a659bfe
Patch version raised to 5
2018-05-17 10:00:25 +02:00
Linus Probert
0fcc1d2dc4
Last time now
2018-05-17 10:00:09 +02:00
Linus Probert
60750d73b9
Patch version raised to 5
2018-05-17 09:58:30 +02:00
Linus Probert
a551c52394
More trickery
2018-05-17 09:58:18 +02:00
Linus Probert
fa0dbe2933
Fixes miss in release script
2018-05-17 09:54:00 +02:00
Linus Probert
beb2e79351
Patch version raised to 5
2018-05-17 09:50:13 +02:00
Linus Probert
7f09fbda8d
Fiddled some more with release script
2018-05-17 09:49:03 +02:00
Linus Probert
d4f2514e7e
Patch version raised to 5
2018-05-17 09:00:27 +02:00
Linus Probert
644a0c1f45
Quick and dirty release script
2018-05-17 08:59:55 +02:00
Linus Probert
a7822331f8
Hopefully handle the "event overflow exploit"
...
There was an exploit where a keyboard would fire events quicker then
they could be consumed. This would lock the main game loop in the
SDL_PollEvent loop and block rendering until the key in this case was
released. Combning this with an attack meant that you could "farm" one
NPC for multiple kills and massive XP gains. Leaving the player at level
8+ on dungeon level 1. This fix should mitigate such shenanigans.
2018-05-16 19:09:01 +02:00
Linus Probert
bc0d194dce
Additional fall sounds
...
Wilhelm scream
2018-05-16 15:52:39 +02:00
Linus Probert
a9b71ce79f
Coverity scan fix
2018-05-16 13:53:01 +02:00
Linus Probert
6ef52b694c
Upped the patch version.
2018-05-15 23:46:25 +02:00
Linus Probert
e087fbd7eb
Minor win install change
2018-05-15 23:34:38 +02:00
Linus Probert
79a840e820
Build both Release and Debug on travis
2018-05-15 23:27:33 +02:00