![]() | ![]() ![]() |
| Home · Downloads · Your Account · Submit News |
|
Documentation Homepage HAMLib reference Back to HAM Homepage |
|
Functions | |
| void | ham_SetBgPalCol (u8 color_number, u16 rgb_value) |
| Set a specific BG palette color to a 15 bit BGR value | |
| void | ham_SetBgPalColRGB (u8 color_number, u8 r, u8 g, u8 b) |
| Set a specific BG palette color to a RGB value of your choice | |
| void | ham_SetObjPalCol (u8 color_number, u16 rgb_value) |
| Set a specific OBJ Palette color to a 15 bit BGR value | |
| void | ham_SetObjPalColRGB (u8 color_number, u8 r, u8 g, u8 b) |
| Set a specific OBJ palette color to a RGB value of your choice | |
| void | ham_LoadBGPal (void *src, u16 size_u16s) |
| Load new colors into the 256 color BG palette | |
| void | ham_LoadBGPal256 (void *src) |
| Load full 256 color palette into BG palette | |
| void | ham_LoadObjPal (void *src, u16 size_u16s) |
| Load new colors into the 256 color OBJ (Sprite) palette | |
| void | ham_LoadObjPal256 (void *src) |
| Load full 256 color palette into OBJ (Sprite) palette | |
| void | ham_LoadBGPal16 (void *src, u8 pal_no) |
| Load new colors into one 16 color BG palette | |
| void | ham_LoadObjPal16 (void *src, u8 pal_no) |
| Load new colors into one 16 color OBJ (Sprite) palette | |
| void | ham_FadePal (u8 palno, s8 delta_per_call) |
| Fade a 256 color palette to all white or black | |
| u8 | ham_FadePalCol (u16 colno, s8 delta_per_call) |
| Fade a specific color in a color palette to all white or black | |
|
||||||||||||
|
Fade a 256 color palette to all white or black
|
|
||||||||||||
|
Fade a specific color in a color palette to all white or black
|
|
||||||||||||
|
Load new colors into the 256 color BG palette
|
|
||||||||||||
|
Load new colors into one 16 color BG palette
See also: ham_LoadBgPal() ham_InitBg() ham_InitTileSet() ham_SetBgMode() |
|
|
Load full 256 color palette into BG palette
|
|
||||||||||||
|
Load new colors into the 256 color OBJ (Sprite) palette
|
|
||||||||||||
|
Load new colors into one 16 color OBJ (Sprite) palette
See also: ham_LoadObjPal() ham_CreateObj() |
|
|
Load full 256 color palette into OBJ (Sprite) palette
|
|
||||||||||||
|
Set a specific BG palette color to a 15 bit BGR value
|
|
||||||||||||||||||||
|
Set a specific BG palette color to a RGB value of your choice
|
|
||||||||||||
|
Set a specific OBJ Palette color to a 15 bit BGR value
|
|
||||||||||||||||||||
|
Set a specific OBJ palette color to a RGB value of your choice
|