mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 18:21:10 +00:00
Merge branch 'public_next' of http://git.magicalgirl.moe/STJr/SRB2Internal
This commit is contained in:
commit
e87a86dd67
2 changed files with 3 additions and 29 deletions
|
@ -37,10 +37,11 @@ before_build:
|
|||
- set Path=%MINGW_SDK%\bin;%Path%
|
||||
- i686-w64-mingw32-gcc --version
|
||||
- mingw32-make --version
|
||||
- set SRB2_MFLAGS=-C src MINGW=1 WARNINGMODE=1 NOASM=1 NOUPX=1 GCC53=1
|
||||
|
||||
build_script:
|
||||
- cmd: mingw32-make.exe -C src MINGW=1 WARNINGMODE=1 NOASM=1 NOUPX=1 GCC52=1 SDL=1 clean
|
||||
- cmd: mingw32-make.exe -C src MINGW=1 WARNINGMODE=1 NOASM=1 NOUPX=1 GCC52=1 SDL=1 ERRORMODE=1
|
||||
- cmd: mingw32-make.exe %SRB2_MFLAGS% SDL=1 clean
|
||||
- cmd: mingw32-make.exe %SRB2_MFLAGS% SDL=1 ERRORMODE=1
|
||||
|
||||
after_build:
|
||||
- cmd: git rev-parse --short %APPVEYOR_REPO_COMMIT%>%TMP%/gitshort.txt
|
||||
|
|
|
@ -2856,7 +2856,6 @@ static void HWR_AddPolyObjectPlanes(void)
|
|||
// : Draw one or more line segments.
|
||||
// Notes : Sets gr_cursectorlight to the light of the parent sector, to modulate wall textures
|
||||
// -----------------+
|
||||
static lumpnum_t doomwaterflat; //set by R_InitFlats hack
|
||||
static void HWR_Subsector(size_t num)
|
||||
{
|
||||
INT16 count;
|
||||
|
@ -2867,7 +2866,6 @@ static void HWR_Subsector(size_t num)
|
|||
INT32 ceilinglightlevel;
|
||||
INT32 locFloorHeight, locCeilingHeight;
|
||||
INT32 light = 0;
|
||||
fixed_t wh;
|
||||
extracolormap_t *floorcolormap;
|
||||
extracolormap_t *ceilingcolormap;
|
||||
|
||||
|
@ -3193,26 +3191,6 @@ static void HWR_Subsector(size_t num)
|
|||
}
|
||||
}
|
||||
|
||||
//20/08/99: Changed by Hurdler (taken from faB's code)
|
||||
#ifdef DOPLANES
|
||||
// -------------------- WATER IN DEV. TEST ------------------------
|
||||
//dck hack : use abs(tag) for waterheight
|
||||
//ilag : Since we changed to UINT16 for sector tags, simulate INT16
|
||||
if (gr_frontsector->tag > 32767)
|
||||
{
|
||||
wh = ((65535-gr_frontsector->tag) <<FRACBITS) + (FRACUNIT/2);
|
||||
if (wh > gr_frontsector->floorheight &&
|
||||
wh < gr_frontsector->ceilingheight)
|
||||
{
|
||||
HWR_GetFlat(doomwaterflat);
|
||||
HWR_RenderPlane(gr_frontsector,
|
||||
&extrasubsectors[num], wh, PF_Translucent,
|
||||
gr_frontsector->lightlevel, doomwaterflat,
|
||||
NULL, 255, false, gr_frontsector->lightlist[light].extra_colormap);
|
||||
}
|
||||
}
|
||||
// -------------------- WATER IN DEV. TEST ------------------------
|
||||
#endif
|
||||
sub->validcount = validcount;
|
||||
}
|
||||
|
||||
|
@ -5499,11 +5477,6 @@ void HWR_Startup(void)
|
|||
HWR_AddEngineCommands();
|
||||
HWR_InitTextureCache();
|
||||
|
||||
// for test water translucent surface
|
||||
doomwaterflat = W_CheckNumForName("FWATER1");
|
||||
if (doomwaterflat == LUMPERROR) // if FWATER1 not found (in doom shareware)
|
||||
doomwaterflat = W_GetNumForName("WATER0");
|
||||
|
||||
HWR_InitMD2();
|
||||
|
||||
#ifdef ALAM_LIGHTING
|
||||
|
|
Loading…
Reference in a new issue