This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/core/loui/combat.h
falsycat 80b3b82332 [RELEASE] u22-v04
This version is submitted for U22 final presentation. (squashed 158 commits)
2021-02-07 00:00:00 +00:00

42 lines
716 B
C

#pragma once
#include <stdint.h>
#include "core/locommon/ticker.h"
#include "core/loplayer/player.h"
#include "core/loshader/set.h"
typedef struct {
loshader_set_t* shaders;
const locommon_ticker_t* ticker;
const loplayer_t* player;
uint64_t ring_start;
uint64_t ring_end;
float clockhand;
float alpha;
} loui_combat_t;
void
loui_combat_initialize(
loui_combat_t* combat,
loshader_set_t* shaders,
const locommon_ticker_t* ticker,
const loplayer_t* player
);
void
loui_combat_deinitialize(
loui_combat_t* combat
);
void
loui_combat_update(
loui_combat_t* combat
);
void
loui_combat_draw(
const loui_combat_t* combat
);