mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix incorrect color code
Added FCVAR_DEVELOPMENTONLY | FCVAR_HIDDEN and fixed FCVAR_DEVELOPMENTONLY | FCVAR_CLIENTDLL
This commit is contained in:
parent
c0511fa8e4
commit
6ff10228ee
@ -19,6 +19,7 @@
|
||||
#define IDB_PNG15 115
|
||||
#define IDB_PNG16 116
|
||||
#define IDB_PNG17 117
|
||||
#define IDB_PNG18 118
|
||||
#define DEV 256
|
||||
#define PNG 256
|
||||
|
||||
@ -26,7 +27,7 @@
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 118
|
||||
#define _APS_NEXT_RESOURCE_VALUE 119
|
||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
|
@ -61,7 +61,7 @@ bool CConsole::Setup(void)
|
||||
SetStyleVar();
|
||||
|
||||
int k = 0; // Get all image resources for displaying flags.
|
||||
for (int i = IDB_PNG3; i <= IDB_PNG17; i++)
|
||||
for (int i = IDB_PNG3; i <= IDB_PNG18; i++)
|
||||
{
|
||||
m_vFlagIcons.push_back(MODULERESOURCE());
|
||||
m_vFlagIcons[k] = GetModuleResource(i);
|
||||
@ -601,18 +601,20 @@ int CConsole::ColorCodeFlags(int nFlags) const
|
||||
return 7;
|
||||
case FCVAR_DEVELOPMENTONLY | FCVAR_CLIENTDLL:
|
||||
return 8;
|
||||
case FCVAR_DEVELOPMENTONLY | FCVAR_REPLICATED:
|
||||
case FCVAR_DEVELOPMENTONLY | FCVAR_HIDDEN:
|
||||
return 9;
|
||||
case FCVAR_DEVELOPMENTONLY | FCVAR_CHEAT:
|
||||
case FCVAR_DEVELOPMENTONLY | FCVAR_REPLICATED:
|
||||
return 10;
|
||||
case FCVAR_REPLICATED | FCVAR_CHEAT:
|
||||
case FCVAR_DEVELOPMENTONLY | FCVAR_CHEAT:
|
||||
return 11;
|
||||
case FCVAR_REPLICATED | FCVAR_RELEASE:
|
||||
case FCVAR_REPLICATED | FCVAR_CHEAT:
|
||||
return 12;
|
||||
case FCVAR_GAMEDLL | FCVAR_CHEAT:
|
||||
case FCVAR_REPLICATED | FCVAR_RELEASE:
|
||||
return 13;
|
||||
case FCVAR_CLIENTDLL | FCVAR_CHEAT:
|
||||
case FCVAR_GAMEDLL | FCVAR_CHEAT:
|
||||
return 14;
|
||||
case FCVAR_CLIENTDLL | FCVAR_CHEAT:
|
||||
return 15;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
r5dev/resource/png/vf_developmentonly_hidden.png
Normal file
BIN
r5dev/resource/png/vf_developmentonly_hidden.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
@ -64,12 +64,13 @@ IDB_PNG8 PNG "png\\vf_cheat.png"
|
||||
IDB_PNG9 PNG "png\\vf_release.png"
|
||||
IDB_PNG10 PNG "png\\vf_developmentonly_gamedll.png"
|
||||
IDB_PNG11 PNG "png\\vf_developmentonly_clientdll.png"
|
||||
IDB_PNG12 PNG "png\\vf_developmentonly_cheat.png"
|
||||
IDB_PNG13 PNG "png\\vf_developmentonly_replicated.png"
|
||||
IDB_PNG14 PNG "png\\vf_replicated_cheat.png"
|
||||
IDB_PNG15 PNG "png\\vf_replicated_release.png"
|
||||
IDB_PNG16 PNG "png\\vf_gamedll_cheat.png"
|
||||
IDB_PNG17 PNG "png\\vf_clientdll_cheat.png"
|
||||
IDB_PNG12 PNG "png\\vf_developmentonly_hidden.png"
|
||||
IDB_PNG13 PNG "png\\vf_developmentonly_cheat.png"
|
||||
IDB_PNG14 PNG "png\\vf_developmentonly_replicated.png"
|
||||
IDB_PNG15 PNG "png\\vf_replicated_cheat.png"
|
||||
IDB_PNG16 PNG "png\\vf_replicated_release.png"
|
||||
IDB_PNG17 PNG "png\\vf_gamedll_cheat.png"
|
||||
IDB_PNG18 PNG "png\\vf_clientdll_cheat.png"
|
||||
|
||||
#endif // English (United States) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user