forked from jaildesigner-jailgames/jaildoctors_dilemma
Añadidos paleta.cpp y paleta.h
This commit is contained in:
25
source/jail_engine/paleta.h
Normal file
25
source/jail_engine/paleta.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
typedef struct jSurface_s *jSurface;
|
||||
|
||||
jSurface pNewSurface(int w, int h);
|
||||
void pDeleteSurface(jSurface surf);
|
||||
void pSetDest(jSurface surf);
|
||||
void pSetSource(jSurface surf);
|
||||
|
||||
jSurface pLoadSurface(const char* filename);
|
||||
|
||||
void pPutPixel(int x, int y, Uint8 color);
|
||||
Uint8 pGetPixel(int x, int y);
|
||||
|
||||
void pBlit(int dx, int dy, int sx, int sy, int w, int h);
|
||||
|
||||
void pInit(const char *titol, int w, int h, int z);
|
||||
|
||||
void pSetPal(int index, Uint32 color);
|
||||
void pLoadPal(const char *filename);
|
||||
|
||||
void pCls(Uint8 color);
|
||||
|
||||
void pFlip();
|
||||
Reference in New Issue
Block a user