Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Nightly Builds => Topic started by: SirKnightly on June 03, 2021, 02:57:16 am

Title: Nightly: 03 June 2021 - Revision 22be402de
Post by: SirKnightly on June 03, 2021, 02:57:16 am
Here is the nightly for 03 June 2021 - Revision 22be402de



Group: Win32-SSE2
nightly_20210603_22be402de-builds-Win32-SSE2.zip (http://scp.indiegames.us/builds/nightly/20210603_22be402de/nightly_20210603_22be402de-builds-Win32-SSE2.zip) (Mirror (https://porphyrion.feralhosting.com/datacorder/builds/nightly/20210603_22be402de/nightly_20210603_22be402de-builds-Win32-SSE2.zip))


Group: Win64-SSE2
nightly_20210603_22be402de-builds-x64-SSE2.zip (http://scp.indiegames.us/builds/nightly/20210603_22be402de/nightly_20210603_22be402de-builds-x64-SSE2.zip) (Mirror (https://porphyrion.feralhosting.com/datacorder/builds/nightly/20210603_22be402de/nightly_20210603_22be402de-builds-x64-SSE2.zip))


Group: Linux
nightly_20210603_22be402de-builds-Linux.tar.gz (http://scp.indiegames.us/builds/nightly/20210603_22be402de/nightly_20210603_22be402de-builds-Linux.tar.gz) (Mirror (https://porphyrion.feralhosting.com/datacorder/builds/nightly/20210603_22be402de/nightly_20210603_22be402de-builds-Linux.tar.gz))

Code: [Select]
------------------------------------------------------------------------
commit 22be402de
Author: Asteroth
Commit: GitHub

    remove glowpoint 'depth' (#3455)
 code/model/modelrender.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

------------------------------------------------------------------------
commit 84133c42a
Author: Asteroth
Commit: GitHub

    fix ai_aims_from_center flag (#3467)
 code/ai/aicode.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

------------------------------------------------------------------------
commit df1c518c3
Author: Joshua Glatt
Commit: GitHub

    Validate user-provided values passed to Random::next() (#3464)
 code/parse/sexp.cpp              |  7 +++++++
 code/scripting/api/libs/base.cpp | 21 ++++++++++++++++-----
 2 files changed, 23 insertions(+), 5 deletions(-)
Title: Re: Nightly: 03 June 2021 - Revision 22be402de
Post by: Cyborg17 on June 03, 2021, 09:44:04 pm
More detailed explanations for these commits.

1) FRED: Validate user-provided values passed to Random::next()

When rand and rand-multiple sexps or the rand32 scripting functions are used, previously they would accept nonsense inputs like 0 or negative numbers.  This patch shows a warning if this is tried.

2) FSO:  fix ai_aims_from_center flag

Fixes this flag so that it actually works.  Previously, it would only help ai aim from the center point of their fighter when using gun convergence.

3) FSO:  remove glowpoint 'depth'

This gets rid of an odd portion of the glowpoint calculation that would separate the glowpoint from the model from certain distances and angles.