f4c3ef9b19 
					 
					
						
						
							
							Renamed file  
						
						 
						
						
						
						
							
  v0.1
 
						
					 
					
						2024-03-06 15:59:46 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bb4601c5bd 
					 
					
						
						
							
							Chenged FPS to 60 for release build  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-06 15:59:12 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						45aa6ba4bc 
					 
					
						
						
							
							Added version number, added an additional compiler argument for Windows (doesn't work yet)  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-06 15:58:47 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c3f6ae0ae9 
					 
					
						
						
							
							Added .gitignore  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-06 13:09:06 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						21c864da60 
					 
					
						
						
							
							Created script to copy DLLs into application fodler on mingw  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-06 13:06:29 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a2fed8e4b0 
					 
					
						
						
							
							Updated meson.build to include additional DLLs needed on Windows  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-06 12:47:58 -06:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1196ebd228 
					 
					
						
						
							
							Updated README  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-05 22:42:28 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3a9a32d7e3 
					 
					
						
						
							
							Updated README  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-05 22:29:09 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a5202ad85a 
					 
					
						
						
							
							Add support for building a statically linked version of the game, by specifying a command-line flag  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-05 22:26:40 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						61a856e88f 
					 
					
						
						
							
							Added raylib submodule, under subprojects directory  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-05 21:03:08 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6170c95666 
					 
					
						
						
							
							Delete raylib submodule and move it inside 'subprojects'  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-05 20:58:41 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d6f597d8c0 
					 
					
						
						
							
							Added raylib submodule  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-05 20:47:18 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						591c3b16a2 
					 
					
						
						
							
							Fixed stupid error (using 'meson' instead of 'compiler')  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-05 16:39:10 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2ea5bb4fe2 
					 
					
						
						
							
							Find raylib even if pkg-config is not found  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-05 16:36:43 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f961db5e58 
					 
					
						
						
							
							Added code to send quit message only if game is not in single player mode  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-05 07:57:20 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						64aa4b1850 
					 
					
						
						
							
							Replaced 'linux' with '__unix__' because the same header files are included on macOS as well.  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-05 07:50:32 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0e504060cf 
					 
					
						
						
							
							Modified README  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-04 23:51:48 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d69b627bb1 
					 
					
						
						
							
							Added README  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-04 23:50:16 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						91bf5e2ce1 
					 
					
						
						
							
							Fixed some commenting issues; Added code to detect if game was quit by peer and, if so, quit the game locally  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-01 22:35:31 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						50c090cd88 
					 
					
						
						
							
							Added a boolean field to the struct, to indicate whether the game should be quit or not  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-01 22:34:33 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2c735896df 
					 
					
						
						
							
							Used unsigned int instead of int when converting to base-10  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-01 11:31:18 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						24c1dd6391 
					 
					
						
						
							
							Removed unnecessary variable, and added a (optional) dependency for the ws2_32 library, which is required on Windows  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-01 11:31:18 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8e3488b904 
					 
					
						
						
							
							Added a virtual destructor to the Sock class, which would allow Server and Client to override it  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-01 11:31:15 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c2c095dfa7 
					 
					
						
						
							
							Added code to get a non-const char* from a std::string  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-01 11:31:08 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						047ff602ed 
					 
					
						
						
							
							Changed 'char*' to 'const char*' because that's what the underlying functions use  
						
						 
						
						
						
						
							
						
					 
					
						2024-03-01 11:31:01 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ff8dc1f1f7 
					 
					
						
						
							
							Removed files related to cross-compilation.  
						
						 
						
						... 
						
						
						
						I had a ton of issues related to cross-compilation (libraries not found, clashing function
names with raylib, improper linking), and I realized that it's too much work to cross-compile,
_and_ I'm using a build system. Instead, I'm probably just going to use my Windows VM to compile for Windows.
I still haven't decided what to do for Mac, though. 
						
						
							
						
					 
					
						2024-02-29 16:40:49 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4b3d5387a1 
					 
					
						
						
							
							Changed code to support Windows libraries and functions as well  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-29 16:38:36 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ddbbc322a6 
					 
					
						
						
							
							Deleted Makefile, switched over fully to meson build system  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-29 16:38:01 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b90d37c73f 
					 
					
						
						
							
							Added relevant files for cross-compilation to windows  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-29 16:37:26 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						69e70eb206 
					 
					
						
						
							
							Changed the recvAll return type from std::string to char pointer, and created a non-blocking version of the function  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-28 00:05:53 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						349b0b78db 
					 
					
						
						
							
							Created method to set position of paddle  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-28 00:05:05 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a37ec79f09 
					 
					
						
						
							
							Changed 'recvAll' return type from std::string to char pointer, and created a non-blocking version of the function  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-28 00:04:43 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ba667d020d 
					 
					
						
						
							
							Game is mostly finished, added a ton of code for reading and applying peer position.  
						
						 
						
						... 
						
						
						
						The most important addition is that the program now parses data in the
Serial_Data struct, and updates the positions accordingly. I also removed
the old implementation with strings, and fixed a bunch of bugs along the way. 
						
						
							
						
					 
					
						2024-02-28 00:00:53 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						effeea73b9 
					 
					
						
						
							
							Made the serialization code cleaner, and fixed a bug where data was overwritten by the null pointer  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-28 00:00:28 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c6bbe82d25 
					 
					
						
						
							
							Made the 'recvAll' function return a char pointer instead of a std::string, this is better for portability. Also created a non-blocking version of the function.  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-27 23:59:53 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6d1565a020 
					 
					
						
						
							
							Updated TODO; removed finished items  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-27 23:59:06 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						93d3f2e13f 
					 
					
						
						
							
							Added serialization C file as a dependency  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-26 21:40:55 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6eb02ab2ee 
					 
					
						
						
							
							Started working on implementing serialization code into the main game loop.  
						
						 
						
						... 
						
						
						
						Currently, I'm trying to serialize data and send it to the peer socket, and deserialize it at the receiving end. 
						
						
							
						
					 
					
						2024-02-26 21:39:23 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ded7c68ae7 
					 
					
						
						
							
							Fixed misaligned bracket  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-26 21:38:54 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						edfd70c3cc 
					 
					
						
						
							
							Created a simple data serialization library, to serialize and deserialize the data to be sent  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-26 21:38:01 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						87b436aede 
					 
					
						
						
							
							Updated TODO  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-26 21:36:50 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6ad56fb9ef 
					 
					
						
						
							
							Started working on client-server communication; so far, I can send the position of client to server, and vice-versa  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-23 11:16:21 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6155cb0463 
					 
					
						
						
							
							Wrote code to null-terminate the string sent in sendAll, and the string received in recvAll  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-23 11:15:45 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						89e1e8d45e 
					 
					
						
						
							
							Worked on further implementation of the network side of things.  
						
						 
						
						... 
						
						
						
						Specifically, I added code to send a message from the client, after the client is launched. This message is used to try to connect to the server. Once the server receives this message, it responds back. After the client receives this response, the connection has been established, and the game can begin.
I also added code to wait (on the client side) for the server to press the spacebar. 
						
						
							
						
					 
					
						2024-02-21 22:29:03 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b47b0eab28 
					 
					
						
						
							
							Added new exception constants  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-21 22:28:29 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0c726be147 
					 
					
						
						
							
							Updated header file to reflect recent change in implementation file  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-21 22:28:09 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7e362f0ed9 
					 
					
						
						
							
							Moved the private functions out of the anonymous namespace, because I need to use them in other places  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-21 22:27:49 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f3ad4fbf99 
					 
					
						
						
							
							Defined constants for TCP and UDP, instead of using the characters themselves  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-21 22:27:23 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f0e30f28e9 
					 
					
						
						
							
							Updated header files to reflect recent change in implementation files  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-21 22:26:59 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4fce513211 
					 
					
						
						
							
							Updated TODO  
						
						 
						
						
						
						
							
						
					 
					
						2024-02-21 22:26:33 -05:00