Files
shitgame/include/deck.h
2026-01-21 13:51:24 -06:00

23 lines
283 B
C

//Troy Rosin
#ifndef __deck_h__
#define __deck_h__
#include <SDL2/SDL.h>
#define MAX_HANDSIZE 8
#define CARD_SIZE (128 * 2)
#define CARD_W (96 * 2)
typedef struct hand
{
int handsize;
SDL_Texture *cards[MAX_HANDSIZE];
SDL_Rect card_rects[MAX_HANDSIZE];
} HAND;
#endif