mirror of
https://github.com/ganelson/inform.git
synced 2024-06-26 04:00:43 +03:00
Disabling the census-mode command line switches
This commit is contained in:
parent
4f371adf22
commit
52584d8d23
|
@ -1,6 +1,6 @@
|
|||
# Inform 7
|
||||
|
||||
[Version](notes/versioning.md): 10.2.0-beta+6W77 'Krypton' (10 July 2023)
|
||||
[Version](notes/versioning.md): 10.2.0-beta+6W78 'Krypton' (11 July 2023)
|
||||
|
||||
## About Inform
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Prerelease: beta
|
||||
Build Date: 10 July 2023
|
||||
Build Number: 6W77
|
||||
Build Date: 11 July 2023
|
||||
Build Number: 6W78
|
||||
|
|
|
@ -158,7 +158,7 @@ better way to choose a virtual machine to compile to.
|
|||
CommandLine::declare_switch(O_CLSW, L"o", 2,
|
||||
L"use file X as the compiled output (not for use with -project)");
|
||||
CommandLine::declare_boolean_switch(CENSUS_CLSW, L"census", 1,
|
||||
L"perform an extensions census", FALSE);
|
||||
L"withdrawn: previously, 'perform an extensions census'", FALSE);
|
||||
CommandLine::declare_boolean_switch(RNG_CLSW, L"rng", 1,
|
||||
L"fix the random number generator of the story file (for testing)", FALSE);
|
||||
CommandLine::declare_switch(CASE_CLSW, L"case", 2,
|
||||
|
@ -291,7 +291,10 @@ void Supervisor::option(int id, int val, text_stream *arg, void *state) {
|
|||
break;
|
||||
}
|
||||
case O_CLSW: transpiled_output_file = Filenames::from_text(arg); break;
|
||||
case CENSUS_CLSW: census_mode = val; break;
|
||||
case CENSUS_CLSW:
|
||||
WRITE_TO(STDOUT, "(ignoring -census and -no-census, which have been withdrawn)\n");
|
||||
// census_mode = val;
|
||||
break;
|
||||
case PIPELINE_CLSW: inter_pipeline_name = Str::duplicate(arg); break;
|
||||
case PIPELINE_FILE_CLSW: inter_pipeline_file = Filenames::from_text(arg); break;
|
||||
case PIPELINE_VARIABLE_CLSW: @<Set a pipeline variable@>; break;
|
||||
|
|
|
@ -322,7 +322,7 @@ compiler via Delia scripts in |intest|.
|
|||
CommandLine::declare_boolean_switch(PROBLEMS_CLSW, L"problems", 1,
|
||||
L"produce (an HTML) Problems report page", TRUE);
|
||||
CommandLine::declare_boolean_switch(CENSUS_UPDATE_CLSW, L"census-update", 1,
|
||||
L"update the extensions census", TRUE);
|
||||
L"withdrawn: previously, 'update the extensions census'", TRUE);
|
||||
CommandLine::declare_boolean_switch(PROGRESS_CLSW, L"progress", 1,
|
||||
L"display progress percentages", TRUE);
|
||||
CommandLine::declare_boolean_switch(SIGILS_CLSW, L"sigils", 1,
|
||||
|
@ -355,7 +355,11 @@ void Main::switch(int id, int val, text_stream *arg, void *state) {
|
|||
index_explicitly_set = TRUE; break;
|
||||
case PROBLEMS_CLSW: Task::disable_or_enable_problems(val?FALSE:TRUE);
|
||||
problems_explicitly_set = TRUE; break;
|
||||
case CENSUS_UPDATE_CLSW: Task::disable_or_enable_census(val?FALSE:TRUE); break;
|
||||
case CENSUS_UPDATE_CLSW:
|
||||
WRITE_TO(STDOUT, "(ignoring -census-update and -no-census-update, "
|
||||
"which have been withdrawn)\n");
|
||||
// Task::disable_or_enable_census(val?FALSE:TRUE);
|
||||
break;
|
||||
case PROGRESS_CLSW: ProgressBar::enable_or_disable(val); break;
|
||||
case SIGILS_CLSW: ProblemSigils::echo_sigils(val); break;
|
||||
case REQUIRE_PROBLEM_CLSW: ProblemSigils::require(arg); break;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"is": {
|
||||
"type": "kit",
|
||||
"title": "Architecture16Kit",
|
||||
"version": "10.2.0-beta+6W77"
|
||||
"version": "10.2.0-beta+6W78"
|
||||
},
|
||||
"compatibility": "16-bit",
|
||||
"kit-details": {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"is": {
|
||||
"type": "kit",
|
||||
"title": "Architecture32Kit",
|
||||
"version": "10.2.0-beta+6W77"
|
||||
"version": "10.2.0-beta+6W78"
|
||||
},
|
||||
"compatibility": "32-bit",
|
||||
"kit-details": {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"is": {
|
||||
"type": "kit",
|
||||
"title": "BasicInformKit",
|
||||
"version": "10.2.0-beta+6W77"
|
||||
"version": "10.2.0-beta+6W78"
|
||||
},
|
||||
"needs": [ {
|
||||
"need": {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"is": {
|
||||
"type": "kit",
|
||||
"title": "CommandParserKit",
|
||||
"version": "10.2.0-beta+6W77"
|
||||
"version": "10.2.0-beta+6W78"
|
||||
},
|
||||
"needs": [ {
|
||||
"need": {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"is": {
|
||||
"type": "kit",
|
||||
"title": "EnglishLanguageKit",
|
||||
"version": "10.2.0-beta+6W77"
|
||||
"version": "10.2.0-beta+6W78"
|
||||
},
|
||||
"needs": [ {
|
||||
"need": {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"is": {
|
||||
"type": "kit",
|
||||
"title": "WorldModelKit",
|
||||
"version": "10.2.0-beta+6W77"
|
||||
"version": "10.2.0-beta+6W78"
|
||||
},
|
||||
"needs": [ {
|
||||
"need": {
|
||||
|
|
|
@ -479,7 +479,7 @@ int do_not_generate_problems = FALSE; /* Set by the |-no-problems| command line
|
|||
void Task::disable_or_enable_problems(int which) {
|
||||
do_not_generate_problems = which;
|
||||
}
|
||||
int do_not_update_census = FALSE; /* Set by the |-no-update-census| command line option */
|
||||
int do_not_update_census = TRUE; /* Set by the |-no-update-census| command line option */
|
||||
void Task::disable_or_enable_census(int which) {
|
||||
do_not_update_census = which;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue