added more gif and start readme

This commit is contained in:
asus
2024-01-15 22:06:54 +01:00
parent e1d5613392
commit 0b54d8c015
20 changed files with 62 additions and 30 deletions

View File

@@ -84,26 +84,38 @@ int **parse_map(t_fdf *fdf, int fd);
# define Z_HEIGHT_UP 10
# define Z_HEIGHT_DOWN 10
/*
- 50 : pink - blue
- elem : purple - green
- pylone : brown - purple
- pyramide : white - pink
- semitube : green - pink
- t2 : white - green
- test : white - pink
*/
// color for altitude
# define COLOR_START 0xffffff // white
# define COLOR_START 0xa263f6 // purple
/*
# define COLOR_START 0xf263a6 // pink
# define COLOR_START 0x00d700 // green
# define COLOR_START 0x877264 // brown
# define COLOR_START 0xffffff // white
# define COLOR_START 0x1423e6 // blue
# define COLOR_START 0xa263f6 // purple
# define COLOR_START 0x877264 // brown
# define COLOR_START 0x00d700 // green
*/
/*
# define COLOR_END 0xffffff // white
# define COLOR_END 0x00d700 // green
# define COLOR_END 0x877264 // brown
# define COLOR_END 0x1423e6 // blue
# define COLOR_END 0x00d700 // green
# define COLOR_END 0xa263f6 // purple
*/
# define COLOR_END 0x1423e6 // blue
# define COLOR_END 0xf263a6 // pink
*/
# define COLOR_END 0xffffff // white
// pixels deplacement for each keypress
# define MOVE 10
// minimum time in milliseconds between two keypress
# define DEBOUNCE_TIME 1
# define DEBOUNCE_TIME 10
# define ESCAPE 65307
# define UP 65362