fallout2-ce/src/graph_lib.h

16 lines
521 B
C
Raw Normal View History

2022-05-19 01:51:26 -07:00
#ifndef GRAPH_LIB_H
#define GRAPH_LIB_H
2022-09-23 05:43:44 -07:00
namespace fallout {
2022-12-27 07:59:24 -08:00
unsigned char HighRGB(unsigned char color);
2023-07-23 20:50:07 -07:00
int load_lbm_to_buf(const char* path, unsigned char* buffer, int a3, int a4, int a5, int a6, int a7);
2022-05-19 01:51:26 -07:00
int graphCompress(unsigned char* a1, unsigned char* a2, int a3);
int graphDecompress(unsigned char* a1, unsigned char* a2, int a3);
2022-12-27 07:59:24 -08:00
void grayscalePaletteUpdate(int a1, int a2);
void grayscalePaletteApply(unsigned char* surface, int width, int height, int pitch);
2022-05-19 01:51:26 -07:00
2022-09-23 05:43:44 -07:00
} // namespace fallout
2022-05-19 01:51:26 -07:00
#endif /* GRAPH_LIB_H */