Commit Graph

511 Commits

Author SHA1 Message Date
Linus_Probert 727e1f5dd3 Minor message change 2018-02-28 09:32:37 +01:00
Linus Probert c8ca84d997 Dropped some bad dll's 2018-02-28 07:11:43 +01:00
Linus Probert 0f323589f9 New redist cmake stuff for MSVC 2018-02-28 07:10:35 +01:00
Linus Probert 8ce5200601 Some new msvc build rules. Not tested 2018-02-28 06:32:16 +01:00
Linus Probert 94e7857dc7 Added stupid msvc dll:s for release builds.
No clue if this is the right way to do it. But it worked so what the hell.
2018-02-27 20:54:17 +01:00
Linus Probert 22bed2948f Fixed CPack and made lua work from .pack file
Adds a custom searcher to the lua table package.searcher.
2018-02-27 19:59:51 +01:00
Linus Probert e161d6becb Just some code cleaning that i stumbled upon 2018-02-24 21:47:09 +01:00
Linus Probert ce2bb2ff43 Removed mingw warning. 2018-02-24 21:24:19 +01:00
Linus Probert 71c7345c78 Weight monster loot according to player health.
More health in flesh and more flesh sprites.
2018-02-24 21:15:13 +01:00
Linus Probert 462a22f7a0 Starts an idea for skills. Not sure I like it. 2018-02-24 07:13:28 +01:00
Linus Probert fbf746d270 Cleans up some more warnings (gcc) 2018-02-24 00:29:25 +01:00
Linus Probert 5d1bb383dc Missed one 2018-02-24 00:10:49 +01:00
Linus Probert 512cc4105c Removes some compiler (mingw) warnings. 2018-02-24 00:06:45 +01:00
Linus Probert 131c0caa4e Memory usage improvements
Adds a texturecache to prevent multiple loads of the same texture. Texture
dimension is now only intended for the actual texture dimension. Sprite
should hold the "rendering dimension". Music songs now load and unload
when switching songs. Standardized a lot of dimensions.
2018-02-23 23:58:29 +01:00
Linus Probert 052b03189e Read lua through physfs 2018-02-23 19:32:01 +01:00
Linus_Probert 3ef45df8cb Minor visual fix 2018-02-23 15:43:54 +01:00
Linus_Probert 753e9402bf Skillbar selection indication 2018-02-23 13:08:05 +01:00
Linus_Probert 9286fddd3c Adds: Flashing healthbar when low on health 2018-02-23 11:10:50 +01:00
Linus_Probert 738102b6e6 Adds basic skillbar rendering, now we need skills 2018-02-23 11:01:25 +01:00
Linus Probert 988d0138b9 Another swing at cpack 2018-02-23 07:17:55 +01:00
Linus Probert 44fc5746fd Undo that last thing. TravisCI is way behind 2018-02-22 23:56:50 +01:00
Linus Probert 56459e1a43 Install physfs on travis 2018-02-22 23:47:23 +01:00
Linus Probert 699abb040b Indentation error 2018-02-22 23:42:12 +01:00
Linus Probert 8a30895cae Disabled CPACK on linux for now 2018-02-22 23:40:01 +01:00
Linus Probert dc08e12a01 Print the cmake version in travis 2018-02-22 23:31:56 +01:00
Linus Probert 7f449e7ef3 An attempt at CPACK, not going great. 2018-02-22 23:19:33 +01:00
Linus Probert ba9a92208d Forgot a change in the last commit 2018-02-22 19:18:38 +01:00
Linus Probert 7fb34bf9e8 Package assets depending on build mode 2018-02-22 19:17:57 +01:00
Linus Probert 2afb8090e3 Initial skillbar code 2018-02-22 15:42:43 +01:00
Linus Probert 4f75378a73 Include SDL2MAIN_LIBRARY in build
This should prevent manual intervention when building in MSVC17
2018-02-22 13:12:59 +01:00
Linus Probert d7020f1547 Fixes a minor mistake 2018-02-22 13:08:57 +01:00
Linus Probert b209774f7b Optional physfs compile, removed deprectaions. 2018-02-22 13:02:40 +01:00
Linus Probert 2a3f5aaa6a Added physfs for file loading and safety. 2018-02-22 12:36:24 +01:00
Linus Probert 9fec8fcb1f Enabled conversion warnings in GCC 2018-02-22 09:44:27 +01:00
Linus Probert c02d674618 Conform to "standard" SDL2 including 2018-02-21 00:29:21 +01:00
Linus Probert 076d97f738 Removed debug output 2018-02-20 21:53:58 +01:00
Linus_Probert 94363a2e95 Added monster stats generation to lua. 2018-02-20 14:22:26 +01:00
Linus_Probert 548eecf3c0 Added some sound and music toggles 2018-02-20 10:45:54 +01:00
Linus_Probert 0adcbc1b11 Adds explosions of different kinds. 2018-02-19 15:55:37 +01:00
Linus_Probert 46e03af0b8 More defined turns 2018-02-19 15:09:04 +01:00
Linus Probert d5914071d4 New license. MIT -> GPLv3.0 2018-02-16 18:11:26 +01:00
Linus_Probert 5fce60b44d Player hit sound 2018-02-16 14:16:21 +01:00
Linus_Probert f758f162e9 Make codacy happy 2018-02-16 11:15:29 +01:00
Linus_Probert a4df4c6079 Adds ccache to build
This is mostly for fun and because I want to see how it works in travis.
2018-02-16 10:13:16 +01:00
Linus_Probert f9443b1468 Hopefully fixes the "exit under decor" problem for the last time. 2018-02-16 09:10:05 +01:00
Linus_Probert a26c7be122 Use the random generator instead of rand() 2018-02-15 14:45:20 +01:00
Linus_Probert f4867551a1 Added a lot of sound and music. 2018-02-15 14:00:59 +01:00
Linus Probert 2a24c6528e Added music 2018-02-15 00:02:23 +01:00
Linus Probert 9c10c76266 Codacy fix 2018-02-14 23:24:08 +01:00
Linus Probert 65806c1285 Fixed menu-mouse-click crash.
Not sure about this. Having click events on buttons that destroy the
actual button might seem pretty stupid. But I think I'd rather have that
then having to think about menu memory allocation maintenance
constantly.
2018-02-14 23:14:30 +01:00