Author Topic: Nightly: 31 January 2021 - Revision b3edc683f  (Read 762 times)

0 Members and 1 Guest are viewing this topic.

Offline SirKnightly

  • George or Keira?
  • 212
Nightly: 31 January 2021 - Revision b3edc683f
Here is the nightly for 31 January 2021 - Revision b3edc683f



Group: Win64-SSE2
nightly_20210131_b3edc683f-builds-x64-SSE2.zip (Mirror)


Group: Linux
nightly_20210131_b3edc683f-builds-Linux.tar.gz (Mirror)


Group: Win32-SSE2
nightly_20210131_b3edc683f-builds-Win32-SSE2.zip (Mirror)

Code: [Select]
------------------------------------------------------------------------
commit 9b42819dc
Author: z64555
Commit: z64555

    Address Clang-Tidy issues.
 code/controlconfig/controlsconfig.cpp       |  2 +-
 code/controlconfig/controlsconfig.h         |  4 +---
 code/controlconfig/controlsconfigcommon.cpp |  8 ++++----
 code/globalincs/undosys.cpp                 | 22 +++++++++++-----------
 code/globalincs/undosys.h                   |  8 ++++----
 5 files changed, 21 insertions(+), 23 deletions(-)

------------------------------------------------------------------------
commit c1d1a965c
Author: z64555
Commit: z64555

    Think I got all of the index swapped. *Scrolls right* oh.
 code/controlconfig/controlsconfig.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

------------------------------------------------------------------------
commit b97e80412
Author: z64555
Commit: z64555

    Address signed/unsigned complaint.
 code/controlconfig/controlsconfig.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

------------------------------------------------------------------------
commit d6672d01c
Author: z64555
Commit: z64555

    Don't count an item in the reset check if the item is disabled. * Remove errant Assert() * Drop leading whitespace of preset $Name field * Fix do_reset behavior due to incorrect default binding check.  Fix is possibly a backport. * When $Text is specified for a bind item, set the XStr index to 0.
 code/controlconfig/controlsconfig.cpp       | 13 ++++++++++---
 code/controlconfig/controlsconfigcommon.cpp |  2 ++
 2 files changed, 12 insertions(+), 3 deletions(-)

------------------------------------------------------------------------
commit 392148f84
Author: z64555
Commit: z64555

    Fix crash in unit tests due to uninitialized Control_config vector.
 test/src/pilotfile/plr.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

------------------------------------------------------------------------
commit 577ae9502
Author: z64555
Commit: z64555

    Use ints instead of size_t because CI said so.
 code/controlconfig/controlsconfig.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

------------------------------------------------------------------------
commit 968d76431
Author: z64555
Commit: z64555

    Missing an amp.
 code/controlconfig/controlsconfigcommon.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

------------------------------------------------------------------------
commit c2408839d
Author: z64555
Commit: z64555

    Fix out of bounds error due to dynamic containers cleared at wrong spot.
 code/controlconfig/controlsconfig.cpp | 6 ------
 1 file changed, 6 deletions(-)

------------------------------------------------------------------------
commit a03af2e4a
Author: z64555
Commit: z64555

    Re-enables the undo feature in the controls config menu.
 code/controlconfig/controlsconfig.cpp | 118 ++++++++++++++++++++++++----------
 1 file changed, 84 insertions(+), 34 deletions(-)

------------------------------------------------------------------------
commit aec7589b9
Author: z64555
Commit: z64555

    Tweak Undo_item::save to correctly save a reference as a pointer * Remove two uncessary Assets.  operator new should throw an exception should it fail. * Move template functions into .h.  This resolves instancing problems when trying to define them in a .cpp * Add Undo_system::empty() and ::empty_redo() for checking if an ::undo() or ::redo() is possible.
 code/globalincs/undosys.cpp | 41 ++++++++++-------------------------------
 code/globalincs/undosys.h   | 35 ++++++++++++++++++++++++++++++++---
 2 files changed, 42 insertions(+), 34 deletions(-)

------------------------------------------------------------------------
commit e1974d1b5
Author: z64555
Commit: z64555

    Fix potential issue where Undo_stacks delete tracked items when going out of scope, even after the items were passed onto an Undo_system
 code/globalincs/undosys.cpp | 78 ++++++++++++++++++++++++---------------------
 code/globalincs/undosys.h   | 36 +++++++++++++++++++--
 2 files changed, 76 insertions(+), 38 deletions(-)

------------------------------------------------------------------------
commit bc7809de4
Author: z64555
Commit: z64555

    Undo_system::save_stack() now ignores empty stacks passed to it.  No need to check for stack size before saving. * Implement Undo_stack::size() * Spellcheck in undosys.h
 code/globalincs/undosys.cpp |  8 ++++++++
 code/globalincs/undosys.h   | 17 ++++++++++++-----
 2 files changed, 20 insertions(+), 5 deletions(-)

------------------------------------------------------------------------
commit f23a72e22
Author: z64555
Commit: z64555

    Minor changes
 code/globalincs/undosys.cpp |  2 +-
 code/globalincs/undosys.h   | 11 ++++-------
 2 files changed, 5 insertions(+), 8 deletions(-)

------------------------------------------------------------------------
commit 45a45a4ef
Author: z64555
Commit: z64555

    Remove licensing.
 code/globalincs/undosys.cpp | 3 ---
 code/globalincs/undosys.h   | 3 ---
 2 files changed, 6 deletions(-)

------------------------------------------------------------------------
commit 7e9ce1c9f
Author: z64555
Commit: z64555

    Initial draft of the instruction documentation
 code/globalincs/undosys.cpp | 16 +++++++++--
 code/globalincs/undosys.h   | 65 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+), 2 deletions(-)

------------------------------------------------------------------------
commit dce37d529
Author: z64555
Commit: z64555

    Adds ability to save a stack of undo operations as a single undo-op within the system
 code/globalincs/undosys.cpp | 71 +++++++++++++++++++++++++++++++++++++++++++++
 code/globalincs/undosys.h   | 48 +++++++++++++++++++++++++++++-
 2 files changed, 118 insertions(+), 1 deletion(-)

------------------------------------------------------------------------
commit f528b3caa
Author: z64555
Commit: z64555

    Changes the system so that the undo() and redo() functions return references to the changed item and its container (if it was specified at launch). This should allow client code to quickly find and access it on its end by comparing pointer values.
 code/globalincs/undosys.cpp | 38 +++++++++++++++++++++++++++--------
 code/globalincs/undosys.h   | 48 ++++++++++++++++++++++++++++++++++++---------
 2 files changed, 69 insertions(+), 17 deletions(-)

------------------------------------------------------------------------
commit 492320f8d
Author: z64555
Commit: z64555

    z64555's Undo system! This is a generic undo system, so you can save any single item type (not C arrays) and do undo/redo stuff on them.
 code/globalincs/undosys.cpp |  71 +++++++++++++++++++++++++
 code/globalincs/undosys.h   | 123 ++++++++++++++++++++++++++++++++++++++++++++
 code/source_groups.cmake    |   2 +
 3 files changed, 196 insertions(+)

------------------------------------------------------------------------
commit 636b4b12e
Author: z64555
Commit: z64555

    Vectorize control_config::Conflicts
 code/controlconfig/controlsconfig.cpp | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

------------------------------------------------------------------------
commit 93c96b894
Author: z64555
Commit: z64555

    Re-enable display of current selected preset.
 code/controlconfig/controlsconfig.cpp | 99 +++++++++++++++++++++--------------
 1 file changed, 59 insertions(+), 40 deletions(-)

------------------------------------------------------------------------
commit d1f94c7b9
Author: z64555
Commit: z64555

    Fix overwrite check. Add check for cfile open correctly.
 code/controlconfig/controlsconfigcommon.cpp | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

------------------------------------------------------------------------
commit 74ffcb2db
Author: z64555
Commit: z64555

    Print "NONE" instead of "-1" For unbound keys.
 code/controlconfig/controlsconfigcommon.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

------------------------------------------------------------------------
commit c7112fd89
Author: z64555
Commit: z64555

    Adds function to write controlconfigdefaults.tbl using the default preset at time of call. * Adds DC function 'write_ccd' to write the .tbl * Adds DC function 'load_ccd' to reload the .tbl
 code/controlconfig/controlsconfigcommon.cpp | 149 +++++++++++++++++++++++++++-
 1 file changed, 144 insertions(+), 5 deletions(-)

------------------------------------------------------------------------
commit 1bb9ed883
Author: z64555
Commit: z64555

    Remove unused variable for catch clause.
 code/controlconfig/controlsconfigcommon.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

------------------------------------------------------------------------
commit 23f85da58
Author: z64555
Commit: z64555

    Move typedef after the declaration of the struct it uses.
 code/controlconfig/controlsconfig.h | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

------------------------------------------------------------------------
commit f163f56c1
Author: z64555
Commit: z64555

    Cleanup controlsconfig.h and refactor some loops.
 code/controlconfig/controlsconfig.cpp       |  26 +--
 code/controlconfig/controlsconfig.h         | 275 +++++++++++++++++++---------
 code/controlconfig/controlsconfigcommon.cpp |   8 -
 3 files changed, 195 insertions(+), 114 deletions(-)

------------------------------------------------------------------------
commit 9c03e8c06
Author: z64555
Commit: z64555

    Remove dead comment.
 code/controlconfig/controlsconfigcommon.cpp | 7 -------
 1 file changed, 7 deletions(-)

------------------------------------------------------------------------
commit 92a76c05e
Author: z64555
Commit: z64555

    Adds ability for mod devs to change the naming of a control as it shows up in the config menu. * Presets start from a clean slate, while Overrides inherite from hardcode defaults
 code/controlconfig/controlsconfigcommon.cpp | 39 ++++++++++++++++++-----------
 1 file changed, 25 insertions(+), 14 deletions(-)

