Subversion Repositories Games.Carmageddon

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 pmbaty 1
#ifndef _CUSTSUPT_H_
2
#define _CUSTSUPT_H_
3
 
4
#include "brender/br_types.h"
5
 
6
void BrModelToScreenQuery(br_matrix4* dest);
7
 
8
void BrModelToViewQuery(br_matrix34* dest);
9
 
10
br_uint_8 BrOriginToScreenXY(br_vector2* screen);
11
 
12
br_uint_32 BrOriginToScreenXYZO(br_vector3* screen);
13
 
14
br_uint_8 BrPointToScreenXY(br_vector2* screen, br_vector3* point);
15
 
16
br_uint_32 BrPointToScreenXYZO(br_vector3* screen, br_vector3* point);
17
 
18
void BrPointToScreenXYMany(br_vector2* screens, br_vector3* points, br_uint_32 npoints);
19
 
20
void BrPointToScreenXYZOMany(br_vector3* screens, br_uint_32* outcodes, br_vector3* points, br_uint_32 npoints);
21
 
22
br_scalar BrZbDepthToScreenZ(br_uint_32 depth_z, br_camera* camera);
23
 
24
br_uint_32 BrZbScreenZToDepth(br_scalar sz, br_camera* camera);
25
 
26
br_scalar BrZsDepthToScreenZ(br_scalar depth_z, br_camera* camera);
27
 
28
br_scalar BrZsScreenZToDepth(br_scalar sz, br_camera* camera);
29
 
30
br_scalar BrScreenZToCamera(br_actor* camera, br_scalar sz);
31
 
32
void BrScreenXYZToCamera(br_vector3* point, br_actor* camera, br_pixelmap* screen_buffer, br_int_16 x, br_int_16 y, br_scalar sz);
33
 
34
#endif