Change '-----' to '-' for empty slots in list menus for more classic authenticity

This commit is contained in:
UnknownShadow200 2021-12-04 09:48:50 +11:00
parent 0f5022d9bf
commit 6060af889f
2 changed files with 10 additions and 7 deletions

View File

@ -6,6 +6,7 @@ Listed below are all of the options supported in options.txt
|Name|Default|Description| |Name|Default|Description|
|--|--|--| |--|--|--|
`http-no-https`|`false`|Whether `https://` support is disabled<br>**Disabling means your account password is transmitted in plaintext** `http-no-https`|`false`|Whether `https://` support is disabled<br>**Disabling means your account password is transmitted in plaintext**
`https-verify`|`false`|Whether to validate 'https://' certificates returned by webservers<br>**Disabling this is a bad idea, but is still less bad than `http-no-https`**
### Text drawing options ### Text drawing options
|Name|Default|Description| |Name|Default|Description|
@ -103,6 +104,8 @@ Listed below are all of the options supported in options.txt
`cameramass`|`20`|How smooth the smooth camera is<br>Value must be between 1 and 100 `cameramass`|`20`|How smooth the smooth camera is<br>Value must be between 1 and 100
### Game options ### Game options
|Name|Default|Description|
|--|--|--|
./Game.c: Game_ClassicMode = Options_GetBool(OPT_CLASSIC_MODE, false); ./Game.c: Game_ClassicMode = Options_GetBool(OPT_CLASSIC_MODE, false);
./Game.c: Game_ClassicHacks = Options_GetBool(OPT_CLASSIC_HACKS, false); ./Game.c: Game_ClassicHacks = Options_GetBool(OPT_CLASSIC_HACKS, false);
./Game.c: Game_AllowCustomBlocks = Options_GetBool(OPT_CUSTOM_BLOCKS, true); ./Game.c: Game_AllowCustomBlocks = Options_GetBool(OPT_CUSTOM_BLOCKS, true);
@ -118,12 +121,12 @@ Listed below are all of the options supported in options.txt
|--|--|--| |--|--|--|
`hacks-hacksenabled`|`true`|Whether hacks are enabled at all<br>Has no effect in 'classic only' game mode `hacks-hacksenabled`|`true`|Whether hacks are enabled at all<br>Has no effect in 'classic only' game mode
`hacks-speedmultiplier`|`10.0`|Speed multiplier/factor when speedhacks are active<br>Multiplier must be between 0.1 and 50.0 `hacks-speedmultiplier`|`10.0`|Speed multiplier/factor when speedhacks are active<br>Multiplier must be between 0.1 and 50.0
./Entity.c: hacks->PushbackPlacing = Options_GetBool(OPT_PUSHBACK_PLACING, false); `hacks-pushbackplacing`|`false`|Whether to enable pushback placing mode
./Entity.c: hacks->NoclipSlide = Options_GetBool(OPT_NOCLIP_SLIDE, false); `hacks-noclipslide`|`false`|Whether to still slide for a bit after a movement button is released in noclip mode
./Entity.c: hacks->WOMStyleHacks = Options_GetBool(OPT_WOM_STYLE_HACKS, false); `hacks-womstylehacks`|`false`|Whether to enable WoM client style hacks (e.g. ludicrous triple jump)
./Entity.c: hacks->FullBlockStep = Options_GetBool(OPT_FULL_BLOCK_STEP, false); `hacks-fullblockstep`|`false`|Whether to automatically climb up 1.0 (default is only 0.5) tall blocks
./Entity.c: p->Physics.UserJumpVel = Options_GetFloat(OPT_JUMP_VELOCITY, 0.0f, 52.0f, 0.42f); `hacks-jumpvelocity`|`0.42`|Initial vertical velocity when you start a jump<br>Velocity must be between 0.0 and 52.0
./Entity.c: hackPermMsgs = Options_GetBool(OPT_HACK_PERM_MSGS, true); `hacks-perm-msgs`|`true`|Whether to show a message in chat if you attempt to use a currently disabled hack
## General rendering options ## General rendering options
|Name|Default|Description| |Name|Default|Description|

View File

@ -196,7 +196,7 @@ static struct Widget* list_widgets[10] = {
(struct Widget*)&ListScreen.done, NULL (struct Widget*)&ListScreen.done, NULL
}; };
#define LIST_MAX_VERTICES (9 * BUTTONWIDGET_MAX + TEXTWIDGET_MAX) #define LIST_MAX_VERTICES (9 * BUTTONWIDGET_MAX + TEXTWIDGET_MAX)
#define LISTSCREEN_EMPTY "-----" #define LISTSCREEN_EMPTY "-"
static void ListScreen_Layout(void* screen) { static void ListScreen_Layout(void* screen) {
struct ListScreen* s = (struct ListScreen*)screen; struct ListScreen* s = (struct ListScreen*)screen;