Aadhavan Srinivasan
52f8034f4e
Rudimentary support for IPv6 in server socket creation
...
I haven't completely implemented it yet, but I did come up with a basic algorithm
to convert the IPv6 address into a 'code' form. I still have to write the code to
actually create the socket, though.
10 months ago
Aadhavan Srinivasan
8758060bfb
Updated TODO
10 months ago
Aadhavan Srinivasan
10f91fafd4
Updated README
10 months ago
Aadhavan Srinivasan
e9405b69e7
Updated README
10 months ago
Aadhavan Srinivasan
9a12edcdb1
Started working on better error handling, by throwing exceptions and displaying error messages in the GUI
10 months ago
Aadhavan Srinivasan
83a0d5beb4
Updated files to reflect change in easysock (from CPP to C)
10 months ago
Aadhavan Srinivasan
eeae444b1d
Moved display_text_centered() into a separate file, since I could possibly extend this file with other raygui helper functions
10 months ago
Aadhavan Srinivasan
f9d5e8cdeb
Converted easysock from CPP to C, because it was mostly just C code anyways
10 months ago
Aadhavan Srinivasan
9972e146d5
Updated TODO
10 months ago
Aadhavan Srinivasan
8848f0ff8c
Removed debug print statements, cleared background before drawing to screen, and added client GUI implementation
...
I removed a print statement that printed out every position of the ball, because it was no longer necessary.
I also added code to clear the background before drawing to the screen at the start of the game, to remove
any lingering un-erased objects. Finally, and most substantially, I finished the initial implementation of
the client-side GUI. The client should now be able to specify a connect code through the GUI, and connect
to the appropriate server.
10 months ago
Aadhavan Srinivasan
07ac3f9166
Filled out implementation of check_client function
10 months ago
Aadhavan Srinivasan
9e0990156e
Removed unnecessary print message, and added timer.c to source files
10 months ago
Aadhavan Srinivasan
1423cc19a0
Split timer into header and implementation file
10 months ago
Aadhavan Srinivasan
352d3f26f1
Moved struct definition to separate file, and added check for displaying GUI
...
I moved the GameType struct (and the Mode enum) to a separate file, as I will need
to use it in the check_server and check_client functions as well. I also added the
signum function (which was previously in sign.hpp) to this file, since it was the only
function in sign.hpp. Finally, I added a check, that will only display the GUI, if the
user didn't provide any command-line arguments.
10 months ago
Aadhavan Srinivasan
788b334e7c
Removed sign file, since it only contained one function. This function has been moved to main.cpp
10 months ago
Aadhavan Srinivasan
9de9353936
Added include guards to timer header file
10 months ago
Aadhavan Srinivasan
a3392308c4
Updated TODO
10 months ago
Aadhavan Srinivasan
0e9088beb6
Added comments, and added a way to use the bundled raylib, even if we are building a dynamically linked version
10 months ago
Aadhavan Srinivasan
7812611fe6
Created an implementation and header file to check the user input, if it is entered through the GUI
10 months ago
Aadhavan Srinivasan
bc0d644399
Replaced compound literal initialization of 'Rectangle' and 'Vector2' types (which is only valid in C), with braced-initialization (valid in C++)
10 months ago
Aadhavan Srinivasan
d05ba0daa1
Updated TODO
10 months ago
Aadhavan Srinivasan
c8f29d1336
Updated TODO
10 months ago
Aadhavan Srinivasan
0d1dc049b5
Worked on further implementation of game mode selection.
...
I added code to display a help text after the user selects a mode. Currently,
this text is only displayed in single player mode. Additionally, I added a rudimentary
'form' to input IP address and port, if the user selects server mode.
10 months ago
Aadhavan Srinivasan
f4bbb6ef6a
Added a rudimentary timer implementation
10 months ago
Aadhavan Srinivasan
1f470e23ee
Updated TODO
10 months ago
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