|  | 195d6c4b4b | Separated 'Sock' file into header and implementation file, and added include guards to header file | 2024-02-14 18:30:09 -05:00 |  | 
			
				
					|  | 4eaca05b68 | Added 'sock.cpp' and removed include directory | 2024-02-14 18:28:55 -05:00 |  | 
			
				
					|  | b7e1066b68 | Changed include path to be more explicit | 2024-02-14 18:27:47 -05:00 |  | 
			
				
					|  | fc041539c5 | Changed Sock to Sock* in GameType struct to allow it to be set to null | 2024-02-14 08:22:25 -05:00 |  | 
			
				
					|  | cb0fe1af6b | Defined a 'GameType' struct that can hold both the mode, and the relevant socket, to enable polymorphism when calling socket methods | 2024-02-14 08:09:34 -05:00 |  | 
			
				
					|  | ee0c106236 | Made 'Client' and 'Server' children of 'Sock' class | 2024-02-14 08:08:58 -05:00 |  | 
			
				
					|  | 2e6b01a9bb | Defined a parent 'socket' class that both 'Client' and 'Server' can inherit from | 2024-02-14 08:08:38 -05:00 |  | 
			
				
					|  | f9bfefe3ad | Included additional header | 2024-02-14 08:07:54 -05:00 |  | 
			
				
					|  | 4378aa3c6a | Added code to deal with improperly formatted codes | 2024-02-11 23:23:00 -05:00 |  | 
			
				
					|  | c8bc17fbce | Added additional functions for windows-specific actions | 2024-02-11 23:22:39 -05:00 |  | 
			
				
					|  | 4c256d8800 | Added call to SockQuit at the end | 2024-02-11 23:22:19 -05:00 |  | 
			
				
					|  | 1f99c0929f | Updated TODO | 2024-02-11 23:22:05 -05:00 |  | 
			
				
					|  | d885b18f58 | Updated TODO file | 2024-02-07 21:57:19 -05:00 |  | 
			
				
					|  | 912435bfa3 | Added new exception for invalid IP, used it if IP address is neither v4 nor v6 | 2024-02-07 21:55:05 -05:00 |  | 
			
				
					|  | 48739f6026 | Created enum to denote if game is in client or server mode, and added error checking, to check if IP address is valid | 2024-02-07 21:48:43 -05:00 |  | 
			
				
					|  | fd1eaac5e2 | Added build flag for debugging | 2024-02-07 21:48:02 -05:00 |  | 
			
				
					|  | dda89963c8 | Added better error checking for IP version | 2024-02-07 21:47:50 -05:00 |  | 
			
				
					|  | 05cc70412c | Added comments to better explain the code, and added code to catch more exceptions | 2024-02-06 09:44:54 -05:00 |  | 
			
				
					|  | 6ba3452087 | Added new exception constant | 2024-02-06 09:44:08 -05:00 |  | 
			
				
					|  | 9a2257780f | Fixed errors in call to 'check_ip_ver' | 2024-02-06 09:43:53 -05:00 |  | 
			
				
					|  | 735599aebf | Fixed errors in call to 'check_ip_ver', and modified error handling | 2024-02-06 09:43:42 -05:00 |  | 
			
				
					|  | ca952e8814 | Modified header file to match change in CPP file | 2024-02-06 09:43:08 -05:00 |  | 
			
				
					|  | eeb1bd89b8 | Modified 'check_ip_ver' function to use const char pointer | 2024-02-06 09:42:51 -05:00 |  | 
			
				
					|  | 1359f22f71 | Added address parameter to constructor, and added additional error handling | 2024-02-06 07:50:18 -05:00 |  | 
			
				
					|  | 7c741de587 | Added code to throw additional exceptions | 2024-02-06 07:49:54 -05:00 |  | 
			
				
					|  | 2ca17a6225 | Moved server / client checking above window initialization | 2024-02-06 07:26:16 -05:00 |  | 
			
				
					|  | fbea42df25 | Change encoded base from hexadecimal to base 32 | 2024-02-06 07:25:52 -05:00 |  | 
			
				
					|  | 74b9ae5fe8 | No real change | 2024-02-06 07:25:33 -05:00 |  | 
			
				
					|  | 6cfdddc204 | Added new exception const | 2024-02-06 07:24:57 -05:00 |  | 
			
				
					|  | cb525c4097 | Added code to help convert between number bases | 2024-02-06 07:24:35 -05:00 |  | 
			
				
					|  | cb958d2749 | Added code to parse command-line flags, to determine whether the game was started in client or server mode, and call relevant functions to encode or decode address / key | 2024-02-04 20:33:45 -05:00 |  | 
			
				
					|  | bad8d4a7cc | Added new exception const | 2024-02-04 20:32:24 -05:00 |  | 
			
				
					|  | 5c09b782b9 | Added helper file for connect code | 2024-02-04 20:32:10 -05:00 |  | 
			
				
					|  | 6945ebb2c1 | Added exception_consts file | 2024-01-31 21:02:40 -05:00 |  | 
			
				
					|  | e6f328ea1d | Added raylib-cpp header files to my project | 2024-01-31 21:01:35 -05:00 |  | 
			
				
					|  | c83b347620 | Changed include paths, added a cmdline argument ('server') to indicate if the game is networkded or not | 2024-01-31 21:01:11 -05:00 |  | 
			
				
					|  | 95dea026d9 | Added default constructors; [for client] added code to throw an exception if socket creation was unsuccessful | 2024-01-31 21:00:40 -05:00 |  | 
			
				
					|  | 2b1c217dbb | Changed include path | 2024-01-31 20:58:47 -05:00 |  | 
			
				
					|  | 8a57f80b8c | Switched over to using Meson as build system, instead of Make | 2024-01-29 22:49:59 -05:00 |  | 
			
				
					|  | c161d80445 | Converted easysock to CPP | 2024-01-29 22:49:17 -05:00 |  | 
			
				
					|  | 7557ce7cf5 | Updated header file includes; Changed base speed; Started working on networking code, to send a character when the paddle is moved or stopped | 2024-01-29 22:48:58 -05:00 |  | 
			
				
					|  | 8ea9764165 | Deleted header file in source directory | 2024-01-29 22:47:53 -05:00 |  | 
			
				
					|  | 24fb96684c | Deleted header files in source directory | 2024-01-29 22:47:28 -05:00 |  | 
			
				
					|  | c87c3ce3a2 | Moved header files to source directory; converted easysock to CPP | 2024-01-29 22:46:55 -05:00 |  | 
			
				
					|  | 1daf8f41ae | Created 'client' and 'server' classes, using easysock | 2024-01-28 23:36:14 -05:00 |  | 
			
				
					|  | fca3d1defc | Updated Makefile | 2024-01-28 23:33:25 -05:00 |  | 
			
				
					|  | 8afb6f43ec | Updated .gitignore | 2024-01-28 23:33:17 -05:00 |  | 
			
				
					|  | 24cf8a9a78 | Added easysock files | 2024-01-28 23:32:59 -05:00 |  | 
			
				
					|  | b5a8fd599d | Added a randomly generated multiplier to the offset, when the ball collides with a paddle | 2024-01-24 12:19:57 -05:00 |  | 
			
				
					|  | 2940c61314 | Added code to wait until user presses SPACE, before starting the game. Also added code to show points | 2024-01-24 12:02:45 -05:00 |  |