port: fix long option names and whitespace

This commit is contained in:
fgsfds committed 2024-05-14 11:12:49 +02:00
1 parent 1a3f36f626
commit 70b02da163
7 files changed
+16 -16

No files matched your search

+4 -4
View File
@@ -1127,10 +1127,10 @@ Gfx *lvRender(Gfx *gdl)
chr->blurdrugamount = 0;
chr->blurnumtimesdied = 0;
}
#ifndef PLATFORM_N64 //set the drug blur to 0 if it's disabled in MP settings. There might be a better way to block it from occuring, but this one works just fine
if(g_Vars.mplayerisrunning && (g_MpSetup.options & MPOPTION_NODRUGBLUR))
{
#ifndef PLATFORM_N64
// reset the drug blur to 0 if it's disabled in MP settings
if (g_Vars.mplayerisrunning && (g_MpSetup.options & MPOPTION_NODRUGBLUR)) {
bluramount = 0;
}
#endif
@@ -65,7 +65,7 @@ struct menuitem g_CtcOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"Spawn With Weapon",
(uintptr_t)"Spawn With Gun",
MPOPTION_SPAWNWITHWEAPON,
menuhandlerMpCheckboxOption,
},
@@ -73,7 +73,7 @@ struct menuitem g_CtcOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"No melee/tranquilizer blur",
(uintptr_t)"No Drug Blur",
MPOPTION_NODRUGBLUR,
menuhandlerMpCheckboxOption,
},
+2 -2
View File
@@ -60,7 +60,7 @@ struct menuitem g_MpCombatOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"Spawn With Weapon",
(uintptr_t)"Spawn With Gun",
MPOPTION_SPAWNWITHWEAPON,
menuhandlerMpCheckboxOption,
},
@@ -68,7 +68,7 @@ struct menuitem g_MpCombatOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"No melee/tranquilizer blur",
(uintptr_t)"No Drug Blur",
MPOPTION_NODRUGBLUR,
menuhandlerMpCheckboxOption,
},
+2 -2
View File
@@ -63,7 +63,7 @@ struct menuitem g_HtmOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"Spawn With Weapon",
(uintptr_t)"Spawn With Gun",
MPOPTION_SPAWNWITHWEAPON,
menuhandlerMpCheckboxOption,
},
@@ -71,7 +71,7 @@ struct menuitem g_HtmOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"No melee/tranquilizer blur",
(uintptr_t)"No Drug Blur",
MPOPTION_NODRUGBLUR,
menuhandlerMpCheckboxOption,
},
@@ -63,7 +63,7 @@ struct menuitem g_HtbOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"Spawn With Weapon",
(uintptr_t)"Spawn With Gun",
MPOPTION_SPAWNWITHWEAPON,
menuhandlerMpCheckboxOption,
},
@@ -71,7 +71,7 @@ struct menuitem g_HtbOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"No melee/tranquilizer blur",
(uintptr_t)"No Drug Blur",
MPOPTION_NODRUGBLUR,
menuhandlerMpCheckboxOption,
},
+2 -2
View File
@@ -84,7 +84,7 @@ struct menuitem g_KohOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"Spawn With Weapon",
(uintptr_t)"Spawn With Gun",
MPOPTION_SPAWNWITHWEAPON,
menuhandlerMpCheckboxOption,
},
@@ -92,7 +92,7 @@ struct menuitem g_KohOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"No melee/tranquilizer blur",
(uintptr_t)"No Drug Blur",
MPOPTION_NODRUGBLUR,
menuhandlerMpCheckboxOption,
},
+2 -2
View File
@@ -61,7 +61,7 @@ struct menuitem g_PacOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"Spawn With Weapon",
(uintptr_t)"Spawn With Gun",
MPOPTION_SPAWNWITHWEAPON,
menuhandlerMpCheckboxOption,
},
@@ -69,7 +69,7 @@ struct menuitem g_PacOptionsMenuItems[] = {
MENUITEMTYPE_CHECKBOX,
0,
MENUITEMFLAG_LOCKABLEMINOR | MENUITEMFLAG_LITERAL_TEXT,
(uintptr_t)"No melee/tranquilizer blur",
(uintptr_t)"No Drug Blur",
MPOPTION_NODRUGBLUR,
menuhandlerMpCheckboxOption,
},