YAYAYYAYAYAYAYAYY IT WORKS AFTER SPLIITTING IT INTO FILES

This commit is contained in:
flameyosflow 2025-12-20 01:16:32 +02:00
commit e9e7d938ef
23 changed files with 1568 additions and 0 deletions

27
game/suic_game_client.h Normal file
View file

@ -0,0 +1,27 @@
#pragma once
#include "suic_math.h"
#include "suic_terrain.h"
#include "suic_lighting.h"
#include "suic_net.h"
#include "suic_ui.h"
#include <stdbool.h>
/**
* High-level game client API.
* Ties together terrain, networking, lighting, and rendering.
*/
/* Game lifecycle */
void suic_game_init(const char* username, const char* serverIp, int port);
void suic_game_update(float dt);
void suic_game_render(void);
void suic_game_shutdown(void);
/* Camera state */
SuicVec3 suic_game_get_camera_pos(void);
float suic_game_get_yaw(void);
float suic_game_get_pitch(void);
bool suic_game_is_scoped(void);
/* Input state */
void suic_game_handle_input(float dt);