Commit Graph

143 Commits

Author SHA1 Message Date
DankParrot aaf6abaf07 Improve Properties system 2020-07-30 17:48:48 -07:00
DankParrot 9bdb675590 vscode: Fix gcc problem matcher path 2020-07-30 17:23:57 -07:00
DankParrot 3ef95bcd33 vscode: Add meson reconfigure task 2020-07-30 17:23:32 -07:00
DankParrot d3d941eb67 Use logging system in more places 2020-07-30 16:43:44 -07:00
DankParrot 09bf4ba110 Further improve logging system
Complain when too many channels
2020-07-30 16:35:18 -07:00
Joshua Ashton c2b100428d Use list instead of vector for clients 2020-07-29 15:34:10 +01:00
DankParrot 5abdafc614 Logging system cleanup 2020-07-28 21:37:22 -07:00
DankParrot 174af32355 Further implement logging system 2020-07-28 21:32:35 -07:00
DankParrot b67d8a11e8 Test of logging system 2020-07-28 18:43:59 -07:00
Joshua Ashton 8423980536 Work on refactoring networking system 2020-07-29 01:46:31 +01:00
DankParrot 31ebec99c5 Mkdir bin so I can stash without git deleting it 2020-07-27 22:28:56 -07:00
Joshua Ashton 118bceb592 Ensure m_offset gets initialized 2020-07-28 05:59:53 +01:00
Joshua Ashton 3a46a59a96 Fix format argument in DispatchQueuedPackets 2020-07-28 05:53:49 +01:00
Joshua Ashton ecf93ddede Fix narrowing error in PrependVarIntSize 2020-07-28 05:53:09 +01:00
Joshua Ashton 6bef4cb4dc Use a generic template read for PacketReader 2020-07-28 05:51:42 +01:00
DankParrot 8dabf013ef Add Protocol, ClientHandle, PacketTypes 2020-07-27 21:45:03 -07:00
DankParrot fb6d99409e Fix PacketReader const pointer 2020-07-27 21:40:47 -07:00
Joshua Ashton 620ee6ade9 Remove superfluous initializations from PacketReader 2020-07-28 05:33:54 +01:00
Joshua Ashton 5401701aca Mark PacketReader functions as inline
If we define this class in multiple objects, this avoids duplicate symbols
2020-07-28 05:32:55 +01:00
Joshua Ashton b23dce8ac9 Use const stuff for PacketReader 2020-07-28 05:29:02 +01:00
DankParrot 051a574aa7 Fix PacketReader segfault 2020-07-27 17:26:46 -07:00
DankParrot 28f64a58e1 Implement PacketReader handling just one buffer 2020-07-27 16:07:18 -07:00
DankParrot a923dd07a2 Add Common.h for general stuff 2020-07-27 16:06:35 -07:00
DankParrot 6e86728d89 Add DynamicNetworkMessage 2020-07-25 20:24:33 -07:00
DankParrot 33896730a8 Remove usage of deleted Buffer.cpp 2020-07-25 17:33:00 -07:00
Joshua Ashton 651da100d3 More work on network messages/buffers 2020-07-25 19:32:13 +01:00
DankParrot a367c72cbb Fix meson trying to "install" libevent 2020-07-24 23:06:25 -07:00
DankParrot 987cc5fc7d Fix missing cstring include 2020-07-24 23:00:05 -07:00
DankParrot 4946a5fa56 Add basic Buffer class 2020-07-24 22:51:59 -07:00
Joshua Ashton f298df5aef Implement MOTD basics
Hacky but, it'll do!
2020-07-25 04:58:04 +01:00
DankParrot 0a5017d023 Stub placeholder for ServerStatus 2020-07-24 20:44:00 -07:00
DankParrot 2b72aa6335 Add .gitignore 2020-07-24 19:07:32 -07:00
Joshua Ashton d2af20daca Pull in and hook up libevent 2020-07-25 03:01:34 +01:00
DankParrot 332e6645ff Add vscode setup and build tasks 2020-07-24 17:21:12 -07:00
DankParrot 21fbde93d7 Add mason install directory 2020-07-24 16:56:25 -07:00
Joshua Ashton 6ee71ed6c1 Initial Meson build system 2020-07-24 10:20:42 +01:00
Joshua Ashton 1082e846d9 Initial dedicated server stub class 2020-07-24 10:20:42 +01:00
Joshua Ashton f67a7b697c Initial socket abstraction 2020-07-24 10:20:42 +01:00
DankParrot 7481419cb0 Replace std::endl with \n 2020-07-24 01:26:04 -07:00
Joshua Ashton 02f3f03981 Fix bad printf in ServerProperties::Load 2020-07-24 09:16:22 +01:00
DankParrot ac693ed4e5 Finalize properties parsing system and load/save 2020-07-23 19:48:15 -07:00
DankParrot 4488d8bcf2 Add basic main() and server.properties reader 2020-07-23 01:52:10 -07:00
DankParrot 842e4a422a Add README.md 2020-07-22 18:13:50 -07:00