191 Commits (6f292699f88ea83a5188fd1f8696d73410ad16d6)
 

Author SHA1 Message Date
Aadhavan Srinivasan 97e6da3b2b Updated TODO 10 months ago
Aadhavan Srinivasan 0286878c70 Rudimentary support for inputting game mode through GUI instead of command-line
The only thing that 'works' right now is the skeleton GUI structure. The buttons don't
actually do anything.
10 months ago
Aadhavan Srinivasan e9da48d9a0 Added raygui header file, and dark mode header file 10 months ago
Aadhavan Srinivasan 832dae977a Updated TODO 10 months ago
Aadhavan Srinivasan 613b81c542 Added compiler flag to ignore warnings related to narrowing conversions
I know it's bad practice, but I didn't see any other alternative, as this seemed to be an
issue with raygui.
10 months ago
Aadhavan Srinivasan 28c4b421d2 Made changes to script
I renamed the file to reflect that it is only for MinGW (I plan to create
similar scripts for other operating systems), and added code to zip the release folder,
inside the shell script.
10 months ago
Aadhavan Srinivasan 13ce75067b Updated TODO 10 months ago
Aadhavan Srinivasan 635d71f1c5 Slightly lowered speed, to make the game a little easier to play 10 months ago
Aadhavan Srinivasan 8c4a515046 Updated TODO 10 months ago
Aadhavan Srinivasan f25e7fae38 Updated TODO 10 months ago
Aadhavan Srinivasan f4c3ef9b19 Renamed file 10 months ago
Aadhavan Srinivasan bb4601c5bd Chenged FPS to 60 for release build 10 months ago
Aadhavan Srinivasan 45aa6ba4bc Added version number, added an additional compiler argument for Windows (doesn't work yet) 10 months ago
Aadhavan Srinivasan c3f6ae0ae9 Added .gitignore 10 months ago
Aadhavan Srinivasan 21c864da60 Created script to copy DLLs into application fodler on mingw 10 months ago
Aadhavan Srinivasan a2fed8e4b0 Updated meson.build to include additional DLLs needed on Windows 10 months ago
Aadhavan Srinivasan 1196ebd228 Updated README 10 months ago
Aadhavan Srinivasan 3a9a32d7e3 Updated README 10 months ago
Aadhavan Srinivasan a5202ad85a Add support for building a statically linked version of the game, by specifying a command-line flag 10 months ago
Aadhavan Srinivasan 61a856e88f Added raylib submodule, under subprojects directory 10 months ago
Aadhavan Srinivasan 6170c95666 Delete raylib submodule and move it inside 'subprojects' 10 months ago
Aadhavan Srinivasan d6f597d8c0 Added raylib submodule 10 months ago
Aadhavan Srinivasan 591c3b16a2 Fixed stupid error (using 'meson' instead of 'compiler') 10 months ago
Aadhavan Srinivasan 2ea5bb4fe2 Find raylib even if pkg-config is not found 10 months ago
Aadhavan Srinivasan f961db5e58 Added code to send quit message only if game is not in single player mode 10 months ago
Aadhavan Srinivasan 64aa4b1850 Replaced 'linux' with '__unix__' because the same header files are included on macOS as well. 10 months ago
Aadhavan Srinivasan 0e504060cf Modified README 10 months ago
Aadhavan Srinivasan d69b627bb1 Added README 10 months ago
Aadhavan Srinivasan 91bf5e2ce1 Fixed some commenting issues; Added code to detect if game was quit by peer and, if so, quit the game locally 10 months ago
Aadhavan Srinivasan 50c090cd88 Added a boolean field to the struct, to indicate whether the game should be quit or not 10 months ago
Aadhavan Srinivasan 2c735896df Used unsigned int instead of int when converting to base-10 10 months ago
Aadhavan Srinivasan 24c1dd6391 Removed unnecessary variable, and added a (optional) dependency for the ws2_32 library, which is required on Windows 10 months ago
Aadhavan Srinivasan 8e3488b904 Added a virtual destructor to the Sock class, which would allow Server and Client to override it 10 months ago
Aadhavan Srinivasan c2c095dfa7 Added code to get a non-const char* from a std::string 10 months ago
Aadhavan Srinivasan 047ff602ed Changed 'char*' to 'const char*' because that's what the underlying functions use 10 months ago
Aadhavan Srinivasan 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.
10 months ago
Aadhavan Srinivasan 4b3d5387a1 Changed code to support Windows libraries and functions as well 10 months ago
Aadhavan Srinivasan ddbbc322a6 Deleted Makefile, switched over fully to meson build system 10 months ago
Aadhavan Srinivasan b90d37c73f Added relevant files for cross-compilation to windows 10 months ago
Aadhavan Srinivasan 69e70eb206 Changed the recvAll return type from std::string to char pointer, and created a non-blocking version of the function 10 months ago
Aadhavan Srinivasan 349b0b78db Created method to set position of paddle 10 months ago
Aadhavan Srinivasan a37ec79f09 Changed 'recvAll' return type from std::string to char pointer, and created a non-blocking version of the function 10 months ago
Aadhavan Srinivasan 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.
10 months ago
Aadhavan Srinivasan effeea73b9 Made the serialization code cleaner, and fixed a bug where data was overwritten by the null pointer 10 months ago
Aadhavan Srinivasan 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. 10 months ago
Aadhavan Srinivasan 6d1565a020 Updated TODO; removed finished items 10 months ago
Aadhavan Srinivasan 93d3f2e13f Added serialization C file as a dependency 10 months ago
Aadhavan Srinivasan 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.
10 months ago
Aadhavan Srinivasan ded7c68ae7 Fixed misaligned bracket 10 months ago
Aadhavan Srinivasan edfd70c3cc Created a simple data serialization library, to serialize and deserialize the data to be sent 10 months ago