mdiluzio
|
3ed25cd37f
|
Fix up all logging output
Remove debug logging
Use cerr or clog in the correct places
refactor a few more functions
|
2015-01-04 11:59:58 +00:00 |
|
mdiluzio
|
5c8666d4fb
|
More refactoring by pulling code out of client and server files
|
2015-01-04 11:10:08 +00:00 |
|
mdiluzio
|
4055d85d99
|
Use new fatal_error and fatal_perror functions for errors
|
2015-01-03 22:30:52 +00:00 |
|
mdiluzio
|
1785ce2fc0
|
Add game name to handshake and formalise handshake format
|
2015-01-03 20:04:31 +00:00 |
|
mdiluzio
|
61c012370d
|
Fix filesystem game method
|
2015-01-03 19:31:42 +00:00 |
|
mdiluzio
|
b532f1c9c8
|
Make client output and read in game state and order files
|
2015-01-03 19:27:08 +00:00 |
|
mdiluzio
|
18cfcff264
|
Improve both client and server code to account for END of messages, allowing for incomplete packets with TCP
|
2015-01-03 18:55:44 +00:00 |
|
mdiluzio
|
b43927a1da
|
add user input for starting the game
|
2015-01-02 19:46:09 +00:00 |
|
mdiluzio
|
770502184c
|
Make client and server perform a handshake to agree on player IDs
|
2015-01-02 19:31:14 +00:00 |
|
mdiluzio
|
e01a718ac6
|
Fix bug where we passed client info to the thread by ref, like an ape
|
2015-01-02 18:57:47 +00:00 |
|
mdiluzio
|
56e767bb5b
|
Clients now connect and recieve gamestate information
|
2015-01-02 17:14:16 +00:00 |
|
mdiluzio
|
dcb9d68fb4
|
Revert back to cleaner copy of server code
|
2015-01-02 16:09:24 +00:00 |
|
mdiluzio
|
83b9990bcc
|
some more cleanup and using TTRTS_PORT
|
2015-01-02 15:25:30 +00:00 |
|
mdiluzio
|
b4240cf1c8
|
pull in very simple client/server demo code
inspired by http://www.linuxhowtos.org/C_C++/socket.htm
|
2015-01-02 15:13:05 +00:00 |
|
mdiluzio
|
0619031cb6
|
Use argc and argv passed down
|
2015-01-02 15:07:35 +00:00 |
|
mdiluzio
|
2281bcb6cd
|
More refactoring of functionality into seperate files, with stubs for server and client
|
2015-01-02 15:03:29 +00:00 |
|
mdiluzio
|
ca5526b2b7
|
Add base files for net code
|
2015-01-02 13:55:23 +00:00 |
|