# E:/DevIL/src-IL/include/il_pal.h File Reference

`#include "il_internal.h"`

Go to the source code of this file.

## Data Structures

struct | HALOHEAD

## Defines

#define | BUFFLEN 256
#define | PALBPP 3

## Functions

ILboolean | ilLoadJascPal (ILconst_string FileName)
| Loads a Paint Shop Pro formatted palette (.pal) file.
ILboolean | ilSaveJascPal (ILconst_string FileName)
| Saves a Paint Shop Pro formatted palette (.pal) file.
char * | iFgetw (ILubyte *Buff, ILint MaxLen, FILE *File)
ILboolean | ilLoadHaloPal (ILconst_string FileName)
| Loads a Halo formatted palette (.pal) file.
ILboolean | ilLoadColPal (ILconst_string FileName)
| Loads a .col palette file.
ILboolean | ilLoadActPal (ILconst_string FileName)
| Loads an .act palette file.
ILboolean | ilLoadPltPal (ILconst_string FileName)
| Loads an .plt palette file.

## Define Documentation

#define BUFFLEN 256

Referenced by ilLoadJascPal().

#define PALBPP 3

Referenced by ilLoadJascPal().

## Function Documentation

char* iFgetw | ( | ILubyte * | Buff,
|  | ILint | MaxLen,
|  | FILE * | File |
| ) |  |  |

Referenced by ilLoadJascPal().

ILboolean ilLoadActPal | ( | ILconst_string | FileName | ) |

Loads an .act palette file.

Referenced by ilLoadPal().

ILboolean ilLoadColPal | ( | ILconst_string | FileName | ) |

Loads a .col palette file.

Referenced by ilLoadPal().

ILboolean ilLoadHaloPal | ( | ILconst_string | FileName | ) |

Loads a Halo formatted palette (.pal) file.

Referenced by ilLoadPal().

ILboolean ilLoadJascPal | ( | ILconst_string | FileName | ) |

Loads a Paint Shop Pro formatted palette (.pal) file.

Referenced by ilLoadPal().

ILboolean ilLoadPltPal | ( | ILconst_string | FileName | ) |

Loads an .plt palette file.

Referenced by ilLoadPal().

ILboolean ilSaveJascPal | ( | ILconst_string | FileName | ) |

Saves a Paint Shop Pro formatted palette (.pal) file.

Referenced by ilSave(), and ilSavePal().