2019-05-15 10:52:37 -04:00
|
|
|
#pragma once
|
|
|
|
|
2019-06-17 09:32:38 -04:00
|
|
|
void *RwMallocAlign(RwUInt32 size, RwUInt32 align);
|
|
|
|
void RwFreeAlign(void *mem);
|
|
|
|
|
2020-03-28 16:55:23 -04:00
|
|
|
void CreateDebugFont();
|
|
|
|
void DestroyDebugFont();
|
|
|
|
void FlushObrsPrintfs();
|
2019-05-30 07:35:13 -04:00
|
|
|
void DefinedState(void);
|
2019-06-12 14:07:37 -04:00
|
|
|
RwFrame *GetFirstChild(RwFrame *frame);
|
2019-05-15 10:52:37 -04:00
|
|
|
RwObject *GetFirstObject(RwFrame *frame);
|
2019-06-12 14:07:37 -04:00
|
|
|
RpAtomic *GetFirstAtomic(RpClump *clump);
|
2019-06-23 13:59:58 -04:00
|
|
|
RwTexture *GetFirstTexture(RwTexDictionary *txd);
|
2019-06-12 13:05:06 -04:00
|
|
|
|
2019-06-13 05:57:43 -04:00
|
|
|
RwTexDictionary *RwTexDictionaryGtaStreamRead(RwStream *stream);
|
2019-06-13 06:25:55 -04:00
|
|
|
RwTexDictionary *RwTexDictionaryGtaStreamRead1(RwStream *stream);
|
|
|
|
RwTexDictionary *RwTexDictionaryGtaStreamRead2(RwStream *stream, RwTexDictionary *texDict);
|
2020-03-22 10:23:40 -04:00
|
|
|
void ReadVideoCardCapsFile(uint32&, uint32&, uint32&, uint32&);
|
|
|
|
bool CheckVideoCardCaps(void);
|
|
|
|
void WriteVideoCardCapsFile(void);
|
|
|
|
void ConvertingTexturesScreen(uint32, uint32, const char*);
|
|
|
|
void DealWithTxdWriteError(uint32, uint32, const char*);
|
2020-03-28 16:55:23 -04:00
|
|
|
bool CreateTxdImageForVideoCard();
|
2019-06-13 06:25:55 -04:00
|
|
|
|
2019-06-13 05:57:43 -04:00
|
|
|
bool RpClumpGtaStreamRead1(RwStream *stream);
|
|
|
|
RpClump *RpClumpGtaStreamRead2(RwStream *stream);
|
|
|
|
void RpClumpGtaCancelStream(void);
|
|
|
|
|
2019-06-12 14:07:37 -04:00
|
|
|
void CameraSize(RwCamera *camera,
|
|
|
|
RwRect *rect,
|
|
|
|
RwReal viewWindow,
|
|
|
|
RwReal aspectRatio);
|
|
|
|
void CameraDestroy(RwCamera *camera);
|
|
|
|
RwCamera *CameraCreate(RwInt32 width,
|
|
|
|
RwInt32 height,
|
|
|
|
RwBool zBuffer);
|
2020-03-28 16:55:23 -04:00
|
|
|
|
|
|
|
|
|
|
|
void _TexturePoolsInitialise();
|
|
|
|
void _TexturePoolsShutdown();
|