Subversion Repositories Games.Carmageddon

Rev

Rev 18 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
#ifndef _BRUCETRK_H_
2
#define _BRUCETRK_H_
3
 
20 pmbaty 4
#include "brender/br_types.h"
1 pmbaty 5
#include "dr_types.h"
6
 
7
extern br_actor* gMr_blendy;
8
extern int gDefault_blend_pc;
9
 
10
void AllocateActorMatrix(tTrack_spec* pTrack_spec, br_actor**** pDst);
11
 
12
void DisposeActorMatrix(tTrack_spec* pTrack_spec, br_actor**** pVictim, int pRemove_act_mod);
13
 
14
void DisposeColumns(tTrack_spec* pTrack_spec);
15
 
16
void XZToColumnXZ(tU8* pColumn_x, tU8* pColumn_z, br_scalar pX, br_scalar pZ, tTrack_spec* pTrack_spec);
17
 
18
void StripBlendedFaces(br_actor* pActor, br_model* pModel);
19
 
20 pmbaty 20
/*br_uint_32*/ intptr_t FindNonCarsCB(br_actor* pActor, tTrack_spec* pTrack_spec);
1 pmbaty 21
 
20 pmbaty 22
/*br_uint_32*/ intptr_t ProcessModelsCB(br_actor* pActor, tTrack_spec* pTrack_spec);
1 pmbaty 23
 
24
void ProcessModels(tTrack_spec* pTrack_spec);
25
 
26
void ExtractColumns(tTrack_spec* pTrack_spec);
27
 
28
void LollipopizeActor4(br_actor* pActor, br_matrix34* pRef_to_world, br_actor* pCamera);
29
 
20 pmbaty 30
/*br_uint_32*/ intptr_t LollipopizeChildren(br_actor* pActor, void* pArg);
1 pmbaty 31
 
32
void DrawColumns(int pDraw_blends, tTrack_spec* pTrack_spec, int pMin_x, int pMax_x, int pMin_z, int pMax_z, br_matrix34* pCamera_to_world);
33
 
34
void RenderTrack(br_actor* pWorld, tTrack_spec* pTrack_spec, br_actor* pCamera, br_matrix34* pCamera_to_world, int pRender_blends);
35
 
36
br_scalar GetYonFactor(void);
37
 
38
void SetYonFactor(br_scalar pNew);
39
 
40
#endif