Linus Probert
c8900e8ddf
Controller button rendering based on controller type
...
Also added in the last button textures that I'd left out previously.
2018-10-11 20:12:11 +02:00
Linus Probert
06d2da164a
Controllers are working
...
Still needs some tweaks and some gui changes.
Also stumbled upon a bug.
2018-10-11 18:54:02 +02:00
Linus Probert
2919ebf97f
Adds controller button support for skillbar
2018-10-10 22:54:43 +02:00
Linus Probert
f1b0045829
Introduces the "orc levels"
...
Also fixes some minor buggs.
2018-08-22 11:05:12 +02:00
Linus Probert
ffe1736792
Minor buggfixes and typos
...
- Mention level in "new skill tooltip"
- Fix a msvc compiler warning
- Prevent level 2 artifact first pickup from bugging rendering
2018-08-21 22:27:45 +02:00
Linus Probert
9ef97c0897
Fixes #38 , Artifact inventory
2018-08-21 12:42:23 +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
736eb79996
Continues #2 : Artifacts
...
- Adds sparkle effect on artifacts
- Implements TRAP_AVOIDANCE, IMPROVED_HEARING
2018-08-08 14:46:59 +02:00
Linus Probert
dff55a1978
Fixes some buggs
...
- Fixes mapbuilder pit loading nullpointer
- Fixes black main menu bg after return to main menu
- Fixes skill sparkling on new game start
2018-06-14 00:12:49 +02:00
Linus Probert
bbe4526947
Fixes colors to use defines.
2018-05-22 15:48:09 +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
6d5acc698e
Nicer labels in many places.
2018-05-15 14:12:38 +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
f290a0dc1c
Prepared for more skills
2018-05-04 18:14:44 +02: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
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
ca83fa38fe
Better dagger throw hits and new skill graphics.
2018-03-11 21:06:46 +01:00
Linus_Probert
bac0c62a10
Remove some memory leaks
2018-03-06 10:27:25 +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
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
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
738102b6e6
Adds basic skillbar rendering, now we need skills
2018-02-23 11:01:25 +01:00
Linus Probert
2afb8090e3
Initial skillbar code
2018-02-22 15:42:43 +01:00