Copiado el tutorial 5 de Jailgames Vintage en YouTube, pero algo sigue fallando
This commit is contained in:
28
jUnit.h
Normal file
28
jUnit.h
Normal 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();
|
||||
Reference in New Issue
Block a user