diff options
author | fschildt <florian.schildt@protonmail.com> | 2025-08-22 15:23:11 +0200 |
---|---|---|
committer | fschildt <florian.schildt@protonmail.com> | 2025-08-22 15:23:11 +0200 |
commit | 2050c0e0576f05156f192aa4caf48834d2f28b14 (patch) | |
tree | ee58bd35b0df0a1bacfbc9700ed99ce80c99294e /src/client/fscord.h |
Diffstat (limited to 'src/client/fscord.h')
-rw-r--r-- | src/client/fscord.h | 34 |
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 |