forked from Fierelier/me.fier.engine
Update formatting
This commit is contained in:
parent
2837d1b306
commit
66999f93d8
34
README.txt
34
README.txt
@ -1,23 +1,23 @@
|
||||
A software accelerated (CPU-only) game engine for older computers. It uses a layer of abstraction, so different implementations can be ported to it. It primarily uses SDL2. This can also be used to more easily port the engine to different consoles.
|
||||
|
||||
>> FUNCTIONS
|
||||
> WINDOW
|
||||
void engine_init(int width,int height,char * title)
|
||||
void engine_setColor(char r,char g,char b,char a)
|
||||
void engine_drawPixel(int x,int y)
|
||||
void engine_render()
|
||||
>>> FUNCTIONS
|
||||
>> WINDOW
|
||||
> void engine_init(int width,int height,char * title)
|
||||
> void engine_setColor(char r,char g,char b,char a)
|
||||
> void engine_drawPixel(int x,int y)
|
||||
> void engine_render()
|
||||
|
||||
> TIME
|
||||
long long engine_time_get()
|
||||
void engine_sleep(long long ms)
|
||||
>> TIME
|
||||
> long long engine_time_get()
|
||||
> void engine_sleep(long long ms)
|
||||
|
||||
> LOGIC
|
||||
struct ENGINE_EVENT engine_get_event()
|
||||
>> LOGIC
|
||||
> struct ENGINE_EVENT engine_get_event()
|
||||
|
||||
> TEXTURES
|
||||
>> TEXTURES
|
||||
struct ENGINE_TEXTURE engine_createTexture(int width,int height)
|
||||
void engine_textureSetColor(char r,char g,char b,char a)
|
||||
void engine_textureDrawPixel(struct ENGINE_TEXTURE * texture,int x,int y)
|
||||
void engine_textureDestroy(struct ENGINE_TEXTURE * texture)
|
||||
void engine_renderTexture2D(struct ENGINE_TEXTURE * texture,int sx,int sy)
|
||||
void engine_fileToTexture(struct ENGINE_TEXTURE * texture,char * fpath)
|
||||
> void engine_textureSetColor(char r,char g,char b,char a)
|
||||
> void engine_textureDrawPixel(struct ENGINE_TEXTURE * texture,int x,int y)
|
||||
> void engine_textureDestroy(struct ENGINE_TEXTURE * texture)
|
||||
> void engine_renderTexture2D(struct ENGINE_TEXTURE * texture,int sx,int sy)
|
||||
> void engine_fileToTexture(struct ENGINE_TEXTURE * texture,char * fpath)
|
||||
|
Loading…
Reference in New Issue
Block a user