Commit Graph

6 Commits

Author SHA1 Message Date
Lily Tsuru ee6446a624 oops 2024-03-10 06:52:14 -04:00
Lily Tsuru 315a3927f3 Use seperate spdlog loggers for components
Later on base/ might have a function to create loggers for it, but for now using the global logger for base/ components is fine.
2024-03-10 06:51:20 -04:00
Lily Tsuru 919490a8c0 *: port to spdlog
Later commits will work on creating loggers for each component.
2024-03-10 06:34:42 -04:00
Lily Tsuru 3a6f7e7d7d Fix message parsing
My bad lol
2024-03-10 06:17:43 -04:00
Lily Tsuru 37f21d8167 *: Giant rework
We now have DirtySockClient and DirtySockServer classes which do the actual protocol server work. The server also allow setting the message fourccs that can be accepted, which in theory we can implement derived classes which set that up.. For now we don't do that and run one dummy lobby server

The message factory now handles parsing, and messages now contain the header (mostly for niceity, but in theory we can now bound stuff or smth idk..)

I moved the IMessage code to the root, and I may even move the MessageFactory class to another file if I can.
2024-03-10 05:55:40 -04:00
Lily Tsuru 4851371f56 Initial commit of rewrite based on base/ library
Should make the code actually possible to finish :v
2024-02-05 06:24:57 -05:00