Commit Graph

  • 8b61f7b86b Create an extras directory with files that are not related to the build but that I need to keep around for reference. master Zed A. Shaw 2024-05-11 06:16:15 -0400
  • ccf37e758c Merge branch 'master' of git.learnjsthehardway.com:learn-code-the-hard-way/simple-cpp-game-study Zed A. Shaw 2024-05-10 17:23:20 -0400
  • b8fcb1b95e Finally just giving up on this and moving on to work on the idea. Zed A. Shaw 2024-05-10 17:22:06 -0400
  • 75e2c690a0 Make sure all the setup scripts are unified. Zed A. Shaw 2024-05-10 11:52:30 -0400
  • aa12effae3 This build was failing with errors in libgit2-1.8.0/utils/src/utils/process.h and now it's working. These are the only changes I made and you can see they're very minimal with no reason why they'd start suddenly working. Zed A. Shaw 2024-05-10 08:03:59 -0400
  • 96b1297c62 Working prototype of an auto builder that watches for changes and runs the build after getting the git status. It's missing the necessary next step of matching up changes to git files, but it does the most of the build already. Zed A. Shaw 2024-05-07 14:25:15 -0400
  • 39f89ecbf2 Add the same script for linux/osx. Zed A. Shaw 2024-05-05 04:18:51 -0400
  • 4c3a4b2501 A bit more working on goc to support windows. Zed A. Shaw 2024-05-05 04:09:43 -0400
  • a3209606ef Add the stupid setup and reset scripts for windows. Zed A. Shaw 2024-05-05 04:09:09 -0400
  • 67cbd430bf Exploring optional return values. Zed A. Shaw 2024-05-04 21:06:10 -0400
  • 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 Zed A. Shaw 2024-05-04 12:11:55 -0400
  • 7bec6fe40e Don't need stats.py anymore. Zed A. Shaw 2024-05-04 10:28:59 -0400
  • d8f98afa55 Maybe the date.h will come up later. Zed A. Shaw 2024-05-04 10:28:00 -0400
  • 686ae0b6d2 Use a trick to make the makefile work from anywhere. Zed A. Shaw 2024-05-04 10:27:41 -0400
  • 75663bfa46 After a bit of struggle figured out how to do time. So dumb that somethign so simple is so hard. Zed A. Shaw 2024-05-04 10:24:15 -0400
  • 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. Zed A. Shaw 2024-05-04 00:08:47 -0400
  • 6a777e4c2d Wrong name for the header files. Zed A. Shaw 2024-05-02 01:44:57 -0400
  • 0edb58d46f Fix a typo. Zed A. Shaw 2024-05-01 21:33:50 -0400
  • a03da909f1 Add notes about PPP3 for people to read and follow. Zed A. Shaw 2024-05-01 21:25:37 -0400
  • 7a1093f982 Study results from Stroustrup's PPP3 book. Zed A. Shaw 2024-05-01 20:26:41 -0400
  • 6363457d0f Add a little click sound to test out sounds. Zed A. Shaw 2024-04-28 19:43:59 -0400
  • 8f3840b602 Add a fun little meh face guy for a sprite. Zed A. Shaw 2024-04-27 21:36:38 -0400
  • 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. Zed A. Shaw 2024-04-27 21:08:36 -0400
  • 6735355e28 Need some extra stuff to make it work in mingw on Windows. Zed A. Shaw 2024-04-27 00:39:01 -0400
  • ae93ac52b8 Apply some torque to it so it spins. Zed A. Shaw 2024-04-27 00:07:14 -0400
  • 084a9c59a6 Make the arrow keys work too. Zed A. Shaw 2024-04-27 00:04:50 -0400
  • 38c0fee65c Now box 2d lets you move the box around with right and left mouse buttons. Zed A. Shaw 2024-04-27 00:03:48 -0400
  • 285cd4971f And now clicking with a mouse jumps the square to that spot. Zed A. Shaw 2024-04-26 21:50:37 -0400
  • 37199bdd19 Now you can move the square around with the keyboard. Zed A. Shaw 2024-04-26 21:40:48 -0400
  • 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. Zed A. Shaw 2024-04-26 21:15:53 -0400
  • c3d16f7930 Now I have a spinning square in the center and a clock. Kind of a weird spin but it work. We got motion. Zed A. Shaw 2024-04-26 21:12:12 -0400
  • 29a9949498 Testing out the threads with C++11 lambdas. Zed A. Shaw 2024-04-26 20:30:07 -0400
  • d2dfb72775 Super jank clock in ImGUI to learn the SFML time keeping functions. Zed A. Shaw 2024-04-26 19:43:43 -0400
  • e7efc197a1 Quick hack to watch my source and rebuild. Zed A. Shaw 2024-04-26 19:14:28 -0400
  • f44a08f099 Update the README. Zed A. Shaw 2024-04-26 17:25:05 -0400
  • c2541c1384 And now we have OSX and Windows builds working. Zed A. Shaw 2024-04-26 09:21:16 -0400
  • 21c260ec32 Looks like the only way to solve this is to do it on the command line for windows. Zed A. Shaw 2024-04-26 09:10:52 -0400
  • 1f9ffe8993 Nothing seems to work. This is OSX, let's try some other options on Windows. Zed A. Shaw 2024-04-26 08:59:22 -0400
  • 325dbf808b Nothing actually works as advertised in Meson. Zed A. Shaw 2024-04-26 08:35:34 -0400
  • c0bd860254 Attempting to detect windows to add the option you need. Zed A. Shaw 2024-04-25 20:47:53 -0400
  • 98264d30f4 Needed to add the default_library=static option for Windows, but I believe that fails on OSX. Zed A. Shaw 2024-04-25 03:45:13 -0400
  • 53bc5c93ed Try out fmt which is a very nice printing/formatting library. Zed A. Shaw 2024-04-25 01:41:35 -0400
  • 8425872f5e Update about the SDL2 demo. Zed A. Shaw 2024-04-24 16:54:20 -0400
  • 23def1ac97 Forgot the gitignore. Zed A. Shaw 2024-04-24 06:51:55 -0400
  • b4ff44788a Bring in a simple SDL2 demo for completeness. It's running in a main.cpp to test SDL2 in C++. Zed A. Shaw 2024-04-24 06:51:37 -0400
  • dfbae6043b Simple README and a first test running on OSX. Zed A. Shaw 2024-04-23 09:14:08 -0400
  • 8a78fffb5f A simple meson based build of an SFML+ImGUI project. Zed A. Shaw 2024-04-23 07:50:26 -0400
  • 7cf9010686 Initial commit Zed A. Shaw 2024-04-23 13:43:11 +0200