You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#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");
|
|
}
|
|
}
|