set_palette_range(3alleg4) Allegro manual set_palette_range(3alleg4)NAME
set_palette_range - Sets a specific range of the palette. Allegro game programming library.
void set_palette_range(const PALETTE p, int from, int to, int vsync);
Sets the palette entries between from and to (inclusive: pass 0 and 255 to set the entire palette). If vsync is set it waits for the verti-
cal retrace, otherwise it sets the colors immediately. Example:
/* Modify the first 16 entries. */
/* Now update them waiting for vsync. */
set_palette_range(palette, 0, 15, 1);
SEE ALSO set_palette(3alleg4), get_palette_range(3alleg4), exzbuf(3alleg4)Allegro version 4.4.2 set_palette_range(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)