Commit Graph

637 Commits

Author SHA1 Message Date
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
Linus Probert fa8797a20f Removed a memory leak and MACROD colors 2018-05-15 23:21:28 +02:00
Linus Probert 1e0034cd46 More travis fixes 2018-05-15 14:34:49 +02:00
Linus Probert 1a47065bf6 Fixed travis package error 2018-05-15 14:29:53 +02:00
Linus Probert 853d390427 Some create package dir in travis 2018-05-15 14:21:54 +02:00
Linus Probert 33324b6802 Less chance for pits 2018-05-15 14:15:51 +02:00
Linus Probert 6d5acc698e Nicer labels in many places. 2018-05-15 14:12:38 +02:00
Linus Probert b88318097f Render texts after particles. 2018-05-15 11:20:52 +02:00
Linus Probert d6daf7b798 Nicer action texts 2018-05-15 11:16:56 +02:00
Linus Probert 4e5e3e515c Update readme and apple build 2018-05-13 23:46:27 +02:00
Linus Probert 524e10ac8f Adds camera shake.
Removed some old buildfiles that had accidentally made it into the repo.
2018-05-13 23:32:44 +02:00
Linus Probert 0cf05f039e Travis ci update with OSX build 2018-05-13 18:12:40 +02:00
Linus Probert 0576c47bb2 Fixed the frame sprites 2018-05-12 10:47:06 +02:00
Linus Probert 82564b3840 Still some issues with cmocka on appveyor 2018-05-12 10:38:43 +02:00
Linus Probert fb7e1710ab Differentiate Release and Debug builds 2018-05-12 10:36:04 +02:00
Linus Probert 6195269085 Don't cache, copy the cmocka.dll then. 2018-05-12 06:51:14 +02:00
Linus Probert 7b114b0c08 Have to cache the cmocka.dll in appveyor 2018-05-12 06:47:29 +02:00
Linus Probert 4a71f8a02b Don't need to include libphysfs.dll when we link staticly 2018-05-11 23:13:12 +02:00
Linus Probert 076a787f9c Bad config again 2018-05-11 23:00:57 +02:00
Linus Probert aaeabb30da Fiddle with windows linking 2018-05-11 22:56:03 +02:00
Linus Probert 3ae3fc4a0c Appveyor cmocka fixes 2018-05-11 22:20:24 +02:00
Linus Probert 6590c588d7 Fixed some bad tests. 2018-05-11 22:14:47 +02:00
Linus Probert 179eb4c36b Static link gcc properly 2018-05-11 22:02:30 +02:00
Linus Probert 55d2da1737 Static link gcc libs 2018-05-11 19:53:22 +02:00
Linus Probert 3eccdcccb4 Compile cmocka on travis 2018-05-11 19:47:42 +02:00
Linus Probert 3c1fbfaa2e Another attempt at appveyor packaging 2018-05-11 19:41:49 +02:00
Linus Probert addf1474de Diable the tests on CI and fix the appveyor artifacts 2018-05-11 19:37:10 +02:00
Linus Probert a23bff5eca Hoefully test on appveyor and fix travis 2018-05-11 19:18:45 +02:00
Linus Probert 5b44ee7cf3 Migrated from check to cmocka
Intention is to get tests running on appveyor
2018-05-11 19:09:34 +02:00
Linus Probert b036e11b63 An attempt at github releases 2018-05-09 23:07:31 +02:00
Linus Probert d0da1f4926 Another artifact attempt 2018-05-09 22:47:27 +02:00
Linus Probert a5e9a3b952 One more artifact attempt 2018-05-09 22:43:36 +02:00
Linus Probert 610c7eed8e Appveyor artifacts added 2018-05-09 22:30:22 +02:00
Linus Probert 3e6b784025 Added packaging to appveyor build 2018-05-09 22:21:09 +02:00
Linus Probert 3e6976d2cc Adds texture creation of gui frames to reduce render time
Also enables leakchecking and removes leaks from hashtable tests and
some other leaks that were obvious. There are some X11 leaks still
present but I don't think these are caused by me.
2018-05-09 00:21:38 +02:00
Linus Probert 2122300f6e Prepare for texture streaming and locking.
The intention is to static stream the gui areas into one big texture.
2018-05-08 16:34:22 +10:00
Linus Probert 9d7669fd35 Some updates regarding asset management
Had an idea of self-cleaning the cache but it didn't hold. Leaving the
stuff I wrote that might not be useless in the future.
2018-05-06 13:27:29 +02:00
Linus Probert da75ccde23 Removed an unused timer on Projectiles 2018-05-06 07:33:00 +02:00
Linus Probert db21bb813f Removed clang warnings 2018-05-06 06:19:59 +02:00
Linus Probert f3c83606e2 Check for check again 2018-05-05 22:17:02 +02:00
Linus Probert 82fe5fa1c5 Fixes travis build 2018-05-05 21:58:59 +02:00
Linus Probert af4230b1b8 Travis fixes 2018-05-05 21:48:34 +02:00
Linus Probert efe062993b Always play sound when daggers hit/miss something 2018-05-05 21:36:16 +02:00
Linus Probert 3665c7ff66 Rotate daggers instead of using spritesheet
Don't know if this is bad for performance but it does make things
simpler.
2018-05-05 21:29:08 +02:00
Linus Probert 677a7d8b69 Changes to settings.c db queries
Sort of experimental. No harm but perhaps not an improvement.
2018-05-05 20:59:53 +02:00