Commit Graph

788 Commits

Author SHA1 Message Date
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
Linus Probert f290a0dc1c Prepared for more skills 2018-05-04 18:14:44 +02:00
Linus Probert fcf1f24547 Fixed log prints in release mode and some better fail handling. 2018-05-04 01:22:40 +10: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
Linus Probert a350f66290 Removes some of the spammy logs.
Not as important now that there is an in game log.
2018-04-28 19:03:23 +02:00
Linus Probert 1042ed6482
Merge pull request #14 from cxong/master
Use SDL to detect screen dimensions
2018-04-28 18:44:13 +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 eb54c414f5
Merge pull request #12 from cxong/patch-1
Include lua in readme
2018-04-22 14:29:44 +02:00
Cong b0c115eb6e
Include lua in readme 2018-04-22 22:01:22 +10:00
Linus Probert 8647eaa7a4 Coloured, file, function and line referenced debug output. 2018-04-21 22:58:53 +02:00
Linus Probert 0cb14e1827 Final change to README for now 2018-04-20 14:55:00 +02:00
Linus Probert 3d628a4898 Updated README with some compile options 2018-04-20 14:53:00 +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 f65f135bdf Fiddled a bit with the pit layouts 2018-03-30 23:42:39 +02:00
Linus Probert 89e7f84870 Removes a minor warning 2018-03-29 20:32:44 +02:00
Linus_Probert cee584832e Fixed multiple pits in layout file 2018-03-26 13:53:45 +02:00
Linus Probert e9e5343c2f Info about future plans in README 2018-03-26 00:01:49 +02:00
Linus Probert 0a21a2d915 Adds falling into pits
Monsters also avoid pits. Still need more pit layouts and
prevent monsters from "spawning"  in pits.
2018-03-25 23:30:26 +02:00
Linus Probert 1206ec8a2d Merge branch 'master' into feature/pits 2018-03-24 12:53:43 +01:00
Linus Probert 9a3dd410ab Particle sparcle when skill unlocks
Minor modification to dagger damage
2018-03-24 12:46:23 +01:00
Linus Probert 7386b3d582 Adds levelcaps to skills
Still need to add the sparkles when they activate
2018-03-23 22:03:34 +01:00
Linus Probert fa20d2a689 Merge branch 'master' into pit_implementation 2018-03-22 16:03:12 +01:00
Linus Probert 2204c7bade Safety fixes 2018-03-22 12:52:27 +01:00
Linus Probert 9feed28357 Initial addition of pits
Need more options, tile type to handle damage and death.
Prevent monsters from spawning in pits etc.
2018-03-20 21:54:57 +01:00
Linus_Probert 38a05e099d Removed coverity_scan badge. Fixed a warning 2018-03-20 07:33:02 +01:00
Linus_Probert b42446da35 Minor travis changes to wrestle with coverity_scan 2018-03-19 11:28:52 +01:00
Linus_Probert 6aa7e3f4f1 Merge branch 'master' into coverity_scan 2018-03-19 10:46:42 +01:00
Linus_Probert 4149a0cc7b Adds coverity scan to the badges and builds 2018-03-19 10:43:00 +01:00
Linus_Probert dd53bbf618 Adds coverity scan to the badges and builds 2018-03-19 10:35:08 +01:00
Linus_Probert c8386ee719 Adds prevention from passive monsters being "dodgy"
When player gets close to passive monsters they will stop moving now.
This should prevent annoying behaviour when trying to line up a strike.
2018-03-19 10:25:32 +01:00
Linus Probert 83a36db574 Updated the TODO.txt 2018-03-17 11:09:46 +01:00
Linus Probert 3b848572f3 Dropped the data.db file 2018-03-17 10:39:40 +01:00
Linus Probert 9b4de91e13 Toggle sound and music from everywhere 2018-03-17 09:03:29 +01:00
Linus Probert a53c8fe525 Don't commit the settings file 2018-03-17 00:21:46 +01: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 42fd246185 Add direction to windy rooms in lua 2018-03-16 10:04:43 +01:00
Linus_Probert 2393608682 Removed a lint error 2018-03-15 17:00:11 +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 eb345cfc25 Adds the windy room effect 2018-03-15 11:30:18 +01:00
Linus Probert 1bea221369 Smooths out some glitches
Don't move dead monsters. Don't run player and monster turn in one frame. Fixes a bad "position_in_room" check.
2018-03-13 23:36:39 +01:00
Linus Probert d983318453 Better linkedlist clearing
Fixed a projectile update bug due to invalid map pointer. Cleaned up some of the "clear stuff from linkedlist" functions to a nicer implementation. Perhaps not as efficient but certainly nicer.
2018-03-13 21:47:49 +01:00
Linus_Probert d6c21745cd Add possibility to retrieve thrown daggers. 2018-03-13 16:51:08 +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 97af927004 Fixed rabid dog sprite 2018-03-13 10:01:17 +01:00
Linus_Probert 3650cc0617 Fix bloody travis 2018-03-13 09:53:41 +01:00