Commit graph

3328 commits

Author SHA1 Message Date
Chaosvex
980f3dec54 Remove failing comment 2026-04-06 16:31:03 +01:00
Chaosvex
4bf868ee46 Remove patch file, oops :^) 2026-04-06 16:00:33 +01:00
Chaosvex
96e7f85b82 Patch UB in huff.cpp
https://github.com/ladislav-zezula/StormLib/issues/424
2026-04-06 15:58:44 +01:00
Chaosvex
85058822a0 Remove space accidentally introduced a few days back
Yes, it'd annoy me otherwise.
2026-04-06 05:48:00 +01:00
Chaosvex
342bb47258 Update comment to note Huffman 2026-04-06 05:27:22 +01:00
Chaosvex
7bf29e126e Remove leftover return 2026-04-06 05:10:49 +01:00
Chaosvex
48b61e30f8 Don't prevent copy elision 2026-04-06 00:17:33 +01:00
Chaosvex
21a0c08122 Don't throw Botan exception for encoding errors 2026-04-05 00:42:46 +01:00
Chaosvex
da6f948672 Add boost.assert to vcpkg deps 2026-04-05 00:23:00 +01:00
Chaosvex
b23c42aa3e Link Boost to shared library 2026-04-05 00:19:54 +01:00
Chaosvex
693e5630f0 Update vcpkg baseline 2026-04-04 23:21:17 +01:00
Chaosvex
c9a8a383da Formatting fix 2026-04-04 21:06:32 +01:00
Chaosvex
49168138c8 Fix ancient typo 2026-04-04 20:25:40 +01:00
Chaosvex
4986b01618 Ensure ADPCM channel count is within range 2026-04-04 20:25:06 +01:00
Chaosvex
11a6d017b9 Temporarily disable failing unit test 2026-04-04 18:31:01 +01:00
Chaosvex
31fa9f8f50 Move stream skip to default case to fix missing case warnings 2026-04-04 18:19:23 +01:00
Chaosvex
f8065b46a7 Specify default release build in Dockerfile 2026-04-04 18:17:16 +01:00
Chaosvex
717e7a1aa7 Tidy up mdns includes 2026-04-04 18:10:35 +01:00
Chaosvex
6da4436406 Mark const 2026-04-04 17:52:32 +01:00
Chaosvex
e5b2fc6979
Remove logger references from smartenum (#281) 2026-04-04 16:31:29 +01:00
Chaosvex
1b91d2f645 Remove to_string 2026-04-04 05:26:25 +01:00
Chaosvex
7eb7c829ae Use formatter for opcodes
Can't do the same for states without making it an enum class, which would mean it couldn't be used as a state index unless it was wrapped :(
2026-04-04 05:19:31 +01:00
Chaosvex
beb31c053b Consistent naming 2026-04-04 04:47:41 +01:00
Chaosvex
8cb7cc0b5a Merge conditions 2026-04-04 04:46:44 +01:00
Chaosvex
ee3683abcf
Update client log macros to use newer format style (#280) 2026-04-04 04:34:30 +01:00
Chaosvex
a440c4f5b3 Remove dynamic_casts and clean up event casting
Coroutines would remove the need for these events and actions but alas, not there yet.
2026-04-04 01:05:18 +01:00
Chaosvex
d9dcd9ac4a worldport & setrawpos testing packets 2026-04-03 23:50:36 +01:00
Chaosvex
af9fbe4e92
Tidy up client event handling (#279)
- Events should always be taken by reference
- Remove the unique_ptr overload - ownership semantics over event data should be encoded within the event (e.g. shared_ptr member in an event) rather than by event ownership
2026-04-03 18:55:42 +01:00
Chaosvex
5c7a6aaf81 Small function name consistency tweak
Yeah, very pedantic. Should probably change the event names, too.
2026-04-03 18:22:56 +01:00
Chaosvex
97bbf9b6f2 Don't move const var, just reference it instead 2026-04-03 18:16:13 +01:00
Chaosvex
2852361949 Move log_redirect_stop to enable_packet_log for added safety 2026-04-03 18:14:50 +01:00
Chaosvex
0304aa22b1 handle_top_level_event shouldn't be public 2026-04-03 18:12:06 +01:00
Chaosvex
d246305880 Make the temporary opcode handling a little less verbose 2026-04-03 18:07:18 +01:00
Chaosvex
bd42cdab1a Remove stop flag, use state instead 2026-04-03 17:59:34 +01:00
Chaosvex
b5b27546ab Make start/stop state handling uniform 2026-04-03 17:53:08 +01:00
Chaosvex
b2a26f3aa2 Small log message tweak 2026-04-03 17:42:38 +01:00
Chaosvex
e10637bd59 Move cleanup to 'close' state handler 2026-04-03 17:37:49 +01:00
Chaosvex
2f339f91b3 Explicitly cancel timer on stop
Wasn't a bug - it was fine to leave this to the dtor, this is just making it explicit
2026-04-03 17:33:16 +01:00
Chaosvex
074298d48f Fix try_insert_cache condition 2026-04-03 17:29:25 +01:00
Chaosvex
3ab827de51 Add command to view a client's RPC identity 2026-04-03 17:22:33 +01:00
Chaosvex
0cf02e59d8 Remove realm ID from config (available in realm) 2026-04-03 16:25:34 +01:00
Chaosvex
f6ee2e93ca
Expose pooled io_context (io_contices?) as refs (#278) 2026-04-03 16:21:32 +01:00
Chaosvex
bebcb68270 Remove unused constant 2026-04-03 05:23:21 +01:00
Chaosvex
25186daa64 Rename WorldForwarder state to just World 2026-04-03 05:22:41 +01:00
Chaosvex
0863e601cb Fix typos & inconsistencies 2026-04-03 03:03:25 +01:00
Chaosvex
2f680b7d4e Move footer printing for stylistic consistency 2026-04-03 02:39:05 +01:00
Chaosvex
9dc22fe10a DynamicBuffer comes from ConnectionDefines, remove 2026-04-03 02:34:28 +01:00
Chaosvex
db7ba5b8c4 Remove unused Botan header 2026-04-03 02:32:26 +01:00
Chaosvex
c3b117525f Pass index to client handler rather than an ident 2026-04-03 02:29:02 +01:00
Chaosvex
0b0e378a78 Split client allocator to its own header 2026-04-03 02:24:45 +01:00