From c068f22329d5cc722622a2183bbb22eef2093df7 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 24 Aug 2026 11:16:07 +0200 Subject: initial import --- src/parsec/include/img_supp.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/parsec/include/img_supp.h (limited to 'src/parsec/include/img_supp.h') diff --git a/src/parsec/include/img_supp.h b/src/parsec/include/img_supp.h new file mode 100644 index 0000000..8117846 --- /dev/null +++ b/src/parsec/include/img_supp.h @@ -0,0 +1,20 @@ +/* + * PARSEC HEADER: img_supp.h + */ + +#ifndef _IMG_SUPP_H_ +#define _IMG_SUPP_H_ + + +// external functions + +dword IMG_DetermineTexGeoAspect( dword width, dword height ); +int IMG_DetermineTexGeoAspectExt( dword width, dword height ); +dword IMG_DetermineTexGeoScale( dword maxside ); + +dword IMG_CountMipmapTexels( dword texw, dword texh, dword lodlarge, dword lodsmall ); + + +#endif // _IMG_SUPP_H_ + + -- cgit v1.2.3