Rev 18 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 18 | Rev 20 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | #define _BRUCETRK_H_ |
2 | #define _BRUCETRK_H_ |
3 | 3 | ||
4 | #include "brender.h" |
4 | #include "brender/br_types.h" |
5 | #include "dr_types.h" |
5 | #include "dr_types.h" |
6 | 6 | ||
7 | extern br_actor* gMr_blendy; |
7 | extern br_actor* gMr_blendy; |
8 | extern int gDefault_blend_pc; |
8 | extern int gDefault_blend_pc; |
9 | 9 | ||
Line 15... | Line 15... | ||
15 | 15 | ||
16 | void XZToColumnXZ(tU8* pColumn_x, tU8* pColumn_z, br_scalar pX, br_scalar pZ, tTrack_spec* pTrack_spec); |
16 | void XZToColumnXZ(tU8* pColumn_x, tU8* pColumn_z, br_scalar pX, br_scalar pZ, tTrack_spec* pTrack_spec); |
17 | 17 | ||
18 | void StripBlendedFaces(br_actor* pActor, br_model* pModel); |
18 | void StripBlendedFaces(br_actor* pActor, br_model* pModel); |
19 | 19 | ||
20 | /*br_uint_32*/ |
20 | /*br_uint_32*/ intptr_t FindNonCarsCB(br_actor* pActor, tTrack_spec* pTrack_spec); |
21 | 21 | ||
22 | /*br_uint_32*/ |
22 | /*br_uint_32*/ intptr_t ProcessModelsCB(br_actor* pActor, tTrack_spec* pTrack_spec); |
23 | 23 | ||
24 | void ProcessModels(tTrack_spec* pTrack_spec); |
24 | void ProcessModels(tTrack_spec* pTrack_spec); |
25 | 25 | ||
26 | void ExtractColumns(tTrack_spec* pTrack_spec); |
26 | void ExtractColumns(tTrack_spec* pTrack_spec); |
27 | 27 | ||
28 | void LollipopizeActor4(br_actor* pActor, br_matrix34* pRef_to_world, br_actor* pCamera); |
28 | void LollipopizeActor4(br_actor* pActor, br_matrix34* pRef_to_world, br_actor* pCamera); |
29 | 29 | ||
30 | /*br_uint_32*/ |
30 | /*br_uint_32*/ intptr_t LollipopizeChildren(br_actor* pActor, void* pArg); |
31 | 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); |
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 | 33 | ||
34 | void RenderTrack(br_actor* pWorld, tTrack_spec* pTrack_spec, br_actor* pCamera, br_matrix34* pCamera_to_world, int pRender_blends); |
34 | void RenderTrack(br_actor* pWorld, tTrack_spec* pTrack_spec, br_actor* pCamera, br_matrix34* pCamera_to_world, int pRender_blends); |
35 | 35 |