projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added description for BD style explosion
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_colors.h
diff --git
a/src/game_bd/bd_colors.h
b/src/game_bd/bd_colors.h
index 26fd2b6d6d96715b69412aacf7e9d20a1d900818..9738503ee688a2b242621fbe63eb675f498266c2 100644
(file)
--- a/
src/game_bd/bd_colors.h
+++ b/
src/game_bd/bd_colors.h
@@
-82,6
+82,12
@@
typedef enum _color_type
GdColor gd_c64_color(int index);
GdColor gd_atari_color(int index);
GdColor gd_c64dtv_color(int index);
GdColor gd_c64_color(int index);
GdColor gd_atari_color(int index);
GdColor gd_c64dtv_color(int index);
+
+unsigned int gd_color_get_r(GdColor color);
+unsigned int gd_color_get_g(GdColor color);
+unsigned int gd_color_get_b(GdColor color);
+
+GdColor gd_color_get_rgb(GdColor color);
GdColor gd_color_get_from_rgb(int r, int g, int b);
GdColor gd_color_get_from_string(const char *color);
const char *gd_color_get_string(GdColor color);
GdColor gd_color_get_from_rgb(int r, int g, int b);
GdColor gd_color_get_from_string(const char *color);
const char *gd_color_get_string(GdColor color);