Skip to content

Commit 99bca45

Browse files
committed
docs: cvars
1 parent 339f112 commit 99bca45

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

docs/cvars.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@
170170
|sar_demo_blacklist|0|Stop a set of commands from being run by demo playback.|
171171
|sar_demo_blacklist_addcmd|cmd|sar_demo_blacklist_addcmd \<command> - add a command to the demo blacklist|
172172
|sar_demo_blacklist_all|0|Stop all commands from being run by demo playback.|
173+
|sar_demo_clean_start|0|Attempts to minimize visual interpolation of some elements (like post-processing or lighting) when demo playback begins.|
174+
|sar_demo_clean_start_tonemap|0|Overrides initial tonemap scalar value used in auto-exposure.<br>Setting it to 0 will attempt to skip over to target value for several ticks.|
175+
|sar_demo_clean_start_tonemap_sample|cmd|sar_demo_clean_start_tonemap_sample [tick] - samples tonemap scale from current demo at given tick and stores it in "sar_demo_clean_start_tonemap" variable. If no tick is given, sampling will happen when `__END__` is seen in demo playback.|
173176
|sar_demo_overwrite_bak|0|Rename demos to (name)_bak if they would be overwritten by recording|
174177
|sar_demo_portal_interp_fix|1|Fix eye interpolation through portals in demo playback.|
175178
|sar_demo_remove_broken|1|Whether to remove broken frames from demo playback|
@@ -262,7 +265,7 @@
262265
|sar_hud_ghost_spec|0|Show the name of the ghost you're currently spectating.|
263266
|sar_hud_grounded|0|Draws the state of player being on ground.|
264267
|sar_hud_groundframes|0|Draws the number of ground frames since last landing. Setting it to 2 preserves the value.|
265-
|sar_hud_groundspeed|0|Draw the speed of the player upon leaving the ground.<br>0 = Default,<br>1 = Groundspeed,<br>2 = Groundspeed (Gain)|
268+
|sar_hud_groundspeed|0|Draw the speed of the player upon leaving the ground.<br>0 = Default<br>1 = Groundspeed<br>2 = Groundspeed (Gain)|
266269
|sar_hud_hide_text|cmd|sar_hud_hide_text \<id\|all> - hides the nth text value in the HUD|
267270
|sar_hud_inspection|0|Draws entity inspection data.|
268271
|sar_hud_jump|0|Draws current jump distance.|

src/Features/Demo/DemoPlaybackCleanStart.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Variable sar_demo_clean_start("sar_demo_clean_start", "0", 0,
88
"Attempts to minimize visual interpolation of some elements (like post-processing or lighting) when demo playback begins.\n", 0);
99
Variable sar_demo_clean_start_tonemap("sar_demo_clean_start_tonemap", "0", 0,
10-
"Overrides initial tonemap scalar value used in auto-exposure."
10+
"Overrides initial tonemap scalar value used in auto-exposure.\n"
1111
"Setting it to 0 will attempt to skip over to target value for several ticks.\n", 0);
1212

1313

@@ -116,7 +116,7 @@ void forceProjectedTexturesTargetColor() {
116116
CON_COMMAND(sar_demo_clean_start_tonemap_sample,
117117
"sar_demo_clean_start_tonemap_sample [tick] - samples tonemap scale from current demo "
118118
"at given tick and stores it in \"sar_demo_clean_start_tonemap\" variable. "
119-
"If no tick is given, sampling will happen when __END__ is seen in demo playback.") {
119+
"If no tick is given, sampling will happen when `__END__` is seen in demo playback.\n") {
120120
if (args.ArgC() > 2) {
121121
return console->Print(sar_demo_clean_start_tonemap_sample.ThisPtr()->m_pszHelpString);
122122
}

src/Features/Tas/TasTools/StopTool.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22
#include "../TasTool.hpp"
3+
#include <cstdint>
34

45
struct StopToolParams : public TasToolParams {
56
uint32_t typesToDisableMask;

0 commit comments

Comments
 (0)