------------------------------------------------------------------------
commit 730ab835a
Author: z64555
Commit: z64555

    Add #ControlConfigPreset section to controlconfigdefault.tbl and allow multiple sections in the .tbl * This is a section that only configures the bindings for a preset.  Allowing mod devs to add presets instead of just the overrides * Added ability to resume parsing should a Binding not be found
 code/controlconfig/controlsconfigcommon.cpp | 124 +++++++++++++++++-----------
 1 file changed, 76 insertions(+), 48 deletions(-)

------------------------------------------------------------------------
commit ef89a4aa3
Author: z64555
Commit: z64555

    Refactor and cleanup control_config_common_load_overrides. * Mod devs now have the option to override hardcoded defaults
 code/controlconfig/controlsconfigcommon.cpp | 246 +++++++++++++++-------------
 1 file changed, 134 insertions(+), 112 deletions(-)

------------------------------------------------------------------------
commit f9474cf77
Author: z64555
Commit: z64555

    Refactor defaults. * Hardcoded default bindings are now a preset * rename controls_config_init_bindings() to control_config_common_init_bindings() for consistancy
 code/controlconfig/controlsconfig.cpp       | 64 +++++++++--------------------
 code/controlconfig/controlsconfig.h         | 21 ++++++++--
 code/controlconfig/controlsconfigcommon.cpp | 30 ++++++++++----
 3 files changed, 58 insertions(+), 57 deletions(-)

------------------------------------------------------------------------
commit 96382b47e
Author: z64555
Commit: z64555

    Initial work on presets and default keybinds.  Defaults will be moved into a preset instead of lingering in the bindings vector, this may cause issues with training messages that reference controls by default keybinds.
 code/controlconfig/controlsconfigcommon.cpp | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

------------------------------------------------------------------------
commit 99dfdf07a
Author: z64555
Commit: z64555

    Refactor control_config_list_prepare() Default Disable Non-retail controls Expand CC_lines buffer to include NUM_JOY_AXIS_ACTIONS
 code/controlconfig/controlsconfig.cpp       | 30 ++++++++++++++++-------------
 code/controlconfig/controlsconfig.h         |  2 +-
 code/controlconfig/controlsconfigcommon.cpp | 14 +++++++-------
 3 files changed, 25 insertions(+), 21 deletions(-)

------------------------------------------------------------------------
commit 62fa76d65
Author: z64555
Commit: z64555

    Fix wrong reference to array size. Init Cc_lines, which is now dynamic De-init Cc_lines and Control_config_backup when closing the menu.
 code/controlconfig/controlsconfig.cpp       | 16 ++++++++++++----
 code/controlconfig/controlsconfig.h         |  4 ++--
 code/controlconfig/controlsconfigcommon.cpp |  4 ++++
 3 files changed, 18 insertions(+), 6 deletions(-)

------------------------------------------------------------------------
commit 1a482cab4
Author: z64555
Commit: z64555

    Remove Joy_table declaration for later PR..
 code/controlconfig/controlsconfig.h | 2 --
 1 file changed, 2 deletions(-)

------------------------------------------------------------------------
commit ec61af7e1
Author: z64555
Commit: z64555

    Revert obliteration of magic number.
 code/pilotfile/plr_convert.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

------------------------------------------------------------------------
commit d8d4e9ed2
Author: z64555
Commit: z64555

    Disable Presets and Undo capabilities. Only reset_all was spared. * Revert Joy_axis_action_index changes.  Feature to be added later * Strip out most of the preset and undo capability.  Only the backup ability survived.
 code/controlconfig/controlsconfig.cpp       | 334 ++++++++--------------------
 code/controlconfig/controlsconfig.h         |  21 +-
 code/controlconfig/controlsconfigcommon.cpp |  43 ++--
 code/gamehelp/gameplayhelp.cpp              |   5 +-
 code/mission/missiontraining.cpp            |   2 +-
 code/pilotfile/pilotfile_convert.h          |   6 +-
 code/pilotfile/plr_convert.cpp              |   6 +-
 code/scripting/scripting.cpp                |   2 +-
 8 files changed, 145 insertions(+), 274 deletions(-)

------------------------------------------------------------------------
commit 38df849e6
Author: z64555
Commit: z64555

    Change Control_config array to an SCP_vector * Hardcoded bindings are done at run-time instead of assignment * Created a map that should retain backward compatibility with controlconfigdefaults.tbl and playerfiles, since a reorganization of the controls in the code is planned and would break compatibility.
 code/controlconfig/controlsconfig.cpp       |  12 +-
 code/controlconfig/controlsconfig.h         | 119 ++++-
 code/controlconfig/controlsconfigcommon.cpp | 696 +++++++++++++++++++++-------
 3 files changed, 638 insertions(+), 189 deletions(-)

------------------------------------------------------------------------
commit 8c9a6d049
Author: Baezon
Commit: Baezon

    use armor types for beam-weapon damage
 code/weapon/beam.cpp | 6 ++++++
 1 file changed, 6 insertions(+)