Fixs divers avant de ship
This commit is contained in:
parent
6da8cdf73c
commit
89624b0df4
5 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
|||
OUTNAME = ttower
|
||||
|
||||
CFLAGS = -O2 -g -Wall -Wextra -I./raylib/include
|
||||
CFLAGS = -O2 -g -Wall -Wextra -I ./raylib/include
|
||||
#linux
|
||||
#LDFLAGS = -static -L./raylib/lib -lraylib -lm
|
||||
#windows
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "raylib.h"
|
||||
#include <raylib.h>
|
||||
|
||||
#define min(x, minn) ((x) < (minn) ? (minn):(x))
|
||||
|
||||
|
@ -218,11 +218,11 @@ int main(){
|
|||
|
||||
draw_towers(&towers, xpos);
|
||||
|
||||
snprintf(scorebuf, 100, "Score : %d lost : %d", score, lost);
|
||||
snprintf(scorebuf, 100, "Score : %d", score);
|
||||
|
||||
DrawText(scorebuf, 0,0,30,BLACK);
|
||||
|
||||
DrawFPS(0, 100);
|
||||
//DrawFPS(0, 100);
|
||||
|
||||
if(lost == 3)
|
||||
lost_men(&score);
|
||||
|
|
BIN
ttower.zip
Normal file
BIN
ttower.zip
Normal file
Binary file not shown.
BIN
ttower/plane.png
Normal file
BIN
ttower/plane.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 817 B |
BIN
ttower/towers.png
Normal file
BIN
ttower/towers.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3 KiB |
Loading…
Add table
Reference in a new issue