mirror of
https://github.com/Cubitect/cubiomes.git
synced 2025-09-24 04:03:39 -04:00
Merge branch 'master' of https://github.com/Cubitect/cubiomes
This commit is contained in:
commit
ceec762598
9
util.h
9
util.h
@ -1,6 +1,11 @@
|
||||
#ifndef UTIL_H_
|
||||
#define UTIL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void initBiomeColours(unsigned char biomeColours[256][3]);
|
||||
void initBiomeTypeColours(unsigned char biomeColours[256][3]);
|
||||
|
||||
@ -12,4 +17,8 @@ int biomesToImage(unsigned char *pixels,
|
||||
int savePPM(const char* path, const unsigned char *pixels,
|
||||
const unsigned int sx, const unsigned int sy);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user