Commit graph

24 commits

Author SHA1 Message Date
Adrian Hedqvist bb40711f84 Too big of a commit again
* Add and started using a proper state machine class
  * Uses a "StateResult" struct to handle state switches
* Add timers
* Move imgui to its own folder
* Add logger (not used yet)
2018-04-02 22:24:54 +02:00
Adrian Hedqvist d437c2c571 Merge branch 'master' of github.com:tollyx/dungeon 2018-03-26 22:25:50 +02:00
Adrian Hedqvist 8ffe61ba5f I have returned! 2018-03-26 22:16:10 +02:00
Adrian Hedqvist e0d1bcad3a Minor tweaks 2018-01-17 10:17:07 +01:00
Adrian Hedqvist 68d85c5eae fixes 2018-01-10 10:10:43 +01:00
Adrian Hedqvist 05e8f3d0a3 Too much stuff once again 2018-01-09 21:59:05 +01:00
Adrian Hedqvist 1cf3ec5fc0 Rename Tileset to SpriteAtlas 2017-12-31 21:51:57 +01:00
Adrian Hedqvist 1ace1cf300 Refactorings, only update a single actor per turn, support multiple player-controlled actors 2017-12-30 20:15:39 +01:00
Adrian Hedqvist 39ad8c3b34 Add background color uniform, remove current color state 2017-12-30 13:40:09 +01:00
Adrian Hedqvist a83a60de0c Add Rng class, lots of progress on mapgen 2017-12-30 00:08:09 +01:00
Adrian Hedqvist 71794eb68e Fix some things 2017-12-27 22:53:48 +01:00
Adrian Hedqvist 09730c4101 Switched from GLEW to glbinding, vcpkg is fucking amazing, cmake works on windows again 2017-12-27 21:54:11 +01:00
Adrian Hedqvist 79ff797cfd mapgen wip 2017-12-27 12:43:38 +01:00
Adrian Hedqvist ec131d8bda Too much stuff
* Implemented lua using kaguya, only for config files for now
* Moved color struct to its own header
* statically link glew instead of including the source in the project
* Other stuff that I don't remember
2017-10-18 12:25:25 +02:00
Adrian Hedqvist d32d448f31 Bunch of stuff, preparing for items 2017-09-26 15:49:11 +02:00
Adrian Hedqvist 97189fc442 Add strength to actor debug ui 2017-09-24 22:29:54 +02:00
Adrian Hedqvist 7ccb4422b8 Plenty of minor stuff 2017-09-24 00:15:28 +02:00
Adrian Hedqvist a2e3b4efda Optimizations for AI and map rendering 2017-09-23 22:06:36 +02:00
Adrian Hedqvist abc1c8fbce Make the hero controllable 2017-09-23 18:55:41 +02:00
Adrian Hedqvist d0b4c74690 Rename a bunch of functions 2017-09-21 22:44:05 +02:00
Adrian Hedqvist e15d225346 Remove fov debug printing 2017-09-21 22:17:42 +02:00
Adrian Hedqvist 6122f1d31d Moved fov to its own class, removed it from Actor 2017-09-21 22:17:06 +02:00
Adrian Hedqvist 35a5a74c97 Centered the map to the window, view follows hero 2017-09-21 19:20:09 +02:00
Adrian Hedqvist 2e299dbcfa Big refactor, FSM for game state, input event callbacks 2017-09-21 18:57:12 +02:00