Skip to content

COLOR_A support? #70

Answered by RudolphRiedel
jwestes asked this question in Q&A
Discussion options

You must be logged in to vote

It is defined as macro, use COLOR_A(value) - one of these things that I never actually used and that is one of the original macros.
EVE_cmd_dl_burst(COLOR_A(0xEE));

Somehow this is all inconsistent by now.

Looking at the current EVE Screen Editor I should add a couple more functions.
I already added EVE_color_rgb().

void EVE_color_a(uint8 alpha);

Plus a couple of others like clear, color_mask, line_width, point_size and so on, everything that has not CMD_ in the name in ESE and still looks like a function while it originally was implemented as a macro to provide a 32 bit value for a cmd_dl() call.

Well, plus adding a couple more DL_ defines would not hurt either.
The macros provide range …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jwestes
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants