Commit Graph

189 Commits

Author SHA1 Message Date
Linus Probert 00a15d6a49 Autocreate a good package for steam if steam build 2018-09-04 11:24:16 +02:00
Linus Probert 7ee85ecdb0 Patch version increase 2018-09-04 11:17:18 +02:00
Linus Probert 9364fec157 Increases patch version 2018-09-03 20:28:42 +02:00
Linus Probert 37518c100d Includes player and dungeon level in steam leaderboards.
- Intended for use in the in game leaderboard view once I make that.
2018-09-02 23:44:48 +02:00
Linus Probert ad2d0af79b Remove appid from git 2018-09-02 17:21:43 +02:00
Linus Probert b7189b3487 Lifted the patch version
- The "infinite loop fix" merits a patch version increase.
2018-09-02 07:15:48 +02:00
Linus Probert 0ab65c9989 Fixed charge
- Prevent click sound from triggering
- Prevent hovering on pits if you end charge on them
- Trigger traps if you end charge on them
2018-08-30 11:13:50 +02:00
Linus Probert 7b54e93893 Implemented leaderboard updates 2018-08-29 22:13:22 +02:00
Linus Probert d36c1dd954 Version bump 2018-08-29 15:03:35 +02:00
Linus Probert 412a30da0d Fixed non-steam build, because I broke it :D 2018-08-29 14:11:36 +02:00
Linus Probert 76d78600cb Completed Steam api integration.
- Next step is to actually trigger the achievements in the right places.
2018-08-29 14:03:18 +02:00
Linus Probert 9ae383b34e Prepares for steamworks api integration 2018-08-27 17:16:01 +02:00
Linus Probert cc1ae5d99d Beta 2 releasenotes and version 2018-08-23 09:44:19 +02:00
Linus Probert f67aab0b37 Completes #43 Add win state
Game now ends if you reach depth level 20

Also fixed:
    - Funky bug with stats with 0 dmg
    - Wonky speed = 2 on monsters behaviour
    - Some other minor stuff
