Remove hacky way of injecting PS2 matfx on RW 3.3, remove static patcher

This commit is contained in:
Sergeanur 2020-07-22 03:23:12 +03:00
parent d596f979aa
commit 7d51995640
8 changed files with 105 additions and 259 deletions

View file

@ -149,6 +149,10 @@ CGame::InitialiseOnceBeforeRW(void)
return true;
}
#if !defined(LIBRW) && defined(PS2_MATFX)
void ReplaceMatFxCallback();
#endif
bool
CGame::InitialiseRenderWare(void)
{
@ -199,6 +203,8 @@ CGame::InitialiseRenderWare(void)
#else
rw::MatFX::modulateEnvMap = false;
#endif
#elif defined(PS2_MATFX)
ReplaceMatFxCallback();
#endif
CFont::Initialise();