-
Notifications
You must be signed in to change notification settings - Fork 2
Making it more like Doom95
Alexandre-Xavier Labonté-Lamoureux edited this page Apr 28, 2017
·
1 revision
Go in r_main.c
and locate the following lines:
// psprite scales
pspritescale = FRACUNIT*viewwidth/SCREENWIDTH;
pspriteiscale = FRACUNIT*SCREENWIDTH/viewwidth;
Replace the sprite scaling calculation code with:
pspritescale = FRACUNIT*(viewwidth*1.2)/(SCREENWIDTH);
pspriteiscale = FRACUNIT*(SCREENWIDTH)/(viewwidth*1.2);
This will make the weapon sprite bigger and ugly, just like Doom95.
Go in i_sound.c
and locate the function I_StartSound
.
Replace the line return SFX_PlayPatch(data, sep, pitch, vol, 0, 100);
with return SFX_PlayPatch(data, 120, sep, vol, 0, 100);
.
Sounds will play at a lower pitch.