projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added support for level color settings in BD engine to level editor
[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 9738503ee688a2b242621fbe63eb675f498266c2..f3d09cae9bb4d57a064a5af48926faef091202e1 100644
(file)
--- a/
src/game_bd/bd_colors.h
+++ b/
src/game_bd/bd_colors.h
@@
-77,6
+77,8
@@
typedef enum _color_type
#define GD_COLOR_INVALID (0xFFFFFFFF)
#define GD_COLOR_INVALID (0xFFFFFFFF)
+#define GD_C64_COLOR(index) ((GD_COLOR_TYPE_C64 << 24) + (index))
+
// color
GdColor gd_c64_color(int index);
// color
GdColor gd_c64_color(int index);