Commit Graph

25 Commits

Author SHA1 Message Date
Linus Probert b96ba5a2e0 Fixed build for windows
Created m_sprintf to make msvc happy.
2018-01-23 21:03:43 +01:00
Linus_Probert d6e6e9449a Codacy fixes 2018-01-23 14:37:58 +01:00
Linus_Probert dc7927c6b0 Gui log is working 2018-01-23 14:11:03 +01:00
Linus Probert c4b8766a01 Began designing/writing gui. Added states. 2017-12-22 15:15:40 +01:00
Linus Probert ca7249e954 Log hits, kills and misses 2017-12-21 08:31:25 +01:00
Linus Probert 025bd3eda2 Fixed some codacy stuff 2017-12-19 23:02:24 +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 7f6507d30c Fixed for windows 2017-12-19 19:42:05 +01:00
Linus Probert 64a9105d21 Action texts on player and some refactoring 2017-12-18 15:26:56 +01:00
Linus Probert 1c48f1dd9a Added enemy behaviour to lua and monster states. 2017-12-18 12:12:24 +01:00
Linus Probert 995a2f4475 Codacy warnings. 2017-12-18 10:03:58 +01:00
Linus Probert c88c64f4b8 Implemented stupid agressive and coward pathing. 2017-12-18 09:59:01 +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 c4d142860c Moved 'clip' from texture to sprite. 2017-12-14 12:01:05 +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 ac63f0b172 More monster and combat prep.
I need a hashtable next.
2017-12-12 11:20:08 +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 cdf4949eea Switched from 64 tile dimension to 32
64 didn't look very nice on a regular HD screen. Only on my tricky hiDPI
laptop.
2017-12-10 23:49:15 +01:00
Linus Probert e8ccda2faf Fixed map path and generation.
Also found an issue with collisions and room-switching. This has been
fixed also.
2017-12-06 11:44:17 +01:00
Linus Probert bdc5b6d629 Added a room matrix that deals with movement and collisions. 2017-12-05 15:03:20 +01:00
Linus Probert f5a23d6798 Nicer map creation with walls. 2017-12-05 08:13:28 +01:00
Linus Probert a7d5aa90e1 Initial commit 2017-11-30 21:06:54 +01:00