aboutsummaryrefslogtreecommitdiff
path: root/src/client/fscord.h
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-08-22 15:23:11 +0200
committerfschildt <florian.schildt@protonmail.com>2025-08-22 15:23:11 +0200
commit2050c0e0576f05156f192aa4caf48834d2f28b14 (patch)
treeee58bd35b0df0a1bacfbc9700ed99ce80c99294e /src/client/fscord.h
first commitHEADmaster
Diffstat (limited to 'src/client/fscord.h')
-rw-r--r--src/client/fscord.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/client/fscord.h b/src/client/fscord.h
new file mode 100644
index 0000000..f911a57
--- /dev/null
+++ b/src/client/fscord.h
@@ -0,0 +1,34 @@
+#ifndef FSCORD_H
+#define FSCORD_H
+
+#include <os/os.h>
+#include <basic/time.h>
+#include <client/chat.h>
+#include <client/sound.h>
+#include <client/font.h>
+#include <client/login.h>
+#include <client/session.h>
+#include <client/server_connection.h>
+
+typedef struct Fscord {
+ Arena perma_arena;
+ Arena frame_arena;
+
+ OSWindow *window;
+ OSOffscreenBuffer *offscreen_buffer;
+ OSSoundPlayer *sound_player;
+ OSSoundBuffer *sound_buffer;
+
+ Font font;
+
+ Sound *sound_user_connected;
+ Sound *sound_user_disconnected;
+ PlaySound ps_user_connected;
+ PlaySound ps_user_disconnected;
+
+ b32 is_logged_in;
+ Login *login;
+ Session *session;
+} Fscord;
+
+#endif // FSCORD_H