re3/src/RwHelper.h

28 lines
943 B
C
Raw Normal View History

2019-05-15 14:52:37 +00:00
#pragma once
2019-06-17 13:32:38 +00:00
void *RwMallocAlign(RwUInt32 size, RwUInt32 align);
void RwFreeAlign(void *mem);
2019-05-30 11:35:13 +00:00
void DefinedState(void);
RwFrame *GetFirstChild(RwFrame *frame);
2019-05-15 14:52:37 +00:00
RwObject *GetFirstObject(RwFrame *frame);
RpAtomic *GetFirstAtomic(RpClump *clump);
2019-06-23 17:59:58 +00:00
RwTexture *GetFirstTexture(RwTexDictionary *txd);
2019-06-13 09:57:43 +00:00
RwTexDictionary *RwTexDictionaryGtaStreamRead(RwStream *stream);
2019-06-13 10:25:55 +00:00
RwTexDictionary *RwTexDictionaryGtaStreamRead1(RwStream *stream);
RwTexDictionary *RwTexDictionaryGtaStreamRead2(RwStream *stream, RwTexDictionary *texDict);
2019-06-13 09:57:43 +00:00
bool RpClumpGtaStreamRead1(RwStream *stream);
RpClump *RpClumpGtaStreamRead2(RwStream *stream);
void RpClumpGtaCancelStream(void);
void CameraSize(RwCamera *camera,
RwRect *rect,
RwReal viewWindow,
RwReal aspectRatio);
void CameraDestroy(RwCamera *camera);
RwCamera *CameraCreate(RwInt32 width,
RwInt32 height,
RwBool zBuffer);