Commit graph

24 commits

Author SHA1 Message Date
mdiluzio
b34b933dcd Pull base netcode functions out into net files 2015-01-02 19:51:14 +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
bccd043d2c Fix server functions being used wrongly 2015-01-02 19:05:58 +00:00
mdiluzio
a81b4ff8d0 Handle end game state properly 2015-01-02 19:00:28 +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
4285770d52 Allow multiple client connections on different threads 2015-01-02 16:18:18 +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
8835bfb82a On second thoughts move filesystem game code out to a filesystem cpp 2015-01-02 14:09:29 +00:00
mdiluzio
0962546a82 Move current client code out to server file, still uses old file-system method 2015-01-02 14:04:37 +00:00
mdiluzio
3b5599ffad Remove references to non-existent maths 2015-01-02 14:04:11 +00:00
mdiluzio
ca5526b2b7 Add base files for net code 2015-01-02 13:55:23 +00:00
3f892ec2aa Move maps to /usr/local and allow these settings to get defaults from the cmakelists 2014-12-31 14:08:51 +00:00
mdiluzio
2273c93f11 Update with more install targets.
Installing headers and library to /usr/local/
Requires workaround for version information header generation

Install a man page

Install some basic bash completion for maps

Also update the readme to fit with the manpage and new autocompletion features

Fixes the oddity where generated map files were missing the initial line of the header
2014-12-30 18:37:46 +00:00
mdiluzio
53e882ae12 Allow env variables to set game and map locations
the client will also now look in /usr/local for maps
2014-12-30 18:36:01 +00:00
mdiluzio
f1e4f432e6 Move top level cmakelist up to main directory 2014-12-30 18:32:17 +00:00
Marc Di Luzio
71aab498dc extract format functions out into formatters files 2014-12-30 13:24:21 +00:00
Marc Di Luzio
3342300324 Remove math library and merge gametypes and mathtypes 2014-12-30 13:24:20 +00:00
Marc Di Luzio
d9b9f3d7dd Re-organise source directory and targets
ttrts -> client
game -> ttrts
2014-12-30 13:24:19 +00:00