diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2020-12-29 18:53:36 +0100 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2020-12-29 18:53:36 +0100 |
commit | bffaceb579ba66ba675f5b99e93258423b3c97ab (patch) | |
tree | f1e0e8ef4002d2e5b444678c4c98dd8785cbe980 /sdk/rwsdk/include/d3d8/rpltmap.h | |
parent | Reorder CEntity functions into their original order (diff) | |
download | re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar.gz re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar.bz2 re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar.lz re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar.xz re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar.zst re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.zip |
Diffstat (limited to '')
-rw-r--r-- | sdk/rwsdk/include/d3d8/rpltmap.h | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/sdk/rwsdk/include/d3d8/rpltmap.h b/sdk/rwsdk/include/d3d8/rpltmap.h deleted file mode 100644 index 5add9a26..00000000 --- a/sdk/rwsdk/include/d3d8/rpltmap.h +++ /dev/null @@ -1,90 +0,0 @@ - -/** - * \defgroup rpltmap RpLtMap - * \ingroup rpplugin - * - * Lightmap Plugin for RenderWare Graphics. - */ - -#ifndef RPLTMAP_H -#define RPLTMAP_H - -/*===========================================================================* - *--- Includes --------------------------------------------------------------* - *===========================================================================*/ - -#include "rwcore.h" -#include "rpworld.h" - - -#define rpLTMAPDEFAULTLIGHTMAPSIZE 128 -#define rpLTMAPMINLIGHTMAPSIZE 16 -#define rpLTMAPMAXLIGHTMAPSIZE 512/*?? any better way of determining this ??*/ - -#define rpLTMAPMAXPREFIXSTRINGLENGTH 4 - -#define rpLTMAPDEFAULTMAXAREALIGHTSAMPLESPERMESH 256 -/* The default tolerance for errors induced by area light ROIs is 1 - * (being the smallest difference in lightmap colour values) */ -#define rpLTMAPDEFAULTAREALIGHTROICUTOFF (1.0f) - - -/** - * \ingroup rpltmap - * \ref RpLtMapStyle - * Flags specifying the rendering style of the lightmap plugin. - * - * \see RpLtMapGetRenderStyle - * \see RpLtMapSetRenderStyle - */ -enum RpLtMapStyle -{ - rpLTMAPSTYLENASTYLE = 0x0, - - rpLTMAPSTYLERENDERBASE = 0x1, /**< The base texture should be rendered */ - rpLTMAPSTYLERENDERLIGHTMAP = 0x2, /**< The lightmap should be rendered */ - rpLTMAPSTYLEPOINTSAMPLE = 0x4, /**< The lightmap should be point-sampled */ - - rpLTMAPSTYLEFORCEENUMSIZEINT = 0x7FFFFFFF -}; -typedef enum RpLtMapStyle RpLtMapStyle; - - -#ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ - - -extern RwBool -RpLtMapPluginAttach(void); - -extern RxPipeline * -RpLtMapGetPlatformAtomicPipeline(void); -extern RxPipeline * -RpLtMapGetPlatformWorldSectorPipeline(void); - -extern RwBool -RpLtMapSetRenderStyle(RpLtMapStyle style, RpWorld *world); -extern RpLtMapStyle -RpLtMapGetRenderStyle(void); - -extern RwUInt32 -RpLtMapWorldLightMapsQuery(RpWorld *world); - -extern RwTexture * -RpLtMapWorldSectorGetLightMap(RpWorldSector *sector); -extern RpWorldSector * -RpLtMapWorldSectorSetLightMap(RpWorldSector *sector, RwTexture *lightMap); -extern RwTexture * -RpLtMapAtomicGetLightMap(RpAtomic *atomic); -extern RpAtomic * -RpLtMapAtomicSetLightMap(RpAtomic *atomic, RwTexture *lightMap); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* RPLTMAP_H */ - - |