REDIVIVUS

Proposals / #1287

Mac D2GFX_SetDefaultPerspectiveFactor: void __cdecl (void)

checked · by KierTaylor · submitted 2026-11-06

The Mac body has no argument reads. It checks the video mode (halt line 0xa8) and the perspective flag (halt 0xa9), then tail-jumps to renderer slot +0x78. The caller DRAW_DrawWorldUnit 0x001272c4 calls it bare. Matches the Windows twin 0x004f6830 (void (void), same two halts).

Changes 1, applied together

  1. Set prototype mac 0x002b553b

    signatureundefined D2GFX_SetDefaultPerspectiveFactor(void)→void D2GFX_SetDefaultPerspectiveFactor(void)
    conventionunknown→__cdecl