aboutsummaryrefslogtreecommitdiff
path: root/src/reader.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-07-01 07:21:10 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-07-01 07:21:10 -0300
commit6243967f1fac3af8ed3e72790cabed0f79978bdb (patch)
tree35f0d27b4c280622c368a9fa94815b8deb7a990f /src/reader.cc
parent6c8aa85b8b578db03a8c5f0dc0b7e80605592d45 (diff)
downloadgame-6243967f1fac3af8ed3e72790cabed0f79978bdb.tar.gz
game-6243967f1fac3af8ed3e72790cabed0f79978bdb.zip
fix `operator=` for `TChannel`, `TParty`, and `THouse`
I had focused on copying the `vector` fields for theses structs but, being the copy operator, you need to copy everything over.
Diffstat (limited to 'src/reader.cc')
-rw-r--r--src/reader.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/reader.cc b/src/reader.cc
new file mode 100644
index 0000000..f2da968
--- /dev/null
+++ b/src/reader.cc
@@ -0,0 +1,6 @@
+#include "reader.hh"
+#include "threads.hh"
+
+static Semaphore OrderBufferEmpty(200);
+static Semaphore OrderBufferFull(0);
+static TDynamicWriteBuffer HelpBuffer(KB(64));