diff options
author | kdx <kikoodx@paranoici.org> | 2022-10-21 01:29:27 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2022-10-21 01:29:32 +0200 |
commit | ae757fde37f1d5ec2875489d8db69e64075838e9 (patch) | |
tree | 19ca843fd26540a19bc6fc293ad4534aa03f96ee | |
parent | 18d9e59ceb91a254e5dafa0cea81f4ebded9a685 (diff) | |
download | lzr-ae757fde37f1d5ec2875489d8db69e64075838e9.tar.gz |
update demo
-rw-r--r-- | Tupfile | 2 | ||||
-rw-r--r-- | demo.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ CFLAGS = -Wall -Wextra -std=c99 -pedantic `sdl2-config --cflags` -LDFLAGS = -ldx `sdl2-config --libs` -lSDL2_gfx -lSDL2_image +LDFLAGS = -ldx `sdl2-config --libs` -lSDL2_gfx -lSDL2_image -lSDL2_mixer .gitignore : foreach *.c |> gcc $(CFLAGS) -c -o %o %f |> %B.o @@ -44,8 +44,8 @@ int main(void) LZR_DrawSetColor(0.9f, 0.9f, 0.8f); LZR_DrawClear(); LZR_DrawSetColor(1.0f, 1.0f, 1.0f); - LZR_DrawTile(1, 2, 2, 2); - LZR_DrawTile(1, 4, 22, 2); + LZR_DrawTile(1, 2, 2, 2, 0.0, 0); + LZR_DrawTile(1, 4, 22, 2, 0.0, 0); const float shade = 0.9 * (0.5f + darkness); LZR_DrawSetColor(shade, shade, 0.0f); LZR_DrawImageEx(0, x, y, stg); |