Zed A. Shaw
|
fff182b457
|
Refactored out the main_loop so that it's not tightly coupled inside builder, and in the process found I was accidentally copying GUI and GameEngine because Builder wasn't using a &ref for them. Now they don't have a copy constructor to catch that.
|
2 months ago |
Zed A. Shaw
|
a7c5de6ac3
|
Builder is now using the FSM I wrote. Still not as clean as I like but big improvement.
|
2 months ago |
Zed A. Shaw
|
dcf1a4020d
|
Extract the FSM before beginning to use it.
|
2 months ago |
Zed A. Shaw
|
b9025be45b
|
After trying a few SFM libraries I found they're just too much for what I need, so here's the start of a simple one I can use.
|
2 months ago |
Zed A. Shaw
|
356314406f
|
Now using a std::async and future to do an async popen but I also need the FILE read in read_line to be async, so now I'm at a point where I have to refactor into a better statemachine.
|
2 months ago |
Zed A. Shaw
|
501cb5fe25
|
Add information on configuration to the README.md
|
2 months ago |
Zed A. Shaw
|
50c0ee3424
|
Reworked the builder code to setup for more async running of the build.
|
2 months ago |
Zed A. Shaw
|
bc3790efd3
|
Forgot file, it will go away soon though.
|
2 months ago |
Zed A. Shaw
|
0bac4dbfd9
|
First step in refactoring out the build running from the gui for later thread fiascos.
|
2 months ago |
Zed A. Shaw
|
b0c9fefa9b
|
Completely purge the coroutine stuff from the project.
|
2 months ago |
Zed A. Shaw
|
453c50c563
|
Big cleanup of rampant using std.
|
2 months ago |
Zed A. Shaw
|
fcd1225370
|
Last commit didn't build, this fixes it but next I'm removing it.
|
2 months ago |
Zed A. Shaw
|
cacf72604f
|
Very janky barely working coroutine version of the game, the UI is more responsive, but not as much as it should be. Still, take a look and study the coro.hpp and other files in this commit for some coroutine stuff.
|
3 months ago |
Zed A. Shaw
|
8f7235ade1
|
Coroutines mostly working, although not nearly as fancy as cppcoro. I'll try them out in my code and if I like it I'll probably just go use cppcoro.
|
3 months ago |
Zed A. Shaw
|
daf9a3cc07
|
Coroutines are mostly working but they're kind of junk anyway. Feel free to tinker with this if you like.
|
3 months ago |
Zed A. Shaw
|
8d1570f44a
|
Figured out threads for the next round.
|
3 months ago |
Zed A. Shaw
|
fdb3f24377
|
Cleanup the engine since I won't do the brainfuck thing, then fix up the log a bit.
|
3 months ago |
Zed A. Shaw
|
8edb37ceb4
|
Tried to avoid makefile for as long as possible but it's just too useful.
|
3 months ago |
Zed A. Shaw
|
4bd2d12219
|
The new SFMLGui is now worked into the code and barely works. Cleanup is next.
|
3 months ago |
Zed A. Shaw
|
70d1389c54
|
Move the GUI to its own file for the next stage.
|
3 months ago |
Zed A. Shaw
|
58a5a415ec
|
Now using a simple text size grid system for laying out the GUI.
|
3 months ago |
Zed A. Shaw
|
fda281be1d
|
Refactored into a class.
|
3 months ago |
Zed A. Shaw
|
846d5964fe
|
GUI mostly laid out but the code needs more refining and cleanup. Currently it creates too many assets in the render function.
|
3 months ago |
Zed A. Shaw
|
e7a226f1db
|
Log window is now working.
|
3 months ago |
Zed A. Shaw
|
8707982907
|
Have a basic template for the gui up, but obviously not using it right. The ImGui does pop up when I hit space, but fails a second time claiming I need to run render again. Needs more research.
|
3 months ago |
Zed A. Shaw
|
df6944b0fb
|
A really bad quick SFML based UI to get started with the FTXUI removal, and a slight reworking of the default .tarpit.json so that it's just a sample and I can use my own config for my dev and have different sounds.
|
3 months ago |
Zed A. Shaw
|
015b4aac45
|
Basic sfml window going for the gui redesign.
|
3 months ago |
Zed A. Shaw
|
29a6a565d9
|
Document the config file real quick.
|
3 months ago |
Zed A. Shaw
|
fee724e637
|
Fix a bug where a failinb build that causes death would play both the death sound and build failed sound.
|
3 months ago |
Zed A. Shaw
|
e8163bbeaf
|
Make some temporary sounds for each of the build actions.
|
3 months ago |
Zed A. Shaw
|
eb6c7b0e33
|
Working config file also configures the build and git dir.
|
3 months ago |
Zed A. Shaw
|
90f4f727ba
|
I can now load a json config file name .tarpit.json to configure everything. It now works to configure the sounds used.
|
3 months ago |
Zed A. Shaw
|
268d8abf52
|
Sounds are working...BUT...I have to make ones I own so hang on until I do that.
|
3 months ago |
Zed A. Shaw
|
7309ec2f40
|
Now I can play a sound! Yay!
|
3 months ago |
Zed A. Shaw
|
f83c0c7ff9
|
Rework the GUI so that I can place my face while I stream.
|
3 months ago |
Zed A. Shaw
|
07677068ab
|
Reformat.
|
3 months ago |
Zed A. Shaw
|
f56fd26e85
|
Forgot the libgit2 patch.
|
3 months ago |
Zed A. Shaw
|
8f48627c72
|
Rough cut on install instructions.
|
3 months ago |
Zed A. Shaw
|
f73d3fbfd8
|
Added in an openal dependency for today's stream.
|
3 months ago |
Zed A. Shaw
|
9a012813ae
|
Game now keeps track of deaths, rounds, streaks and other fun stuff. You can also die finally.
|
3 months ago |
Zed A. Shaw
|
a13704fe33
|
Got a simple GUI layout working for the most part.
|
3 months ago |
Zed A. Shaw
|
4520e20ab7
|
Improve the GameEngine test.
|
3 months ago |
Zed A. Shaw
|
c52bc8fafd
|
Make the game engine use a start/end round and do healing if you don't make any mistakes.
|
3 months ago |
Zed A. Shaw
|
e35536c7e3
|
More refactoring in prep for a real design.
|
3 months ago |
Zed A. Shaw
|
b9e9119832
|
A bit less wait time before running the build so it's more responsive.
|
3 months ago |
Zed A. Shaw
|
ceba46c658
|
GUI is now in its own unit.
|
3 months ago |
Zed A. Shaw
|
6d4aa9390a
|
First kind of working FTXUI for the game.
|
3 months ago |
Zed A. Shaw
|
6fc74ca199
|
DBC didn't work on its own. Needed the functional stuff to get the lambdas.
|
3 months ago |
Zed A. Shaw
|
9cc6724df8
|
Sort of working scrolling window thing.
|
3 months ago |
Zed A. Shaw
|
4227ee1cdc
|
Use an ostringstream for the output and make the test actually confirm the results.
|
3 months ago |