mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- sector[] in render interface
This commit is contained in:
parent
db96e93adc
commit
9b6d6eb7f9
6 changed files with 27 additions and 18 deletions
|
@ -87,6 +87,13 @@ extern int cameradist, cameraclock;
|
|||
void loaddefinitionsfile(const char* fn, bool cumulative = false, bool maingrp = false);
|
||||
|
||||
bool calcChaseCamPos(int* px, int* py, int* pz, spritetype* pspr, int *psectnum, binangle ang, fixedhoriz horiz, double const smoothratio);
|
||||
inline bool calcChaseCamPos(int* px, int* py, int* pz, spritetype* pspr, sectortype** psectnum, binangle ang, fixedhoriz horiz, double const smoothratio)
|
||||
{
|
||||
int sectnum;
|
||||
bool res = calcChaseCamPos(px, py, pz, pspr, §num, ang, horiz, smoothratio);
|
||||
*psectnum = §or[sectnum];
|
||||
return res;
|
||||
}
|
||||
|
||||
void PlanesAtPoint(const sectortype* sec, int dax, int day, float* ceilz, float* florz);
|
||||
inline void PlanesAtPoint(const sectortype* sec, float dax, float day, float* ceilz, float* florz) // this is just for warning evasion.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue