mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-21 21:33:56 +02:00
initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef COLOURS_PAL_H_
|
||||
#define COLOURS_PAL_H_
|
||||
|
||||
#include "colours.h"
|
||||
#include "colours_external.h"
|
||||
|
||||
/* PAL palette's current setup. */
|
||||
extern Colours_setup_t COLOURS_PAL_setup;
|
||||
/* External PAL palette. */
|
||||
extern COLOURS_EXTERNAL_t COLOURS_PAL_external;
|
||||
|
||||
/* Updates the PAL palette - should be called after changing palette setup
|
||||
or loading/unloading an external palette. */
|
||||
void COLOURS_PAL_Update(int colourtable[256]);
|
||||
|
||||
/* Restores default values for PAL-specific colour controls.
|
||||
Colours_PAL_Update should be called afterwards to apply changes. */
|
||||
void COLOURS_PAL_RestoreDefaults(void);
|
||||
|
||||
/* Read/write to configuration file. */
|
||||
int COLOURS_PAL_ReadConfig(char *option, char *ptr);
|
||||
void COLOURS_PAL_WriteConfig(FILE *fp);
|
||||
|
||||
/* PAL Colours initialisation and processing of command-line arguments. */
|
||||
int COLOURS_PAL_Initialise(int *argc, char *argv[]);
|
||||
|
||||
/* Function for getting the PAL-specific color preset. */
|
||||
Colours_preset_t COLOURS_PAL_GetPreset(void);
|
||||
|
||||
/* Writes the PAL palette (generated or external) as {Y, even U, odd U,
|
||||
even V, odd V} quintuples in YUV_TABLE. */
|
||||
void COLOURS_PAL_GetYUV(double yuv_table[256*5]);
|
||||
|
||||
#endif /* COLOURS_PAL_H_ */
|
||||
Reference in New Issue
Block a user