Rev 1 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | #ifndef _OIL_H_ |
2 | #define _OIL_H_ |
||
3 | |||
4 | #include "dr_types.h" |
||
5 | |||
6 | extern char* gOil_pixie_names[1]; |
||
7 | extern int gNext_oil_pixie; |
||
8 | extern br_scalar gZ_buffer_diff; |
||
9 | extern br_scalar gMin_z_diff; |
||
10 | extern br_pixelmap* gOil_pixies[1]; |
||
11 | extern tOil_spill_info gOily_spills[15]; |
||
12 | |||
13 | void InitOilSpills(void); |
||
14 | |||
15 | void ResetOilSpills(void); |
||
16 | |||
17 | void QueueOilSpill(tCar_spec* pCar); |
||
18 | |||
19 | int OKToSpillOil(tOil_spill_info* pOil); |
||
20 | |||
21 | void Vector3Interpolate(br_vector3* pDst, br_vector3* pFrom, br_vector3* pTo, br_scalar pP); |
||
22 | |||
23 | void EnsureGroundDetailVisible(br_vector3* pNew_pos, br_vector3* pGround_normal, br_vector3* pOld_pos); |
||
24 | |||
25 | void MungeOilsHeightAboveGround(tOil_spill_info* pOil); |
||
26 | |||
27 | void MungeIndexedOilsHeightAboveGround(int pIndex); |
||
28 | |||
29 | void SetInitialOilStuff(tOil_spill_info* pOil, br_model* pModel); |
||
30 | |||
31 | void ProcessOilSpills(tU32 pFrame_period); |
||
32 | |||
33 | int GetOilSpillCount(void); |
||
34 | |||
35 | void GetOilSpillDetails(int pIndex, br_actor** pActor, br_scalar* pSize); |
||
36 | |||
37 | int PointInSpill(br_vector3* pV, int pSpill); |
||
38 | |||
39 | void GetOilFrictionFactors(tCar_spec* pCar, br_scalar* pFl_factor, br_scalar* pFr_factor, br_scalar* pRl_factor, br_scalar* pRr_factor); |
||
40 | |||
41 | void AdjustOilSpill(int pIndex, br_matrix34* pMat, br_scalar pFull_size, br_scalar pGrow_rate, tU32 pSpill_time, tU32 pStop_time, tCar_spec* pCar, br_vector3* pOriginal_pos, br_pixelmap* pPixelmap); |
||
42 | |||
43 | void ReceivedOilSpill(tNet_contents* pContents); |
||
44 | |||
45 | #endif |