- Put more floor/ceiling properties in sector_t into a substructure and
added wrapper functions. SVN r1174 (trunk)
This commit is contained in:
parent
fcdef6a0de
commit
bc5d0c882b
29 changed files with 271 additions and 246 deletions
|
|
@ -2381,24 +2381,24 @@ void R_ProjectParticle (particle_t *particle, const sector_t *sector, int shade,
|
|||
{
|
||||
topplane = §or->ceilingplane;
|
||||
botplane = &heightsec->ceilingplane;
|
||||
toppic = sector->ceilingpic;
|
||||
botpic = heightsec->ceilingpic;
|
||||
toppic = sector->GetTexture(sector_t::ceiling);
|
||||
botpic = heightsec->GetTexture(sector_t::ceiling);
|
||||
map = heightsec->ColorMap->Maps;
|
||||
}
|
||||
else if (fakeside == FAKED_BelowFloor)
|
||||
{
|
||||
topplane = &heightsec->floorplane;
|
||||
botplane = §or->floorplane;
|
||||
toppic = heightsec->floorpic;
|
||||
botpic = sector->floorpic;
|
||||
toppic = heightsec->GetTexture(sector_t::floor);
|
||||
botpic = sector->GetTexture(sector_t::floor);
|
||||
map = heightsec->ColorMap->Maps;
|
||||
}
|
||||
else
|
||||
{
|
||||
topplane = &heightsec->ceilingplane;
|
||||
botplane = &heightsec->floorplane;
|
||||
toppic = heightsec->ceilingpic;
|
||||
botpic = heightsec->floorpic;
|
||||
toppic = heightsec->GetTexture(sector_t::ceiling);
|
||||
botpic = heightsec->GetTexture(sector_t::floor);
|
||||
map = sector->ColorMap->Maps;
|
||||
}
|
||||
}
|
||||
|
|
@ -2406,8 +2406,8 @@ void R_ProjectParticle (particle_t *particle, const sector_t *sector, int shade,
|
|||
{
|
||||
topplane = §or->ceilingplane;
|
||||
botplane = §or->floorplane;
|
||||
toppic = sector->ceilingpic;
|
||||
botpic = sector->floorpic;
|
||||
toppic = sector->GetTexture(sector_t::ceiling);
|
||||
botpic = sector->GetTexture(sector_t::floor);
|
||||
map = sector->ColorMap->Maps;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue