1
0

en proces de pasar a SDL3

This commit is contained in:
2025-03-24 20:02:28 +01:00
parent 0334a7e04e
commit 7abbaee706
12 changed files with 216 additions and 40 deletions

28
source/jUnit.h Normal file
View File

@@ -0,0 +1,28 @@
#pragma once
#include <SDL3/SDL.h>
typedef struct jSurface_s *jSurface;
void init();
void update();
jSurface jNewSurface(int w, int h);
void jDeleteSurface(jSurface surf);
void jSetDest(jSurface surf);
void jSetSource(jSurface surf);
jSurface jLoadSurface(const char* filename);
void jPutPixel(int x, int y, Uint8 color);
Uint8 jGetPixel(int x, int y);
void jBlit(int dx, int dy, int sx, int sy, int w, int h);
void jInit(const char *titol, int w, int h, int z);
void jSetPal(int index, Uint32 color);
void jLoadPal(const char *filename);
void jCls(Uint8 color);
void jFlip();