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
46e03af0b8
More defined turns
2018-02-19 15:09:04 +01:00
Linus Probert
d5914071d4
New license. MIT -> GPLv3.0
2018-02-16 18:11:26 +01:00
Linus_Probert
b13479b5e1
Monster levels, player death and player levels
2018-01-30 15:16:14 +01:00
Linus_Probert
6e6a9641ae
Monsters now drop both treasure and items.
2018-01-29 13:48:44 +01:00
Linus_Probert
969af2f8c2
Better labels, more treasure
2018-01-25 10:45:05 +01:00
Linus Probert
417cb78f31
Added items, so far only health that always drops.
2018-01-24 21:14:34 +01:00
Linus Probert
c4b8766a01
Began designing/writing gui. Added states.
2017-12-22 15:15:40 +01:00
Linus Probert
60b374f84e
Levele exit and next level load
2017-12-22 06:27:58 +01:00
Linus Probert
42aa1cbe86
Fixed some mingw warnings.
2017-12-21 11:57:12 +01:00
Linus Probert
4bbe82a705
More windows stuff
2017-12-19 22:51:00 +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
6007976d23
Roaming monsters.
2017-12-17 13:43:41 +01:00
Linus Probert
7389c2d588
Hit and miss information.
2017-12-15 15:03:29 +01:00
Linus Probert
916193ecb3
Simple Player vs. Enemy hits
2017-12-15 08:08:45 +01:00
Linus Probert
7625e02d21
Make codacy happy.
2017-12-13 23:27:20 +01:00
Linus Probert
00a2b54759
Lua bindings for monsters. Monsters in matrix.
...
So far I just add one black ant. More to come.
2017-12-13 23:20:54 +01:00
Linus Probert
95c9ed0a67
Made linked list stupid and naive. Prepared for monster lua
2017-12-13 20:31:04 +01:00
Linus Probert
17c3b817a0
Better hashtable destruction. Monsters prepared.
2017-12-13 14:30:12 +01:00
Linus Probert
f4e24bc8d7
Fixed animated decorations in map
2017-12-08 14:40:33 +01:00
Linus Probert
698c92ae33
Added decorations in lua and core
2017-12-08 09:45:57 +01:00
Linus Probert
577165a0f6
Squelched a bug, fixed a memory leak and wrote a lot of ugly lua.
...
The lua is map-gen code. It's allowed to be ugly. That is why map-gen
code is in lua. Because it's quick to write and not as crucial if it
gets ugly.
2017-12-07 23:58:29 +01:00
Linus Probert
f5a23d6798
Nicer map creation with walls.
2017-12-05 08:13:28 +01:00
Linus Probert
0b376a4998
Camera and map following
2017-12-03 11:09:57 +01:00
Linus Probert
7362c2370f
Generate maps using lua
2017-12-02 23:32:40 +01:00
Linus Probert
0cdd0f6d8d
Extended linked list and re-thought the map structure
2017-12-02 16:24:31 +01:00
Linus Probert
23abb0f48c
Added maps and a camera
2017-12-01 16:03:19 +01:00