diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-08-22 15:23:11 +0200 | 
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-10-15 11:33:23 +0200 | 
| commit | 04e4627e6c11254ee6f49edf5feb1b8d711da41a (patch) | |
| tree | e28f2e62d3e1b83f9686cdeb102e3f47379e6793 /src/client/fscord.h | |
Diffstat (limited to 'src/client/fscord.h')
| -rw-r--r-- | src/client/fscord.h | 33 | 
1 files changed, 33 insertions, 0 deletions
diff --git a/src/client/fscord.h b/src/client/fscord.h new file mode 100644 index 0000000..4656dea --- /dev/null +++ b/src/client/fscord.h @@ -0,0 +1,33 @@ +#ifndef FSCORD_H +#define FSCORD_H + +#include <os/os.h> +#include <basic/time.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  | 
