Brightskins tweak, more whitespace

git-svn-id: https://svn.eduke32.com/eduke32@29 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-04-16 03:42:36 +00:00
parent e3d40c7b51
commit b11595ad2e
13 changed files with 589 additions and 593 deletions

View file

@ -2515,7 +2515,7 @@ void moveweapons(void)
}
}
/* if(thisprojectile[i].workslike & 8192)
/* if(thisprojectile[i].workslike & 8192)
{
for(k=-3;k<2;k++)
{

View file

@ -2525,7 +2525,7 @@ void palto(char r,char g,char b,long e)
int i;
char temparray[768];
long tc;
/*
/*
for(i=0;i<768;i+=3)
{
temparray[i ] =
@ -2535,7 +2535,7 @@ void palto(char r,char g,char b,long e)
temparray[i+2] =
ps[myconnectindex].palette[i+2]+((((long)b-(long)ps[myconnectindex].palette[i+2])*(long)(e&127))>>6);
}
*/
*/
//setbrightness(ud.brightness>>2,temparray);
setpalettefade(r,g,b,e&127);
@ -5847,14 +5847,14 @@ PALONLY:
if( sector[sect].floorpal && sector[sect].floorpal < numl)
t->pal = sector[sect].floorpal;
if(ud.brightskins)
t->shade = -32; // yes? no?
if(s->owner == -1) continue;
if( t->z > hittype[i].floorz && t->xrepeat < 32 )
t->z = hittype[i].floorz;
if(ud.brightskins)
t->shade -= 15;
break;
case JIBS1__STATIC:
@ -5883,9 +5883,6 @@ PALONLY:
case SCRAP3__STATIC:
case SCRAP4__STATIC:
case SCRAP5__STATIC:
if(hittype[i].picnum == BLIMP && t->picnum == SCRAP1 && s->yvel >= 0)
t->picnum = s->yvel;
else t->picnum += T1;
@ -5902,7 +5899,6 @@ PALONLY:
break;
}
default:
if( sector[sect].floorpal && sector[sect].floorpal < numl )
t->pal = sector[sect].floorpal;
break;
@ -7137,7 +7133,7 @@ FAKE_F3:
screencapt = 0;
if( lastsavedpos >= 0 )
{
/* inputloc = strlen(&ud.savegame[lastsavedpos][0]);
/* inputloc = strlen(&ud.savegame[lastsavedpos][0]);
current_menu = 360+lastsavedpos;
probey = lastsavedpos; */
if(ud.multimode > 1)
@ -8356,7 +8352,7 @@ void app_main(int argc,char **argv)
int bpp[] = {32,16,8};
initprintf("Failure setting video mode %dx%dx%d %s! Attempting safer mode...",
ScreenWidth,ScreenHeight,ScreenBPP,ScreenMode?"fullscreen":"windowed");
/* ScreenMode = 0; // JBF: was 2
/* ScreenMode = 0; // JBF: was 2
ScreenWidth = 800;
ScreenHeight = 600; // JBF: was 200
ScreenBPP = 32; */

View file

@ -809,7 +809,7 @@ LABELS inputlabels[]= {
{ "bits", INPUT_BITS, 0, 0 },
{ "bits2", INPUT_BITS2, 0, 0 },
{ "", -1, 0, 0 } // END OF LIST
};
};
void skipcomments(void)
{

View file

@ -382,7 +382,7 @@ int osdcmd_setvar(const osdfuncparm_t *parm)
SetGameVarID(i, varval, ps[myconnectindex].i, myconnectindex);
}
return OSDCMD_OK;
}
}
int osdcmd_addpath(const osdfuncparm_t *parm)
{