Move src/main.c to src/tests/draw.c
This commit is contained in:
parent
3032426c13
commit
c3be40e186
@ -22,15 +22,15 @@ The pixel format and screen coordinates are standardized, however, the HID input
|
|||||||
|
|
||||||
## Platform: null
|
## Platform: null
|
||||||
This platform has a very simple implementation, that is essentially a no-op for any possible target. It's meant for running a basic test before one makes a proper port.
|
This platform has a very simple implementation, that is essentially a no-op for any possible target. It's meant for running a basic test before one makes a proper port.
|
||||||
1. `cc src/main.c -Dunigi_flag_platform_null`
|
1. `cc src/tests/draw.c -Dunigi_flag_platform_null`
|
||||||
|
|
||||||
## Platform: dos
|
## Platform: dos
|
||||||
This platform implements DOS (MS-DOS, FreeDOS, etc.), Tested with Open Watcom.
|
This platform implements DOS (MS-DOS, FreeDOS, etc.), Tested with Open Watcom.
|
||||||
1. `cc src/main.c -Dunigi_flag_platform_dos`
|
1. `cc src/tests/draw.c -Dunigi_flag_platform_dos`
|
||||||
|
|
||||||
## Platform: sdl1
|
## Platform: sdl1
|
||||||
This platform implements the highly compatible SDL 1.2, which runs on all sorts of versions of Linux and Windows, as well as big endian CPUs.
|
This platform implements the highly compatible SDL 1.2, which runs on all sorts of versions of Linux and Windows, as well as big endian CPUs.
|
||||||
1. `cc src/main.c -Dunigi_flag_platform_sdl1 -lSDL`
|
1. `cc src/tests/draw.c -Dunigi_flag_platform_sdl1 -lSDL`
|
||||||
|
|
||||||
## Advanced configuration
|
## Advanced configuration
|
||||||
### No stdint.h
|
### No stdint.h
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
// This is a test and demonstration of unigi. You probably do not want to include this.
|
#include "../main.h"
|
||||||
#include "main.h"
|
|
||||||
#ifndef unigi_flag_exception
|
#ifndef unigi_flag_exception
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user