Commit Graph

532 Commits

Author SHA1 Message Date
Linus Probert 88bcc9c5ad Lua modules 2017-12-11 20:07:05 +01:00
Linus Probert 9eab032a71 Added some nice lighting to maps 2017-12-11 11:53:18 +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 a1c57b62d0 Lightsources and lightmaps 2017-12-10 19:51:24 +01:00
Linus Probert f4e24bc8d7 Fixed animated decorations in map 2017-12-08 14:40:33 +01:00
Linus Probert 4a2b709900 Better map visuals 2017-12-08 12:27:36 +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 31ca087a1e Removed check tests from travis for the time being 2017-12-07 13:50:56 +01:00
Linus Probert 171f8c8b5e Nicer exits in rooms 2017-12-06 17:00:51 +01:00
Linus Probert b950673952 Attemptive lua structuring and more mapgeneration code 2017-12-06 16:02:50 +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 2a88233e82 Compile flag for check unit tests 2017-12-05 13:40:52 +01:00
Linus Probert cfd0e5ce4c Removed Xrandr lib 2017-12-05 12:54:41 +01:00
Linus Probert 8245a0b37b Bad lua include dir 2017-12-05 12:51:09 +01:00
Linus Probert fdb92ef24f Better cmake 2017-12-05 12:40:37 +01:00
Linus Probert 653e88e201 Lua 5.3 2017-12-05 12:04:34 +01:00
Linus Probert 5dd48aada0 More Travis lua stuff 2017-12-05 11:59:11 +01:00
Linus Probert 13e0e04210 Add lua5.1 to travis build 2017-12-05 11:42:14 +01:00
Linus Probert 27d1438b18 Travis build fix 2017-12-05 08:46:10 +01:00
Linus Probert 452ed58177 Travis build icon in README 2017-12-05 08:42:27 +01:00
Linus Probert 18913ea925 Added a travis file 2017-12-05 08:39:04 +01:00
Linus Probert 50f516ad71 Implemented a simple timer 2017-12-05 08:30:08 +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
Linus Probert 1714c5d732 Fixed a codacy issue 2017-12-01 00:01:51 +01:00
Linus Probert a7d5aa90e1 Initial commit 2017-11-30 21:06:54 +01:00