Linus Probert
6d5acc698e
Nicer labels in many places.
2018-05-15 14:12: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
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
faad866c8b
Fixed a lot of stuff to help cross platform compilation
2017-12-19 21:00:02 +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