Commit graph

86 commits

Author SHA1 Message Date
Zed A. Shaw
ab391aaa97 Have a plan for the new inventory and looting system, now have to implement it. Temporarily you can't pick anything up, but it will go away. 2025-06-02 00:58:16 -04:00
Zed A. Shaw
3a745d492a Refactored out the tilemap since it was mostly doing nothing useful. 2025-05-25 11:39:43 -04:00
Zed A. Shaw
7a0b2f988d Add a terrible maze generation algorithm to test if a maze style map looks/feels better. The walls are disabled so you can walk around. 2025-05-18 01:00:47 -04:00
Zed A. Shaw
6cbfcf993e Meson build was using the wrong sfml_main on windows. 2025-05-16 23:40:13 -04:00
Zed A. Shaw
a2246d2b71 Move the map_view and mini_map into gui as well. 2025-05-16 00:07:24 -04:00
Zed A. Shaw
bed5ce22d2 Move gui_fsm to fsm but this causes some problems. 2025-05-15 23:54:59 -04:00
Zed A. Shaw
cc44c9d37a Move the guecstra stuff into the gui. 2025-05-15 22:50:59 -04:00
Zed A. Shaw
dfc6aa08e9 Loot UI is now mostly formed, just need to get loot into it and make it work. 2025-05-14 11:49:09 -04:00
Zed A. Shaw
8545b8cf1d Simple Loot UI started. 2025-05-14 00:51:53 -04:00
Zed A. Shaw
74a8599977 Fully converted to using the lel-guecs library externally now. 2025-05-13 02:48:39 -04:00
Zed A. Shaw
abea6da2e0 More GUECS cleanup before releasing. Still need to sort out events and reduce the amount of stuff that GUECS needs. 2025-05-04 23:28:36 -04:00
Zed A. Shaw
c51d46aeb8 Meson build now attempts to force local only build and linkage. 2025-04-25 00:55:58 -04:00
Zed A. Shaw
35ced58cc9 Shaders now are managed by a manger that can do hot reloading and it also will detect a bad shader and use an ERROR shader so you know it's busted visually. 2025-04-13 17:11:21 -04:00
Zed A. Shaw
724d3edb61 Wrote my own quick and dirty fragment shader viewer. 2025-04-09 23:59:09 -04:00
Zed A. Shaw
e11a374d26 No need to compile arena anymore. 2025-04-08 13:01:37 -04:00
Zed A. Shaw
ca328e10dc Rework the source so that battle is in its own thing to work on. 2025-04-07 10:35:30 -04:00
Zed A. Shaw
07ce8a4148 New debug_ui that shows perf data, other debug info, and allows spawning enemies. 2025-04-05 12:09:19 -04:00
Zed A. Shaw
4f090159ab Started working on this 'arena tester' tool that would let me load an enemy and test them, but then realized I could just make it so I can spawn enemies in the game. I'm keeping the arena around as it will be useful later as a scriptable testing tool, but for now just spawn and test. 2025-04-04 12:45:55 -04:00
Zed A. Shaw
da273cbee6 Refactored rituals so they can be used in different situations. 2025-03-24 12:30:58 -04:00
Zed A. Shaw
322797f787 Now have a full map and a mini map, but I think the mini map will stop rendering sometimes. 2025-03-23 00:04:23 -04:00
Zed A. Shaw
6c9016eb0f After some prototyping I have what I think I want for the map. Just a simple piece of paper you take out that has the ASCII map on it. 2025-03-21 02:51:02 -04:00
Zed A. Shaw
1aa6674e42 Created a nice utility library for doing animations, and used it in the ritual crafting UI. 2025-03-20 01:10:01 -04:00
Zed A. Shaw
263b7741f6 The ritual UI is now in its own thing, but not hooked up yet. 2025-03-19 00:48:43 -04:00
Zed A. Shaw
0efb17371b Now have a simple stats test. 2025-03-17 22:56:18 -04:00
Zed A. Shaw
d3158291f7 Did a full code coverage review and improved many of the tests and a bunch of code. I'll do one more final walk through all the code before getting back to work on the new combat system. 2025-03-17 15:23:47 -04:00
Zed A. Shaw
49531ba148 Rituals are more or less sorted out in theory, and they helped find a cycle in the GOAP algorithm that I'm detecting/preventing. 2025-03-16 13:34:38 -04:00
Zed A. Shaw
63f032ff12 BREAKING: First idea for the combat system but there's a bug in goap where I'm not removing closed parts or something like that. 2025-03-15 22:30:10 -04:00
Zed A. Shaw
fc66d221d4 Now have the ability to do partial solutions that will create potential paths to the goal, and a test that runs the scripts from plans in different scenarios. Also, this ai_debug thing needs some work. 2025-03-11 15:33:14 -04:00
Zed A. Shaw
3f83d3f0bb A bit more cleanup to avoid duplicate testing and to separate the GOAP algorithm code from the little AI Manager thing. 2025-03-11 10:57:29 -04:00
Zed A. Shaw
a079f882df Quick renaming of stuff to be more generic as 'AI'. Now maybe I can get some sweet sweet investor money. 2025-03-10 22:30:56 -04:00
Zed A. Shaw
01525388ec GOAP is now working in a basic way, time to clean it up. 2025-03-10 11:06:26 -04:00
Zed A. Shaw
a34becdaeb A simple A* pathing function that works on maps, but I'll be changing it to do the GOAP pathing. 2025-03-08 23:23:29 -05:00
Zed A. Shaw
b7948f8154 Build is working on both OSX and Windows. Now for linux. 2025-03-06 20:22:51 -05:00
Zed A. Shaw
e1f9942da3 Mostly working OSX build options, but it crashes on close with a thread error. 2025-03-06 14:11:12 -05:00
Zed A. Shaw
28b900e4ff Finally created an installer so people can try the game. 2025-03-05 13:39:38 -05:00
Zed A. Shaw
64807174c0 Initial idea for the boss fight UI but it's just a temporary holder for now. 2025-02-27 15:24:17 -05:00
Zed A. Shaw
d4355a608d Now have an autowalker class that allows me to drive the game from an external source. 2025-02-26 13:39:25 -05:00
Zed A. Shaw
54fbf22b6d We can go down a level and there's a loading screen for it. The map and motion now matches the directions shown in the raycasting. There's now a compass that shows you the direction you're facing. 2025-02-25 13:15:39 -05:00
Zed A. Shaw
20cbc3a21c Working sound system and most enemies have a sound effect. This will make it easier to add sounds now. 2025-02-22 12:48:37 -05:00
Zed A. Shaw
83df9ff03b Super awesome twitchy animation for axe guy. 2025-02-22 11:03:38 -05:00
Zed A. Shaw
947ccbe180 A simple config loader test. 2025-02-21 23:17:53 -05:00
Zed A. Shaw
d0a6a92bc8 More testing improvements. 2025-02-21 13:21:13 -05:00
Zed A. Shaw
0260e3d345 Textures and sprites are now managed by a single module in textures.hpp, and even though it is a _single_ location to access all sprites it is NOT a singleton. Those are illegal. 2025-02-21 03:32:44 -05:00
Zed A. Shaw
f3e1413022 Intermediate refactor to move everything over to using the textures module rather than everyone using one TexturePack thing. 2025-02-21 03:00:56 -05:00
Zed A. Shaw
a7a60ad35c Initial start of the refactoring of gui.cpp into two classes, the gui::FSM will be used to controll all of the other UIs in the game, and evetnually will be pretty dumb. 2025-02-20 23:18:18 -05:00
Zed A. Shaw
70a9420c11 Started the overlay UI but need to make it possible to add/remove components to it. 2025-02-20 02:33:09 -05:00
Zed A. Shaw
722d55d948 Refactored the GUECS system to have its own namespace then got Meter to work. 2025-02-18 12:51:28 -05:00
Zed A. Shaw
46de98e6f4 I now have a semi-functional GUI system that uses the ECS style to build gui elements rather than inheritance. 2025-02-18 01:10:56 -05:00
Zed A. Shaw
deb235dbc5 This gets the project to compile on OSX with Clang 16 (OSX version 14.7.x) but there's missing libraries for the linking stage. 2025-02-17 05:26:47 -05:00
Zed A. Shaw
2a4ada81bb Did some work checking the build on OSX. Looks like clang 14 is too old, will try later version. 2025-02-13 13:15:23 -05:00