stick with the colors
This commit is contained in:
@@ -76,6 +76,11 @@ int **parse_map(t_fdf *fdf, int fd);
|
||||
// color for altitude
|
||||
# define COLOR_START 0xffffff
|
||||
# define COLOR_END 0x00d700
|
||||
// R,G,B colors
|
||||
// ex for col = 0x236ad0
|
||||
# define COLOR_R(col) ((col & 0xff0000) >> 16) // output 23
|
||||
# define COLOR_G(col) ((col & 0x00ff00) >> 8) // output 6a
|
||||
# define COLOR_B(col) (col & 0x0000ff) // output d0
|
||||
|
||||
# define ESCAPE 65307
|
||||
# define UP 65362
|
||||
|
||||
Reference in New Issue
Block a user