From 1ab22651aec9f7659814dcb987c8d463f37d811f Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Wed, 20 Mar 2024 00:02:52 -0400 Subject: [PATCH] Updated TODO --- todo.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/todo.txt b/todo.txt index 59bf6aa..462d5f2 100644 --- a/todo.txt +++ b/todo.txt @@ -1,10 +1,10 @@ -1. Sign Windows executable, to remove 'Unknown Publisher' warnings. -2. Add 'install' target to Meson, to allow the user to install the game. This should also copy the .so files to the right locations. -3. Use free() to free allocated memory. -4. Use the struct to establish a connection, and to start each round (instead of sending strings). -5. Figure out how to build statically-linked Mac binary, and create a build script for packaging it. -6. Communicate the paddle reset position to the peer, after a round. -7. Clean up / refactor the raygui code in main.cpp, that asks user for game mode. Instead of just having a giant blob of code in main.cpp, maybe split it into a function, or move it to another file. It should be easy to split it into a different function, since none of the functions take any specific parameters. The text box function, for example, only takes in the rectangle coordinates, and the text to display. I can move the code to a function, and then pass in any parameters that I need to pass in (I don't think I need to pass many parameters, though). -8. Allow the user to specify which paddle they want to control, in multi-player mode. -9. Try to make the ball go between screens. -10. Change the networking code, so that a single server can connect two clients with each other. The server should provide player 1 with a code, and player 2 can connect with player 1 using that code (essentially like a room). +1. Add 'install' target to Meson, to allow the user to install the game. This should also copy the .so files to the right locations. +2. Use free() to free allocated memory. +3. Use the struct to establish a connection, and to start each round (instead of sending strings). +4. Figure out how to build statically-linked Mac binary, and create a build script for packaging it. +5. Communicate the paddle reset position to the peer, after a round. +6. Clean up / refactor the raygui code in main.cpp, that asks user for game mode. Instead of just having a giant blob of code in main.cpp, maybe split it into a function, or move it to another file. It should be easy to split it into a different function, since none of the functions take any specific parameters. The text box function, for example, only takes in the rectangle coordinates, and the text to display. I can move the code to a function, and then pass in any parameters that I need to pass in (I don't think I need to pass many parameters, though). +7. Allow the user to specify which paddle they want to control, in multi-player mode. +8. Try to make the ball go between screens. +9. Change the networking code, so that a single server can connect two clients with each other. The server should provide player 1 with a code, and player 2 can connect with player 1 using that code (essentially like a room). +10. [This can't really be fixed, since I'd need to purchase a developer certificate] Sign Windows executable, to remove 'Unknown Publisher' warnings.