Linus Probert
f5a88fc10e
Introduces texture blending
...
- Makes indicator sprites transparent when the player is under them
2018-08-23 09:41:10 +02:00
Linus Probert
fa8797a20f
Removed a memory leak and MACROD colors
2018-05-15 23:21:28 +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
2122300f6e
Prepare for texture streaming and locking.
...
The intention is to static stream the gui areas into one big texture.
2018-05-08 16:34:22 +10:00
Linus Probert
9d7669fd35
Some updates regarding asset management
...
Had an idea of self-cleaning the cache but it didn't hold. Leaving the
stuff I wrote that might not be useless in the future.
2018-05-06 13:27:29 +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
d564a559dc
Adds essentially nothing. Some convenience functions. That is all
2018-03-07 19:15:08 +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
2a3f5aaa6a
Added physfs for file loading and safety.
2018-02-22 12:36:24 +01:00
Linus Probert
c02d674618
Conform to "standard" SDL2 including
2018-02-21 00:29:21 +01:00
Linus Probert
d5914071d4
New license. MIT -> GPLv3.0
2018-02-16 18:11:26 +01:00
Linus_Probert
3fe549e6fe
Started writing menus
...
Everything is pretty broken right now.
2018-02-08 17:01:38 +01:00
Linus Probert
4088357584
Better info, debug, error and fatal printouts.
2018-01-23 22:54:02 +01:00
Linus Probert
faad866c8b
Fixed a lot of stuff to help cross platform compilation
2017-12-19 21:00:02 +01:00
Linus Probert
7f6507d30c
Fixed for windows
2017-12-19 19:42:05 +01:00
Linus Probert
7389c2d588
Hit and miss information.
2017-12-15 15:03:29 +01:00
Linus Probert
c4d142860c
Moved 'clip' from texture to sprite.
2017-12-14 12:01:05 +01:00
Linus Probert
9f71d23849
Prepared sprites for monster implementation.
...
Added a render function to texture
2017-12-11 08:23:30 +01:00
Linus Probert
7362c2370f
Generate maps using lua
2017-12-02 23:32:40 +01:00
Linus Probert
a7d5aa90e1
Initial commit
2017-11-30 21:06:54 +01:00