mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Yay for me
git-svn-id: https://svn.eduke32.com/eduke32@57 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
5fcd240827
commit
5aa9e74e61
5 changed files with 77 additions and 77 deletions
|
@ -591,7 +591,7 @@ void CONFIG_ReadSetup( void )
|
||||||
SCRIPT_GetNumber( scripthandle, "Misc", "DemoCams",&ud.democams);
|
SCRIPT_GetNumber( scripthandle, "Misc", "DemoCams",&ud.democams);
|
||||||
SCRIPT_GetNumber( scripthandle, "Misc", "ShowFPS",&ud.tickrate);
|
SCRIPT_GetNumber( scripthandle, "Misc", "ShowFPS",&ud.tickrate);
|
||||||
SCRIPT_GetNumber( scripthandle, "Misc", "Color",&ud.color);
|
SCRIPT_GetNumber( scripthandle, "Misc", "Color",&ud.color);
|
||||||
ud.pcolor[0] = ud.color;
|
ps[0].palookup = ud.pcolor[0] = ud.color;
|
||||||
dummy = useprecache; SCRIPT_GetNumber( scripthandle, "Misc", "UsePrecache",&dummy); useprecache = dummy != 0;
|
dummy = useprecache; SCRIPT_GetNumber( scripthandle, "Misc", "UsePrecache",&dummy); useprecache = dummy != 0;
|
||||||
if(ud.wchoice[0][0] == 0 && ud.wchoice[0][1] == 0)
|
if(ud.wchoice[0][0] == 0 && ud.wchoice[0][1] == 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1582,9 +1582,9 @@ void displayfragbar(void)
|
||||||
|
|
||||||
for(i=connecthead;i>=0;i=connectpoint2[i])
|
for(i=connecthead;i>=0;i=connectpoint2[i])
|
||||||
{
|
{
|
||||||
minitext(21+(73*(i&3)),2+((i&28)<<1),&ud.user_name[i][0],sprite[ps[i].i].pal,2+8+16);
|
minitext(21+(73*(i&3)),2+((i&28)<<1),&ud.user_name[i][0],/*sprite[ps[i].i].pal*/ps[i].palookup,2+8+16);
|
||||||
Bsprintf(tempbuf,"%d",ps[i].frag-ps[i].fraggedself);
|
Bsprintf(tempbuf,"%d",ps[i].frag-ps[i].fraggedself);
|
||||||
minitext(17+50+(73*(i&3)),2+((i&28)<<1),tempbuf,sprite[ps[i].i].pal,2+8+16);
|
minitext(17+50+(73*(i&3)),2+((i&28)<<1),tempbuf,/*sprite[ps[i].i].pal*/ps[i].palookup,2+8+16);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -704,7 +704,7 @@ player_menu_update:
|
||||||
modval(0,3,(int *)&ud.weaponswitch,1,probey==3);
|
modval(0,3,(int *)&ud.weaponswitch,1,probey==3);
|
||||||
|
|
||||||
{
|
{
|
||||||
int i, disallowed[] = { 1, 2, 4, 5, 6, 7, 8, 9, 17, 18, 19, 20, 22 };
|
int i, disallowed[] = { 1, 2, 3, 4, 5, 6, 7, 8, 17, 18, 19, 20, 22 };
|
||||||
|
|
||||||
for(i=0;i<(signed)(sizeof(disallowed)/sizeof(disallowed[0]));i++) {
|
for(i=0;i<(signed)(sizeof(disallowed)/sizeof(disallowed[0]));i++) {
|
||||||
if(ud.color == disallowed[i]) {
|
if(ud.color == disallowed[i]) {
|
||||||
|
@ -724,7 +724,7 @@ player_menu_update:
|
||||||
|
|
||||||
if (current_menu == 20002) {
|
if (current_menu == 20002) {
|
||||||
gametext(200,50-9,myname,0,2+8+16); }
|
gametext(200,50-9,myname,0,2+8+16); }
|
||||||
{ char *s[] = { "Auto","","","Blue","","","","","","","Dk red","Green","Gray","Dk gray","Dk green","Brown",
|
{ char *s[] = { "Auto","","","","","","","","","Blue","Dk red","Green","Gray","Dk gray","Dk green","Brown",
|
||||||
"Dk blue","","","","","Red","","Yellow","","" };
|
"Dk blue","","","","","Red","","Yellow","","" };
|
||||||
gametext(200,50+20-9,s[ud.color],0,2+8+16); }
|
gametext(200,50+20-9,s[ud.color],0,2+8+16); }
|
||||||
{ char *s[] = { "Off", "Full", "Hitscan" };
|
{ char *s[] = { "Off", "Full", "Hitscan" };
|
||||||
|
|
|
@ -1221,7 +1221,7 @@ void resetpspritevars(char g)
|
||||||
int k;
|
int k;
|
||||||
|
|
||||||
for(k=0;k<MAXPLAYERS-1;k++) {
|
for(k=0;k<MAXPLAYERS-1;k++) {
|
||||||
if(which_palookup == ud.pcolor[k]) {
|
if(which_palookup == ps[k].palookup) {
|
||||||
which_palookup++;
|
which_palookup++;
|
||||||
if( which_palookup >= 17 )
|
if( which_palookup >= 17 )
|
||||||
which_palookup = 9;
|
which_palookup = 9;
|
||||||
|
|
Loading…
Reference in a new issue