#include "sprite.h" #include "raylib.h" void SpriteAdd(struct Sprite *cursors, int *j, Texture2D *texture, int x, int y){ if(*j < 100){ (cursors + *j) -> texture = texture; (cursors + *j) -> x = x; (cursors + *j) -> y = y; (*j)++; } else{ printf("Voll\n"); } }