Added palette constraint modes: Run the program with command-line option "/rgb <N>" to force RGB components have N levels instead of 256. Ex: /rgb 16 enforces a classic Amiga 4096 color palette, 64 is PC VGA, /rgb 3 is Amstrad CPC...)

Added missing messages for /wide and /tall command-line arguments.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@477 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-01-13 23:48:33 +00:00
parent 0c245896c5
commit dc4abe6245
5 changed files with 87 additions and 32 deletions

View File

@@ -20,3 +20,11 @@
*/
void Bouton_Palette(void);
void Bouton_Palette_secondaire(void);
// Choose the number of graduations for RGB components, from 2 to 256.
void Set_Palette_RGB_Scale(int);
// Scale a component (R, G or B) according to the current RGB graduations
// The resulting range is [0-255]
byte Palette_Scale_Component(byte Comp);