stuff
This commit is contained in:
parent
1006b231f0
commit
0c0cfef186
28 changed files with 220 additions and 331 deletions
|
|
@ -1,28 +0,0 @@
|
|||
#pragma once
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/**
|
||||
* UI rendering API for game client.
|
||||
* HUD, crosshair, room state overlays, username prompt.
|
||||
*/
|
||||
|
||||
/* Username prompt (blocking) */
|
||||
void suic_ui_username_prompt(char* outName, int maxLen);
|
||||
|
||||
/* HUD */
|
||||
void suic_ui_draw_hud(int hp, int weapon, int mag, int reserve,
|
||||
int medkits, int reloadTimeLeft);
|
||||
|
||||
/* Crosshair */
|
||||
void suic_ui_draw_crosshair(int screenW, int screenH, float spread, bool scoped);
|
||||
|
||||
/* Room state overlay */
|
||||
void suic_ui_draw_room_state(int screenW, int screenH, int state,
|
||||
float countdown, const char* winnerName);
|
||||
|
||||
/* Nameplates */
|
||||
void suic_ui_draw_nameplate(int screenW, int screenH, float worldX, float worldY, float worldZ,
|
||||
const char* username, bool isLocalPlayer,
|
||||
float camPosX, float camPosY, float camPosZ,
|
||||
float camTargetX, float camTargetY, float camTargetZ);
|
||||
Loading…
Add table
Add a link
Reference in a new issue