summaryrefslogtreecommitdiffstats
path: root/src/rw/RwHelper.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-20 12:53:17 +0200
committeraap <aap@papnet.eu>2020-08-20 12:53:17 +0200
commit764af8735c00a7f40a51f605fed3c73ce6413337 (patch)
tree3009c3e5da4a39e7e64446e654ee3689b8e91632 /src/rw/RwHelper.h
parenttransmission done (diff)
downloadre3-764af8735c00a7f40a51f605fed3c73ce6413337.tar
re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar.gz
re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar.bz2
re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar.lz
re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar.xz
re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar.zst
re3-764af8735c00a7f40a51f605fed3c73ce6413337.zip
Diffstat (limited to 'src/rw/RwHelper.h')
-rw-r--r--src/rw/RwHelper.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rw/RwHelper.h b/src/rw/RwHelper.h
index 3f1a3d19..cbcbb2e0 100644
--- a/src/rw/RwHelper.h
+++ b/src/rw/RwHelper.h
@@ -18,16 +18,13 @@ RwObject *GetFirstObject(RwFrame *frame);
RpAtomic *GetFirstAtomic(RpClump *clump);
RwTexture *GetFirstTexture(RwTexDictionary *txd);
-#ifdef PED_SKIN
-RpAtomic *IsClumpSkinned(RpClump *clump);
+bool IsClumpSkinned(RpClump *clump);
RpHAnimHierarchy *GetAnimHierarchyFromSkinClump(RpClump *clump); // get from atomic
RpHAnimHierarchy *GetAnimHierarchyFromClump(RpClump *clump); // get from frame
-RwFrame *GetHierarchyFromChildNodesCB(RwFrame *frame, void *data);
void SkinGetBonePositionsToTable(RpClump *clump, RwV3d *boneTable);
RpHAnimAnimation *HAnimAnimationCreateForHierarchy(RpHAnimHierarchy *hier);
RpAtomic *AtomicRemoveAnimFromSkinCB(RpAtomic *atomic, void *data);
void RenderSkeleton(RpHAnimHierarchy *hier);
-#endif
RwBool Im2DRenderQuad(RwReal x1, RwReal y1, RwReal x2, RwReal y2, RwReal z, RwReal recipCamZ, RwReal uvOffset);
RpClump *RpClumpGetBoundingSphere(RpClump *clump, RwSphere *sphere, bool useLTM);
@@ -38,6 +35,7 @@ RwTexDictionary *RwTexDictionaryGtaStreamRead2(RwStream *stream, RwTexDictionary
void ReadVideoCardCapsFile(uint32&, uint32&, uint32&, uint32&);
bool CheckVideoCardCaps(void);
void WriteVideoCardCapsFile(void);
+bool CanVideoCardDoDXT(void);
void ConvertingTexturesScreen(uint32, uint32, const char*);
void DealWithTxdWriteError(uint32, uint32, const char*);
bool CreateTxdImageForVideoCard();