Add progsigs info to SLXI chunk, move setting to PATX chunk.
This commit is contained in:
@@ -45,6 +45,7 @@ std::vector<uint32> _sl_xv_discardable_chunk_ids; ///< list of chunks
|
||||
static const uint32 _sl_xv_slxi_chunk_version = 0; ///< current version os SLXI chunk
|
||||
|
||||
const SlxiSubChunkInfo _sl_xv_sub_chunk_infos[] = {
|
||||
{ XSLFI_PROG_SIGS, XSCF_NULL, 1, 1, "programmable_signals", NULL, NULL, "SPRG" },
|
||||
{ XSLFI_NULL, XSCF_NULL, 0, 0, NULL, NULL, NULL, NULL },// This is the end marker
|
||||
};
|
||||
|
||||
|
@@ -21,6 +21,7 @@
|
||||
*/
|
||||
enum SlXvFeatureIndex {
|
||||
XSLFI_NULL = 0, ///< Unused value, to indicate that no extended feature test is in use
|
||||
XSLFI_PROG_SIGS, ///< programmable signals patch
|
||||
|
||||
XSLFI_SIZE, ///< Total count of features, including null feature
|
||||
};
|
||||
|
@@ -1464,8 +1464,6 @@ cat = SC_EXPERT
|
||||
base = GameSettings
|
||||
var = construction.maximum_signal_evaluations
|
||||
type = SLE_UINT16
|
||||
from = 200
|
||||
to = SL_MAX_VERSION
|
||||
def = 256
|
||||
min = 64
|
||||
max = 4096
|
||||
@@ -1474,6 +1472,8 @@ str = STR_CONFIG_SETTING_MAX_SIGNAL_EVALUATIONS
|
||||
strhelp = STR_CONFIG_SETTING_MAX_SIGNAL_EVALUATIONS_HELPTEXT
|
||||
strval = STR_JUST_COMMA
|
||||
cat = SC_EXPERT
|
||||
extver = SlXvFeatureTest(XSLFTO_AND, XSLFI_PROG_SIGS)
|
||||
patxname = ""programmable_signals.construction.maximum_signal_evaluations""
|
||||
|
||||
; previously ai-new setting.
|
||||
[SDT_NULL]
|
||||
|
Reference in New Issue
Block a user