Guest User

Untitled

a guest
Apr 3rd, 2021
56
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     case GameVersion::Main_1_4_1818624:
  2.         PatchMap[PatchPoint::InitMouseCall] = 0x502b0c;
  3.         PatchMap[PatchPoint::OeAppWindowedParam] = 0x4f7c6a;
  4.         PatchMap[PatchPoint::OeAppInitWindowParams] = 0x555585;
  5.         PatchMap[PatchPoint::RendInitrGLInitCall] = 0x531ed4;
  6.         PatchMap[PatchPoint::RendSetModerGLInitCall] = 0x53f9b8;
  7.         PatchMap[PatchPoint::RendFliprGLCall] = 0x5323c6;
  8.         PatchMap[PatchPoint::LLSSizeOf] = 0x53fe67;
  9.         PatchMap[PatchPoint::LLSConstructor] = 0x53fe85;
  10.         PatchMap[PatchPoint::FovVariable] = 0x5ab504;
  11.         PatchMap[PatchPoint::FovDoEffects1] = 0x4a37ce;
  12.         PatchMap[PatchPoint::FovDoEffects2] = 0x59d1b0;
  13.         PatchMap[PatchPoint::FovUndoPlayerZoom] = 0x4f4233;
  14.         PatchMap[PatchPoint::FovDoPlayerZoom] = 0x4f42A4;
  15.         PatchMap[PatchPoint::ZoomVariable] = 0x5ab508;
  16.         PatchMap[PatchPoint::ZoomClearGameEffects] = 0x441faf;
  17.         PatchMap[PatchPoint::ZoomDoRespawnZoomEffect] = 0x4bbac0;
  18.         PatchMap[PatchPoint::ZoomInitLevel] = 0x446b18;
  19.         PatchMap[PatchPoint::TimerGetTimeFunc] = 0x504900;
  20.         PatchMap[PatchPoint::MemMallocSubFunc] = 0x564230;
  21.  
  22.         //mouse things
  23.         PatchMap[PatchPoint::AppVar] = 0x63f15c;
  24.         PatchMap[PatchPoint::DDIOMouseStateVar] = 0xe1d110;
  25.         PatchMap[PatchPoint::DDIOMouseInitVar] = 0xe1d1b8;
  26.         PatchMap[PatchPoint::DIMButtonsVar] = 0xe1d160;
  27.         PatchMap[PatchPoint::MBQueueVar] = 0xe1d0c8;
  28.  
  29.         //sound things
  30.         PatchMap[PatchPoint::SoundsVar] = 0xdfa8d8;
  31.         PatchMap[PatchPoint::SoundFilesVar] = 0x0e0d1b8;
  32.         PatchMap[PatchPoint::SoundLoadWaveFileFunc] = 0x501e60;
  33.  
  34.         //opengl renderer things
  35.         PatchMap[PatchPoint::OpenGLPreferredStateVar] = 0x5b2640;
  36.         PatchMap[PatchPoint::OpenGLStateVar] = 0xf3f340;
  37.         PatchMap[PatchPoint::OpenGLDCVar] = 0xf40104;
  38.         PatchMap[PatchPoint::OpenGLDCWndVar] = 0xf39368;
  39.         PatchMap[PatchPoint::OpenGLPackedPixelsVar] = 0xf40114;
  40.         PatchMap[PatchPoint::OpenGLMultitextureVar] = 0xf40118;
  41.         PatchMap[PatchPoint::WindowGLVar] = 0x0f35a8c;
  42.         PatchMap[PatchPoint::UseMultitextureVar] = 0xf35a73;
  43.         PatchMap[PatchPoint::rGLSetupFunc] = 0x53ca20;
  44.         PatchMap[PatchPoint::rGLCloseFunc] = 0x53d0a0;
  45.         PatchMap[PatchPoint::rGLCheckExtensionFunc] = 0x53c560;
  46.         PatchMap[PatchPoint::rGLInitCacheFunc] = 0x53c690;
  47.         PatchMap[PatchPoint::rGLSetDefaultsFunc] = 0x53c7c0;
  48.         PatchMap[PatchPoint::rGLInitMultitextureFunc] = 0x53c510;
  49.  
  50.         //opengl function pointers
  51.         //TODO: these can be dropped and my code can wglGetProcAddress things myself.
  52.         PatchMap[PatchPoint::DGLBegin] = 0xf40040;
  53.         PatchMap[PatchPoint::DGLBindTexture] = 0xf40044;
  54.         PatchMap[PatchPoint::DGLClear] = 0xf4004c;
  55.         PatchMap[PatchPoint::DGLClearColor] = 0xf40050;
  56.         PatchMap[PatchPoint::DGLColor4f] = 0xf40060;
  57.         PatchMap[PatchPoint::DGLDisable] = 0xf40078;
  58.         PatchMap[PatchPoint::DGLEnable] = 0xf40088;
  59.         PatchMap[PatchPoint::DGLEnd] = 0xf40090;
  60.         PatchMap[PatchPoint::DGLTexParameteri] = 0xf400dc;
  61.         PatchMap[PatchPoint::DGLTexImage2D] = 0xf400d8;
  62.         PatchMap[PatchPoint::DGLMatrixMode] = 0xf400b0;
  63.         PatchMap[PatchPoint::DGLLoadIdentity] = 0xf400ac;
  64.         PatchMap[PatchPoint::DGLOrtho] = 0xf400b4;
  65.         PatchMap[PatchPoint::DGLViewport] = 0xf400f0;
  66.         PatchMap[PatchPoint::DWGLGetProcAddress] = 0xf40038;
  67.  
  68.         return true;
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×