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
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
bd2cce6447
Removed mingw warning
2018-03-13 09:37:51 +01:00
Linus_Probert
2c803da0cd
Faster dagger rotation and skill direction change
2018-03-12 12:35:28 +01:00
Linus_Probert
5f4140fb6f
Increases dagger speed, Adds charge pickup and dagger sound.
2018-03-12 09:09:03 +01:00
Linus Probert
ca83fa38fe
Better dagger throw hits and new skill graphics.
2018-03-11 21:06:46 +01:00
Linus Probert
c360aa75ee
Added dagger throw skill
...
There are still some quirks that could need some love surrounding this
skill. Check the reset countdown for example.
2018-03-10 22:04:03 +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
5e0bbe423d
Added nice info messages across the screen
2018-03-07 16:02:56 +01:00
Linus_Probert
cc2b659020
Removes a memory leak
2018-03-06 13:50:43 +01:00
Linus_Probert
bac0c62a10
Remove some memory leaks
2018-03-06 10:27:25 +01:00
Linus Probert
c5abf71735
Fixed the builds.
2018-03-03 13:33:14 +01:00
Linus Probert
e41e560219
Aggressive monster now path a lot better
2018-03-03 12:56:53 +01:00
Linus Probert
0b98cad726
Fix bug with player hit text and prevent fight pickups
2018-03-03 00:54:50 +01:00
Linus Probert
f9a91c0922
Removes codacy issue
2018-03-02 17:07:15 +01:00
Linus Probert
f7ec1195f4
Adds skill return countdown.
...
Also removes ability to wall-bonk exploit the countdowns.
2018-03-02 17:05:13 +01:00
Linus Probert
b6c5edbd92
Adds swoosh sound to charge skill
2018-03-01 19:46:23 +01:00
Linus Probert
b05f9333dc
Adds "speed lines" to charge skill
2018-03-01 19:37:57 +01:00
Linus Probert
7e596a251e
Adds the charge skill
2018-03-01 13:48:03 +01:00
Linus Probert
06cdebc3b3
Better flurry sounds
2018-03-01 06:47:16 +01:00
Linus Probert
da2ec32981
Removes some duplicate code in player.c
2018-03-01 06:14:01 +01:00
Linus Probert
c42e6fa621
Removed all the warnings from gcc
2018-03-01 06:04:12 +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
20cb94b529
Skill ideas. Not sure I like them.
2018-02-28 15:28:45 +01:00
Linus_Probert
727e1f5dd3
Minor message change
2018-02-28 09:32:37 +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