Commit graph

63 commits

Author SHA1 Message Date
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
Zed A. Shaw
bfd2718cc9 Found my old LEL code and got the shell working, so tomorrow I'll try to make it layout some gui element. 2025-02-14 02:13:08 -05:00
Zed A. Shaw
9b3b81683a Separate out the major UIs to get ready for their development, and enable debug button. 2025-02-13 10:55:45 -05:00
Zed A. Shaw
6da830595c Clean up the GUI some by moving the map_view out into its own file. 2025-02-11 11:37:01 -05:00
Zed A. Shaw
421cca308b Fixed player showing up as an enemy and did better map centering. 2025-02-11 11:10:18 -05:00
Zed A. Shaw
51972b0c35 Converted all the variable names from Lode's tutorial style to the one I use in prep for some review and cleanup. 2025-02-10 11:32:50 -05:00
Zed A. Shaw
a69be90464 Game now builds and is using the new dynamic component loading but enemies do not spawn in and device events are really working. Also inventory is a giant bag of fail and needs a rewrite. 2025-02-08 21:16:25 -05:00
Zed A. Shaw
9e91c71125 BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail. 2025-02-08 14:03:09 -05:00
Zed A. Shaw
96efc990c1 Brought in nuke's idea for json serialize now to use it. 2025-02-08 12:04:53 -05:00
Zed A. Shaw
d798d154ae We now have a full map that's basically the same mapping system from Roguish. There's a bug right now where it needs you to move once to calc the light and it's not being centered, but it does work. 2025-02-07 19:32:00 -05:00
Zed A. Shaw
1d3a76e5ee Refactored out main.cpp to be a separate gui and using an FSM to keep the turn based nature straight. 2025-02-04 12:56:20 -05:00
Zed A. Shaw
7228bdf210 Trying out an FSM for controlling the main loop. 2025-02-04 00:52:54 -05:00
Zed A. Shaw
48ac6603a8 Implement a little junk camera on its own that we can use later for movement and views. 2025-02-03 11:08:17 -05:00
Zed A. Shaw
2daa1c9bd5 Brought over a bunch of code from the roguelike and now will use it to generate a random map. 2025-01-30 11:38:57 -05:00
Zed A. Shaw
071808a0f8 Playing around with shaders for effects on the scene. 2025-01-27 11:36:00 -05:00
Zed A. Shaw
d0d3c8bc04 Make the animator more official. 2025-01-27 10:13:32 -05:00
Zed A. Shaw
c98aa936ad The tracy directory now has an experiment in getting Tracy to work. It's _not_ as easy as it is touted to be. 2025-01-19 12:58:05 -05:00
Zed A. Shaw
308fe4bed2 Brought in Amit's latest and tweaked a few more build options for enabling some safety checks in GCC. 2025-01-19 11:05:42 -05:00
Zed A. Shaw
eef13bd325 Tried a few more things but nothing much worked. The weirdest was the lto options that failed to do even basic linking. 2025-01-19 04:49:37 -05:00
Zed A. Shaw
ea3dd204a1 Tweaking the build to turn on various debug options in GCC and enable -Wall -Werror on only our executable configs because turning them on globally causes most of the dependencies to fail. One thing to note is if you try to move the -D_GLIBCXX options from the project() to the executable() then you get segfaults inside the libc++ and other places. This is because the ABI changes when you enable these options, so you have to recompile _all_ dependencies with these options. 2025-01-19 04:02:42 -05:00
Zed A. Shaw
e5b4fed4ee Bring in a first start to a Tracy enabled build but I have to learn more about how to run it. 2025-01-18 13:19:35 -05:00
Zed A. Shaw
cf9682ed70 Bring in the gnu omni font for text, and rewrite my stats code to use c++ and then use that to calc FPS stats for an FPS display on the left. Debug build gets about 48, release gets about 500fps. Amit's code will probably do even better. 2025-01-18 02:42:41 -05:00
Zed A. Shaw
7fb2d5cf26 Updated Amit's code to run in sfml 3.0 2025-01-17 15:29:13 -05:00
Zed A. Shaw
105c974f1c This converts it to SFML 3.0 but the build only runs on Windows at the moment. 2025-01-17 15:10:03 -05:00