Page 1 of 1

BHSCode builds

Posted: Mon Jun 29, 2009 11:57
by Rachael
These builds are the latest ZDoom revision with bagheadspidey's changes. They include the following additional DECORATE action pointers:

A_RadiusPull(int force = 128, int distance = -1, bool affectsource = true);
A_SetAngle(float angle);
A_SetPitch(float pitch);
A_ScaleMomentum(float scale);
A_ChangeMomentum(float x = 0, float y = 0, float z = 0, bool relative_axes = 0, bool discard_old_momentum = 0);

Re: BHSCode builds

Posted: Tue Jun 30, 2009 8:22
by baghead
I've updated the patch with an A_ZoomFactor and related changes as requested here.

Here's a quick test actor:
Spoiler:

Re: BHSCode builds

Posted: Tue Jun 30, 2009 18:56
by Jimmy
Probably wrong thread, but... could another argument be added that if true makes the zoom instant rather than smooth?

Re: BHSCode builds

Posted: Tue Jun 30, 2009 19:26
by baghead
The zoom is already instant... the original fov properties FOV and DesiredFOV are not affected by this patch, so the smooth zooming stuff doesn't ever kick in. This just adds a modifier that is applied to the current FOV before it is sent to the renderer -- that way there's less chance for interference with other code. Smooth zooming will probably not be an option (but you can simulate it with clever decorate).

Re: BHSCode builds

Posted: Tue Jun 30, 2009 20:37
by Rachael
Since Randy already put this in over at ZDoom.org, there's no reason to put it in the community build.