Commit Graph

299 Commits

Author SHA1 Message Date
Lion Kortlepel
eb78630547 add debug messages 2024-03-27 17:08:47 +01:00
Lion Kortlepel
afaa3501a3 only look for game if not dev mode 2024-03-27 17:04:01 +01:00
Lion Kortlepel
2d5f95cf4d fix result unused attribute 2024-03-27 16:31:11 +01:00
Lion Kortlepel
d11262f38d implement an outbox to ensure only one write() at a time 2024-03-11 21:49:49 +01:00
Lion Kortlepel
e836ad5133 implement server network -> client network communication 2024-03-10 15:25:48 +01:00
Lion Kortlepel
72a5e7c5b1 add udp read 2024-03-10 14:53:30 +01:00
Lion Kortlepel
5d56d529bc make server network async, implement connecting 2024-03-10 14:40:54 +01:00
Lion Kortlepel
4e304f798e fix not reading continuously and other async bugs 2024-03-10 13:52:13 +01:00
Lion Kortlepel
29b4fa9b81 dos2unix, cache http connections for reuse 2024-03-10 12:21:53 +01:00
Lion Kortlepel
60b6d6f9ac allow gzip compressed server list 2024-03-10 12:14:47 +01:00
Lion Kortlepel
120a51e2c7 add send debug message 2024-03-09 23:38:32 +01:00
Lion Kortlepel
c6e07cd26b switch to make ClientNetwork async 2024-03-09 23:22:34 +01:00
Lion Kortlepel
b9be3990c7 fix missing closing parens on "connected to..." log 2024-03-09 21:51:32 +01:00
Lion Kortlepel
fb39318d9d fix not switching to browsing when autologin
due to duplicated code :^)
2024-03-09 21:50:35 +01:00
Lion Kortlepel
061258fb34 make unused-result not an error due to ubuntu's gcc :^) 2024-03-09 21:35:15 +01:00
Lion Kortlepel
15691ad915 fix UB when reading key file 2024-03-09 21:34:44 +01:00
snepsnepsnep
ebdb94f362 fix server list endpoint url 2024-03-08 19:58:06 +01:00
Lion
c0a807194c rename pk_json to private_key_json 2024-03-03 23:23:08 +01:00
Lion Kortlepel
ba82b8990e break on error in client connection 2024-03-03 22:39:29 +01:00
Lion Kortlepel
387bce5033 implement more plumbing between client and server network 2024-03-03 22:24:35 +01:00
Lion Kortlepel
342b3c3075 add an ugly launcher reference
idk how else to do it.
2024-03-03 13:50:04 +01:00
Lion Kortlepel
c74967e513 add auto login 2024-03-03 13:44:52 +01:00
Lion Kortlepel
6c67d07ce3 finish login state 2024-03-03 13:08:00 +01:00
Lion Kortlepel
920f682284 streamline login 2024-03-03 12:58:07 +01:00
Lion Kortlepel
fe9b2ad0f4 add Result, move game socket to class 2024-03-03 12:42:07 +01:00
Lion Kortlepel
e4eb9a6e38 fixup identity 2024-03-03 12:31:50 +01:00
Lion Kortlepel
874f381d43 rework identity to be more modular and less shit 2024-03-03 12:26:33 +01:00
Lion Kortlepel
d141bf346c start work on login 2024-03-03 10:56:13 +01:00
Lion Kortlepel
b5f0d9dfdb add game info 2024-03-02 17:58:58 +01:00
Lion Kortlepel
c5a6fc711f add client network 2024-03-02 17:10:21 +01:00
Lion Kortlepel
23cf2483e7 update protocol to add files 2024-03-02 17:08:45 +01:00
Lion Kortlepel
c918d8fcd8 update protocol again to fix compiler issue 2024-03-02 16:59:30 +01:00
Lion Kortlepel
050261b8a4 update protocol 2024-03-02 16:58:21 +01:00
Lion Kortlepel
cd1b2e574f remove main from common sources so the tests build 2024-01-26 13:07:19 +01:00
Lion Kortlepel
ece4a42103 windows compat 2024-01-26 12:59:35 +01:00
Lion Kortlepel
6a7bf72df5 add playing state 2024-01-26 12:25:40 +01:00
Lion Kortlepel
4dad60bc52 implement state change to playing 2024-01-25 12:12:21 +01:00
Lion Kortlepel
0eec0fd4e5 add platform define for tests 2024-01-25 10:14:36 +01:00
Lion Kortlepel
1070584ad3 include charconv for from_chars 2024-01-25 09:55:32 +01:00
Lion Kortlepel
265d87b788 update scripts to include pkgconfig 2024-01-25 09:47:23 +01:00
Lion Kortlepel
1ad3736711 comment out arm 2024-01-25 09:42:01 +01:00
Lion Kortlepel
2d0cbc4500 add ci/cd from server 2024-01-25 09:41:07 +01:00
Lion Kortlepel
0d70012009 add map info code 2024-01-25 09:22:20 +01:00
Lion Kortlepel
c17cb84eb4 add vcpkg 2024-01-25 09:11:52 +01:00
Lion Kortlepel
e2a2b48e73 update protocol 2024-01-25 08:53:46 +01:00
Lion Kortlepel
a3a946cee6 remove executable bit from files
wtf?
2024-01-25 08:52:57 +01:00
Lion Kortlepel
03dc3e3505 implement states until session setup
mod download to be implemented fully
2024-01-21 22:54:15 +01:00
Lion Kortlepel
8eb8a80d54 remove doxygen stuff 2024-01-19 18:04:15 +01:00
Lion Kortlepel
a4a1e4eca0 remove workflows 2024-01-19 17:46:22 +01:00
Lion Kortlepel
12ba13d9b4 move new protocol code into main repo 2024-01-19 17:45:00 +01:00