Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case GameVersion::Main_1_4_1818624:
- PatchMap[PatchPoint::InitMouseCall] = 0x502b0c;
- PatchMap[PatchPoint::OeAppWindowedParam] = 0x4f7c6a;
- PatchMap[PatchPoint::OeAppInitWindowParams] = 0x555585;
- PatchMap[PatchPoint::RendInitrGLInitCall] = 0x531ed4;
- PatchMap[PatchPoint::RendSetModerGLInitCall] = 0x53f9b8;
- PatchMap[PatchPoint::RendFliprGLCall] = 0x5323c6;
- PatchMap[PatchPoint::LLSSizeOf] = 0x53fe67;
- PatchMap[PatchPoint::LLSConstructor] = 0x53fe85;
- PatchMap[PatchPoint::FovVariable] = 0x5ab504;
- PatchMap[PatchPoint::FovDoEffects1] = 0x4a37ce;
- PatchMap[PatchPoint::FovDoEffects2] = 0x59d1b0;
- PatchMap[PatchPoint::FovUndoPlayerZoom] = 0x4f4233;
- PatchMap[PatchPoint::FovDoPlayerZoom] = 0x4f42A4;
- PatchMap[PatchPoint::ZoomVariable] = 0x5ab508;
- PatchMap[PatchPoint::ZoomClearGameEffects] = 0x441faf;
- PatchMap[PatchPoint::ZoomDoRespawnZoomEffect] = 0x4bbac0;
- PatchMap[PatchPoint::ZoomInitLevel] = 0x446b18;
- PatchMap[PatchPoint::TimerGetTimeFunc] = 0x504900;
- PatchMap[PatchPoint::MemMallocSubFunc] = 0x564230;
- //mouse things
- PatchMap[PatchPoint::AppVar] = 0x63f15c;
- PatchMap[PatchPoint::DDIOMouseStateVar] = 0xe1d110;
- PatchMap[PatchPoint::DDIOMouseInitVar] = 0xe1d1b8;
- PatchMap[PatchPoint::DIMButtonsVar] = 0xe1d160;
- PatchMap[PatchPoint::MBQueueVar] = 0xe1d0c8;
- //sound things
- PatchMap[PatchPoint::SoundsVar] = 0xdfa8d8;
- PatchMap[PatchPoint::SoundFilesVar] = 0x0e0d1b8;
- PatchMap[PatchPoint::SoundLoadWaveFileFunc] = 0x501e60;
- //opengl renderer things
- PatchMap[PatchPoint::OpenGLPreferredStateVar] = 0x5b2640;
- PatchMap[PatchPoint::OpenGLStateVar] = 0xf3f340;
- PatchMap[PatchPoint::OpenGLDCVar] = 0xf40104;
- PatchMap[PatchPoint::OpenGLDCWndVar] = 0xf39368;
- PatchMap[PatchPoint::OpenGLPackedPixelsVar] = 0xf40114;
- PatchMap[PatchPoint::OpenGLMultitextureVar] = 0xf40118;
- PatchMap[PatchPoint::WindowGLVar] = 0x0f35a8c;
- PatchMap[PatchPoint::UseMultitextureVar] = 0xf35a73;
- PatchMap[PatchPoint::rGLSetupFunc] = 0x53ca20;
- PatchMap[PatchPoint::rGLCloseFunc] = 0x53d0a0;
- PatchMap[PatchPoint::rGLCheckExtensionFunc] = 0x53c560;
- PatchMap[PatchPoint::rGLInitCacheFunc] = 0x53c690;
- PatchMap[PatchPoint::rGLSetDefaultsFunc] = 0x53c7c0;
- PatchMap[PatchPoint::rGLInitMultitextureFunc] = 0x53c510;
- //opengl function pointers
- //TODO: these can be dropped and my code can wglGetProcAddress things myself.
- PatchMap[PatchPoint::DGLBegin] = 0xf40040;
- PatchMap[PatchPoint::DGLBindTexture] = 0xf40044;
- PatchMap[PatchPoint::DGLClear] = 0xf4004c;
- PatchMap[PatchPoint::DGLClearColor] = 0xf40050;
- PatchMap[PatchPoint::DGLColor4f] = 0xf40060;
- PatchMap[PatchPoint::DGLDisable] = 0xf40078;
- PatchMap[PatchPoint::DGLEnable] = 0xf40088;
- PatchMap[PatchPoint::DGLEnd] = 0xf40090;
- PatchMap[PatchPoint::DGLTexParameteri] = 0xf400dc;
- PatchMap[PatchPoint::DGLTexImage2D] = 0xf400d8;
- PatchMap[PatchPoint::DGLMatrixMode] = 0xf400b0;
- PatchMap[PatchPoint::DGLLoadIdentity] = 0xf400ac;
- PatchMap[PatchPoint::DGLOrtho] = 0xf400b4;
- PatchMap[PatchPoint::DGLViewport] = 0xf400f0;
- PatchMap[PatchPoint::DWGLGetProcAddress] = 0xf40038;
- return true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement