Zed A. Shaw
|
a3209606ef
|
Add the stupid setup and reset scripts for windows.
|
8 months ago |
Zed A. Shaw
|
67cbd430bf
|
Exploring optional return values.
|
8 months ago |
Zed A. Shaw
|
c736387063
|
A simple little design-by-contract library to test out more advanced c++20 features. Looks like clang doesn't do std::source_location right. See https://github.com/llvm/llvm-project/issues/56379
|
8 months ago |
Zed A. Shaw
|
7bec6fe40e
|
Don't need stats.py anymore.
|
8 months ago |
Zed A. Shaw
|
d8f98afa55
|
Maybe the date.h will come up later.
|
8 months ago |
Zed A. Shaw
|
686ae0b6d2
|
Use a trick to make the makefile work from anywhere.
|
8 months ago |
Zed A. Shaw
|
75663bfa46
|
After a bit of struggle figured out how to do time. So dumb that somethign so simple is so hard.
|
8 months ago |
Zed A. Shaw
|
567ffec4ac
|
Playing with a comparison of python vs. c++ for something simple. stats.py reads lines on stdin and outputs some json, and goc.cpp reads stdin and outputs csv. I may just go with csv for the project but I'll see what json is like in C++ too.
|
8 months ago |
Zed A. Shaw
|
6a777e4c2d
|
Wrong name for the header files.
|
8 months ago |
Zed A. Shaw
|
0edb58d46f
|
Fix a typo.
|
8 months ago |
Zed A. Shaw
|
a03da909f1
|
Add notes about PPP3 for people to read and follow.
|
8 months ago |
Zed A. Shaw
|
7a1093f982
|
Study results from Stroustrup's PPP3 book.
|
8 months ago |
Zed A. Shaw
|
6363457d0f
|
Add a little click sound to test out sounds.
|
8 months ago |
Zed A. Shaw
|
8f3840b602
|
Add a fun little meh face guy for a sprite.
|
8 months ago |
Zed A. Shaw
|
321e4ddbf0
|
Preparing for more cleaned up design but that'll involve finally learning C++ again since I will want to make a class or struct to hold game state and other things.
|
8 months ago |
Zed A. Shaw
|
6735355e28
|
Need some extra stuff to make it work in mingw on Windows.
|
8 months ago |
Zed A. Shaw
|
ae93ac52b8
|
Apply some torque to it so it spins.
|
8 months ago |
Zed A. Shaw
|
084a9c59a6
|
Make the arrow keys work too.
|
8 months ago |
Zed A. Shaw
|
38c0fee65c
|
Now box 2d lets you move the box around with right and left mouse buttons.
|
8 months ago |
Zed A. Shaw
|
285cd4971f
|
And now clicking with a mouse jumps the square to that spot.
|
8 months ago |
Zed A. Shaw
|
37199bdd19
|
Now you can move the square around with the keyboard.
|
8 months ago |
Zed A. Shaw
|
4cb1465dbc
|
And now it's spinning ni the center. I don't know why x=100, y=100 is the center origin of a 100x100 square so more research needed.
|
8 months ago |
Zed A. Shaw
|
c3d16f7930
|
Now I have a spinning square in the center and a clock. Kind of a weird spin but it work. We got motion.
|
8 months ago |
Zed A. Shaw
|
29a9949498
|
Testing out the threads with C++11 lambdas.
|
8 months ago |
Zed A. Shaw
|
d2dfb72775
|
Super jank clock in ImGUI to learn the SFML time keeping functions.
|
8 months ago |
Zed A. Shaw
|
e7efc197a1
|
Quick hack to watch my source and rebuild.
|
8 months ago |
Zed A. Shaw
|
f44a08f099
|
Update the README.
|
8 months ago |
Zed A. Shaw
|
c2541c1384
|
And now we have OSX and Windows builds working.
|
8 months ago |
Zed A. Shaw
|
21c260ec32
|
Looks like the only way to solve this is to do it on the command line for windows.
|
8 months ago |
Zed A. Shaw
|
1f9ffe8993
|
Nothing seems to work. This is OSX, let's try some other options on Windows.
|
8 months ago |
Zed A. Shaw
|
325dbf808b
|
Nothing actually works as advertised in Meson.
|
8 months ago |
Zed A. Shaw
|
c0bd860254
|
Attempting to detect windows to add the option you need.
|
8 months ago |
Zed A. Shaw
|
98264d30f4
|
Needed to add the default_library=static option for Windows, but I believe that fails on OSX.
|
8 months ago |
Zed A. Shaw
|
53bc5c93ed
|
Try out fmt which is a very nice printing/formatting library.
|
8 months ago |
Zed A. Shaw
|
8425872f5e
|
Update about the SDL2 demo.
|
8 months ago |
Zed A. Shaw
|
23def1ac97
|
Forgot the gitignore.
|
8 months ago |
Zed A. Shaw
|
b4ff44788a
|
Bring in a simple SDL2 demo for completeness. It's running in a main.cpp to test SDL2 in C++.
|
8 months ago |
Zed A. Shaw
|
dfbae6043b
|
Simple README and a first test running on OSX.
|
8 months ago |
Zed A. Shaw
|
8a78fffb5f
|
A simple meson based build of an SFML+ImGUI project.
|
8 months ago |
Zed A. Shaw
|
7cf9010686
|
Initial commit
|
8 months ago |