Started from buttom go to the sky

This commit is contained in:
Raphaël 2024-04-28 19:59:01 +02:00
parent 96215449bd
commit f811e55dea
4781 changed files with 10121 additions and 1743 deletions

View file

@ -0,0 +1,29 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* blx_create_fontsheet.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/27 19:18:44 by maiboyer #+# #+# */
/* Updated: 2023/12/31 20:10:02 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "me/blx/blx.h"
#include "me/blx/sprite.h"
#include "me/types.h"
#include "me/printf/printf.h"
#include <stdio.h>
#include <stdlib.h>
#define FONT_SHEET_PATH "textures/font.xpm"
void blx_create_fontsheet(t_blx *app)
{
if (!blx_sprite_from_xpm(app, FONT_SHEET_PATH, &app->_data.font))
{
me_eprintf("Error:\nCouldn't open sprite sheet !\n");
exit(5);
}
}