palette_color(3alleg4) Allegro manual palette_color(3alleg4)NAME
palette_color - Maps palette indexes into the current pixel format colors. Allegro game programming library.
extern int palette_color;
Table mapping palette index colors (0-255) into whatever pixel format is being used by the current display mode. In a 256-color mode this
just maps onto the array index. In truecolor modes it looks up the specified entry in the current palette, and converts that RGB value into
the appropriate packed pixel format. Example:
/* Put a pixel with the color 2 (green) of the palette */
putpixel(screen, 100, 100, palette_color);
SEE ALSO set_palette(3alleg4), makecol(3alleg4), set_color_depth(3alleg4)Allegro version 4.4.2 palette_color(3alleg4)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)