Commit Graph

20 Commits

Author SHA1 Message Date
f702065a7c a lot of pointless changes but also a basic tick system 2024-11-14 09:12:23 -06:00
b03e194a34 split each request/response type into its own file 2024-10-29 13:14:08 -05:00
307323e561 simulation thread created and socket response handler actually uses the mutex now 2024-10-27 23:41:10 -05:00
bb71248414 attempt to start multithreading by creating the socket thread 2024-10-27 22:56:53 -05:00
a87b6c1152 client send request and server handles and response to it 2024-10-23 14:35:07 -05:00
c32af03d20 response serialisation/deserialisation 2024-10-22 20:25:27 -05:00
3470d4bebc starting work on request/response handling 2024-10-17 21:26:25 -05:00
c31078ebd5 refactor a lot of the code because it was getting messy 2024-10-13 15:04:35 -05:00
aab6b41d18 more efficient entity array serialisation 2024-10-11 00:08:47 -05:00
578f4446b4 (de)serialise entities too but it does even the uninitialised ones too due to the array thing 2024-10-10 23:46:14 -05:00
9ec7f392c7 entity registr{ant,y} (de)serialisation 2024-10-10 23:07:43 -05:00
3efa5479f2 (de)serialisation in server/client goes world_t -> const char *, rather than world_t -> json_t -> const char * 2024-10-10 17:31:07 -05:00
8d5fc464cb serialise and deserialise very basic json data, and send it between server and client 2024-10-10 00:58:13 -05:00
f1b30b697e comply with -std=c17 2024-10-08 18:40:20 -05:00
5814e512ba forgot to save a file earlier when doing spacing changes oof 2024-10-05 04:05:02 -05:00
f2478951a2 open a socket on server/client that just echos; also fixed a critical bug in the daemon(++ -> -- lol) so now it actually daemonises 2024-10-05 03:58:16 -05:00
2db264c027 mainly just make spacing look nicer lol 2024-10-05 01:35:07 -05:00
174ed1ed30 we do a lil daemonisation >:-) 2024-10-04 00:05:43 -05:00
391db5c444 common/src/*.h -> common/include/ 2024-10-02 19:42:30 -05:00
8b04672d34 prepare for daemonisation by splitting into a client/server/common design 2024-10-02 15:43:44 -05:00