diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-23 16:30:58 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-23 16:30:58 +0100 |
commit | 06163949b116123c75834b64f05ddf0597fa17bc (patch) | |
tree | 933955dc1545d77fd00b16baa0ce931d82b74bb3 /src/ft_draw_life_bar.c | |
parent | Trying life bars (diff) | |
download | 42-cub3d-06163949b116123c75834b64f05ddf0597fa17bc.tar.gz 42-cub3d-06163949b116123c75834b64f05ddf0597fa17bc.tar.bz2 42-cub3d-06163949b116123c75834b64f05ddf0597fa17bc.tar.xz 42-cub3d-06163949b116123c75834b64f05ddf0597fa17bc.tar.zst 42-cub3d-06163949b116123c75834b64f05ddf0597fa17bc.zip |
New file for life bars drawing
Diffstat (limited to 'src/ft_draw_life_bar.c')
-rw-r--r-- | src/ft_draw_life_bar.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ft_draw_life_bar.c b/src/ft_draw_life_bar.c new file mode 100644 index 0000000..ae02edb --- /dev/null +++ b/src/ft_draw_life_bar.c @@ -0,0 +1,16 @@ +#include <cub3d.h> +#include <stdint.h> + +void + ft_draw_life_bar(size_t map_w, uint16_t scale, int8_t life, t_cub *cl) +{ + (void)map_w; + (void)scale; + (void)life; + (void)cl; + uint32_t x; + uint32_t y; + int32_t col; + + col = 0x00229037; +} |