Commit graph

32 commits

Author SHA1 Message Date
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
Zed A. Shaw
4d31a4daf2 Amit's code mostly converted to use the new texture.hpp but there's an error on line amt/pixel.hpp:472 2025-01-17 11:36:03 -05:00
Zed A. Shaw
c91e8fc543 Brought in Amit's latest and will now merge in my fixing from last night into his to get them synced up. 2025-01-17 11:00:49 -05:00
Zed A. Shaw
adfb6367d7 Finished the first pass of moving everything around and cleaning up as much as possible. 2025-01-17 03:45:05 -05:00
Zed A. Shaw
5e63272f24 Brought in some of amit's code to study and try out. amt/ has it. 2025-01-16 12:50:25 -05:00
Zed A. Shaw
e379bcd5ec Next step in the refactoring with everything in a different file and running. The bug from the previous commit was due to the pixel buffer making the Raycaster object too large for the stack. If you get __chkstk_ms then you used too much stack. 2025-01-15 13:39:38 -05:00
Zed A. Shaw
d230b152cf BREAKING: This code does NOT work, but has a segv on startup on windows due to ...magic? 2025-01-15 12:25:09 -05:00
Zed A. Shaw
8eae4b9420 Reworked the files before the big cleanup of the code. 2025-01-15 10:26:44 -05:00
Zed A. Shaw
b18b27e23c Goodbye fenster, you were fun but I need something more stable and easier to live with. 2025-01-13 13:24:53 -05:00
Zed A. Shaw
80ac4cefba Initial setup for the fenster based raycaster. 2025-01-08 10:25:17 -05:00
Zed A. Shaw
d5047c00e2 Did a version of the raycaster that uses a pixel buffer sent to a texture that goes to a sprite that goes on a frog that's on a log on the bottom of the ocean under a tortoise that's carrying a sack that has the... 2025-01-07 12:49:06 -05:00
Zed A. Shaw
f98c9ddb91 Make timcaster work so people can walk around inside their computer's ram until it crashes. 2025-01-06 11:56:12 -05:00
Zed A. Shaw
ca80736d7c First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 2025-01-04 12:20:41 -05:00
Zed A. Shaw
6b181382bd First build that actually works. SDL_main errors before but didn't figure out the cause. 2025-01-02 11:47:02 -05:00