Subversion Repositories Games.Carmageddon

Rev

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 _SKIDMARK_H_
2
#define _SKIDMARK_H_
3
 
4
#include "dr_types.h"
5
 
6
extern char* gBoring_material_names[2];
7
extern char* gMaterial_names[2];
8
extern tSkid gSkids[100];
9
 
10
void StretchMark(tSkid* pMark, br_vector3* pFrom, br_vector3* pTo, br_scalar pTexture_start);
11
 
12
br_material* MaterialFromIndex(int pIndex);
13
 
14
void AdjustSkid(int pSkid_num, br_matrix34* pMatrix, int pMaterial_index);
15
 
16
int FarFromLine2D(br_vector3* pPt, br_vector3* pL1, br_vector3* pL2);
17
 
18
int Reflex2D(br_vector3* pPt, br_vector3* pL1, br_vector3* pL2);
19
 
20
void InitSkids(void);
21
 
22
void HideSkid(int pSkid_num);
23
 
24
void HideSkids(void);
25
 
26
br_scalar SkidLen(int pSkid);
27
 
28
void SkidSection(tCar_spec* pCar, int pWheel_num, br_vector3* pPos, int pMaterial_index);
29
 
30
void SkidMark(tCar_spec* pCar, int pWheel_num);
31
 
32
void InitCarSkidStuff(tCar_spec* pCar);
33
 
34
void SkidsPerFrame(void);
35
 
36
void RemoveMaterialsFromSkidmarks(void);
37
 
38
#endif