entryway
Forum Staple
Posts: 2675
Registered: 01-04 |
Quasar said:
The release version of Doom was compiled with RANGECHECK defined? o_O O_o o_O O_o O_O
Yes of course. Vanilla shows the messages like:
R_DrawPlanes: drawsegs overflow (%i),
R_DrawPlanes: visplane overflow (%i),
etc.
code: .000464C0 R_DrawPlanes proc near ; CODE XREF: R_RenderPlayerView+2Ep
.000464C0
.000464C0 var_4 = dword ptr -4
.000464C0
.000464C0 push ebx
.000464C1 push ecx
.000464C2 push edx
.000464C3 push esi
.000464C4 push edi
.000464C5 push ebp
.000464C6 sub esp, 4
.000464C9 mov edx, ds_p
.000464CF sub edx, offset drawsegs
.000464D5 mov ebx, 30h ; '0'
.000464DA mov eax, edx
.000464DC sar edx, 1Fh
.000464DF idiv ebx
.000464E1 cmp eax, 100h
.000464E6 jle short loc_464F6
.000464E8 push eax
.000464E9 push offset aR_drawplanesDr ; "R_DrawPlanes: drawsegs overflow (%i)"
.000464EE call I_Error
heretic.exe does not have these phrases inside, but sources have it as well as in Doom
Last edited by entryway on 04-03-07 at 15:18
|