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 14, 2021, 01:47:41 am

Title: Nightly: 14 June 2021 - Revision 84ceae724
Post by: SirKnightly on June 14, 2021, 01:47:41 am
Here is the nightly for 14 June 2021 - Revision 84ceae724



Group: Win64-SSE2
nightly_20210614_84ceae724-builds-x64-SSE2.zip (http://scp.indiegames.us/builds/nightly/20210614_84ceae724/nightly_20210614_84ceae724-builds-x64-SSE2.zip) (Mirror (https://porphyrion.feralhosting.com/datacorder/builds/nightly/20210614_84ceae724/nightly_20210614_84ceae724-builds-x64-SSE2.zip))


Group: Linux
nightly_20210614_84ceae724-builds-Linux.tar.gz (http://scp.indiegames.us/builds/nightly/20210614_84ceae724/nightly_20210614_84ceae724-builds-Linux.tar.gz) (Mirror (https://porphyrion.feralhosting.com/datacorder/builds/nightly/20210614_84ceae724/nightly_20210614_84ceae724-builds-Linux.tar.gz))


Group: Win32-SSE2
nightly_20210614_84ceae724-builds-Win32-SSE2.zip (http://scp.indiegames.us/builds/nightly/20210614_84ceae724/nightly_20210614_84ceae724-builds-Win32-SSE2.zip) (Mirror (https://porphyrion.feralhosting.com/datacorder/builds/nightly/20210614_84ceae724/nightly_20210614_84ceae724-builds-Win32-SSE2.zip))

Code: [Select]
------------------------------------------------------------------------
commit c47518ec6
Author: Joshua Glatt
Commit: GitHub

    karajorma's SEXP containers, Part 3: 'Add/Modify Container' FRED dialog (#3463)
 fred2/CMakeLists.txt            |   4 +
 fred2/addmodifycontainerdlg.cpp | 884 ++++++++++++++++++++++++++++++++++++++++
 fred2/addmodifycontainerdlg.h   |  97 +++++
 fred2/editcontainernamedlg.cpp  |  57 +++
 fred2/editcontainernamedlg.h    |  34 ++
 fred2/fred.rc                   |  72 +++-
 fred2/resource.h                |  30 +-
 fred2/resource.hm               |   9 +-
 fred2/sexp_tree.cpp             |  26 ++
 fred2/sexp_tree.h               |   5 +-
 10 files changed, 1210 insertions(+), 8 deletions(-)

------------------------------------------------------------------------
commit 131fadfab
Author: Goober5000
Commit: Goober5000

    fix to #3476
 code/object/objectsnd.cpp          | 6 ++++--
 code/object/objectsnd.h            | 2 +-
 code/scripting/api/objs/object.cpp | 2 ++
 3 files changed, 7 insertions(+), 3 deletions(-)
Title: Re: Nightly: 14 June 2021 - Revision 84ceae724
Post by: jg18 on June 14, 2021, 10:44:51 am
This nightly adds a new "Add/Modify Container" FRED dialog, which you can reach from the right-click menu in FRED's Events Editor.

SEXP containers support storing/retrieving data in much more sophisticated ways than what variables can do. They'll allow for making missions that would otherwise be infeasible.

Containers come in two types: list (aka "linked list") and map (aka "unordered map"/"hash map"/"dictionary").

Right now, all you can do is save/load containers in FRED. Any nightly after June 1 can load containers, but the game can't (yet!) do anything with them.

Many more features, including a bunch of new SEXPs, will be rolled out over the coming months. Stay tuned.

Karajorma and I will work on documenting containers and writing tutorials.

If you're open to trying out the new dialog, we'd love to get your feedback. :)

For support, bug reports, or feature requests, you can post in the containers thread (https://www.hard-light.net/forums/index.php?topic=97412.0) and/or post on the #scp channel on HLP Discord and @ tag both me and Karajorma.

Special thanks to Goober5000 for his thorough PR reviews. The code is much better for them. :yes:

[attachment deleted to save space]