06-05-2015
Thanks!
That's totally understandable.
5 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
How can I get the list of all Threads and the Total count of threads under a particular process ?
Do suggest !!
Awaiting for the replies !!
Thanks
Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies
2. What is on Your Mind?
Just a quick update; to speed up the forums, I have disabled the forum statistics on the home page for non registered users.
No changes for registered users. (0 Replies)
Discussion started by: Neo
0 Replies
3. Post Here to Contact Site Administrators and Moderators
Hi,
Notice in advance: When I report any feedback about the forum, I make sure that I use Google Chrome(supported browser) and check the issue there.
I shortly read the comment of RudiC that the Thread turns light blue, when it is solved. I never realized that this is the visible sign of a... (1 Reply)
Discussion started by: stomp
1 Replies
4. What is on Your Mind?
For mobile users, I have just added a "first beta" Advanced Forum Statistics to the home page on mobile using CSS overflow:auto; so you can swipe if you need to see more. Google Search Console mobile usability says this page is "mobile friendly" so perhaps this will be useful for some of our... (12 Replies)
Discussion started by: Neo
12 Replies
5. What is on Your Mind?
Today I change the DB and the PHP code and rebuilt the database for similar threads at the end of each post, increasing from a max of 5 to a max of 10 similar threads per post:
More UNIX and Linux Forum Topics You Might Find Helpful
It was quite easy to do:
1. Increased the max size of... (17 Replies)
Discussion started by: Neo
17 Replies
LEARN ABOUT SUSE
create_trans_table
create_trans_table(3alleg4) Allegro manual create_trans_table(3alleg4)
NAME
create_trans_table - Fills a color mapping table for translucency effects. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void create_trans_table(COLOR_MAP *table, const PALETTE pal, int r, g, b, void (*callback)(int pos));
DESCRIPTION
Fills the specified color mapping table with lookup data for doing translucency effects with the specified palette. When combining the col-
ors c1 and c2 with this table, the result will be a color somewhere between the two. The r, g, and b parameters specify the solidity of
each color component, ranging from 0 (totally transparent) to 255 (totally solid). For 50% solidity, pass 128.
This function treats source color #0 as a special case, leaving the destination unchanged whenever a zero source pixel is encountered, so
that masked sprites will draw correctly. This function will take advantage of the global rgb_map variable to speed up color conversions. If
the callback function is not NULL, it will be called 256 times during the calculation, allowing you to display a progress indicator. Exam-
ple:
COLOR_MAP trans_table;
...
/* Build a color lookup table for translucent drawing. */
create_trans_table(&trans_table, pal, 128, 128, 128, NULL);
SEE ALSO
color_map(3alleg4), create_light_table(3alleg4), create_color_table(3alleg4), create_blender_table(3alleg4), draw_trans_sprite(3alleg4),
draw_lit_sprite(3alleg4), draw_gouraud_sprite(3alleg4), rgb_map(3alleg4), ex3d(3alleg4), extrans(3alleg4)
Allegro version 4.4.2 create_trans_table(3alleg4)