1
0

Copiado el tutorial 5 de Jailgames Vintage en YouTube, pero algo sigue fallando

This commit is contained in:
2024-02-05 19:18:47 +01:00
parent b6636bdfab
commit 0249603e22
6 changed files with 215 additions and 33 deletions

28
jUnit.h Normal file
View File

@@ -0,0 +1,28 @@
#pragma once
#include <SDL2/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();