Commit Graph

30 Commits

Author SHA1 Message Date
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
bfbba84b5c i forgor that common lib is technically a system lib so it should be in <> and not "" 2024-10-17 15:14:16 -05:00
4655a9d9b9 move files around; refactor the scripts; make a design doc 2024-10-14 16:06:58 -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
f64646b40b do all the world initialisation stuff i previously did plus some temporary serverside rendering so i know it works 2024-10-06 01:11:49 -05:00
0c80ea5f10 refactor server sockets so they're a bit cleaner 2024-10-06 00:33:01 -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
9d255f7948 add a default set of initialisation options for cli flags 2024-10-05 02:07:11 -05:00
867bbb1c37 clean up server/main by moving cli option handling to separate files 2024-10-05 01:56:59 -05:00
2db264c027 mainly just make spacing look nicer lol 2024-10-05 01:35:07 -05:00
96ce1aa0fe just making things look a bit nicer 2024-10-04 00:15:23 -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
d9a5962c32 base TODO list 2024-09-29 23:20:34 -05:00
51a7412af3 more standard const qualifiers 2024-09-29 02:33:16 -05:00
764a5a09fc move NULL entity registration to world initialisation 2024-09-29 01:28:14 -05:00
eea39b6dca move rendering to separate file 2024-09-28 20:57:16 -05:00
2562d675f7 null entities placed out of bounds 2024-09-28 20:40:55 -05:00
78cd50a7f4 register entity types and place them in world 2024-09-28 18:13:42 -05:00
d9967ceeae add license 2024-09-28 02:07:24 -05:00
3a0691aa3b initial setup 2024-09-28 01:34:31 -05:00