2018-08-22 20:54:39 +02:00
Linus Probert 8bf9329b8c Version bump and badges 2018-08-21 17:00:33 +02:00
Linus Probert 8c25693d6d Moves sqlite3 files to separate dir
Only intention is to separate my code from 3rd party code.
2018-08-21 16:32:26 +02:00
Linus Probert 358c0c7ddc Fixes #37 and #39 Adds tooltips to everything
- A tooltip on first play will explain how it works
- A tooltip on levelup will display skill info
- A setting is introduced to disable tooltips
2018-08-20 14:32:38 +02:00
Linus Probert 5f754d551a Merge branch 'master' into dev 2018-08-19 20:26:28 +02:00
Linus Probert 30058ea4e0 Creates gui_util and moves some code out from gui.c 2018-08-19 20:25:31 +02:00
Linus Probert 8fa4fbd51c Patch version raised to 13 2018-08-15 08:08:58 +02:00
Linus Probert 6633db7aa4 Adds room objects and FIRE rooms. 2018-08-13 13:11:32 +02:00
Linus Probert b4ae946140 Patch version raised to 12 2018-08-12 19:44:17 +02:00
Linus Probert 254417271c Began #33 Create score screen
Adds the backend (db) part of hiscores, next step is to create the
screen.
2018-08-12 16:14:07 +02:00
Linus Probert 4ccdebe79c Patch version raised to 11 2018-08-12 09:25:03 +02:00
Linus Probert 3f1cdf8a12 Fixes: #5 Creates a creditscreen 2018-08-12 09:13:18 +02:00
Linus Probert 4e1050dc8a Patch version raised to 10 2018-08-11 20:25:10 +02:00
Linus Probert 62d1bbd49d Completes #31 Adds chests to game 2018-08-10 20:09:56 +02:00
Linus Probert 095c93e5b2 Began #2: Added artifacts and the PIERCING_DAGGERS modifier
Still need to add the rest of the artifact effects but that should be
simpler from this point.
2018-08-08 00:14:24 +02:00
Linus Probert ffde0793e5 Fixes: #4 Room stuff: Traps
- Adds traps
- Adds lua hooks for traps
- Fixes level exit in pit bug
2018-08-06 00:28:23 +02:00
Linus Probert 41a902181a Fixes a bunch of msvc warnings 2018-08-05 15:01:25 +02:00
Linus Probert 658d039d66 Patch version raised to 9 2018-08-05 12:52:06 +02:00
Linus Probert 72772358bd Patch version raised to 8 2018-08-04 21:51:08 +02:00
Linus Probert 56af37edb0 Removing natural lighting debug.
After implementing line of sight light it did not look good at all with
this size of tiles. Keeping as is for now.
2018-08-04 14:07:17 +02:00
Linus Probert 353b4ed1c5 Adds raycasting debug
Next step is to actually implement the Bresenham Line Algorithm to make
line of sight and object shadowing a reality.
2018-08-03 10:45:54 +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 a30d501e86 Patch version raised to 7 2018-06-28 12:54:15 +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 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 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 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 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 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 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 0cf05f039e Travis ci update with OSX build 2018-05-13 18:12:40 +02:00
Linus Probert fb7e1710ab Differentiate Release and Debug builds 2018-05-12 10:36:04 +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 aaeabb30da Fiddle with windows linking 2018-05-11 22:56:03 +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 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 5b44ee7cf3 Migrated from check to cmocka
Intention is to get tests running on appveyor
2018-05-11 19:09:34 +02:00
Linus Probert 610c7eed8e Appveyor artifacts added 2018-05-09 22:30:22 +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 f3c83606e2 Check for check again 2018-05-05 22:17:02 +02:00
Linus Probert b219c76e81 Fixed issues with MSVC/CMake build macros 2018-05-01 13:18:05 +02:00
Linus Probert 5efef180a5 Fixes the release build 2018-04-28 19:10:49 +02:00
Cong 6896308451 Use SDL to detect screen dimensions
Supports macOS, remove dependency on X11
2018-04-28 15:05:56 +10:00
Linus Probert d77166b3fe The env variable was missplaced 2018-04-23 09:24:09 +02:00
Linus Probert 657bf2f6b8 Attempt to remove travis+clang+ccache warnings. 2018-04-23 09:15:43 +02:00
Linus Probert 8647eaa7a4 Coloured, file, function and line referenced debug output. 2018-04-21 22:58:53 +02:00
Linus Probert 04a3691463 Removes some GCC warnings 2018-04-20 14:46:00 +02:00
Linus Probert cab3b501fc Borke out some of the settings sqlite code to it's own module. 2018-04-16 21:19:26 +02:00
Linus Probert 2ca2a4f98c Added persistent settings 2018-03-17 00:04:26 +01:00
Linus Probert 8a2cb3b446 Embed sqlite3 2018-03-16 19:46:28 +01:00
Linus_Probert 07136c70f9 Windy rooms affect player
Left a possibility to make it affect projectiles.
2018-03-15 16:30:41 +01:00
Linus_Probert ac180d1efb Limit the number of daggers carried.
There is a "dagger count" on the player now. Also added the "dagger"
item that can be dropped by monsters.
2018-03-13 16:13:54 +01:00
Linus_Probert 8e7b23e687 Add better lint checking 2018-03-13 09:35:44 +01:00
Linus_Probert f025a478b2 Added cppcheck to travis 2018-03-12 14:55:09 +01:00
Linus Probert be8677cb39 Adds projectiles
Collisions still need implementing and an underlying skill + some drawing.
2018-03-08 00:58:26 +01:00
Linus Probert d564a559dc Adds essentially nothing. Some convenience functions. That is all 2018-03-07 19:15:08 +01:00
Linus Probert 2253479532 Adds skills, 'flurry' skill and sip_potion skill.
Removes shift-h sipping.
2018-02-28 22:31:38 +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 462a22f7a0 Starts an idea for skills. Not sure I like it. 2018-02-24 07:13:28 +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 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 8a30895cae Disabled CPACK on linux for now 2018-02-22 23:40:01 +01:00
Linus Probert 7f449e7ef3 An attempt at CPACK, not going great. 2018-02-22 23:19:33 +01:00
Linus Probert 7fb34bf9e8 Package assets depending on build mode 2018-02-22 19:17:57 +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