Subversion Repositories Games.Carmageddon

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 pmbaty 1
#include "custsupt.h"
2
#include "harness/trace.h"
3
 
4
// IDA: void __cdecl BrModelToScreenQuery(br_matrix4 *dest)
5
void BrModelToScreenQuery(br_matrix4* dest) {
6
    //br_uint_32 dummy; // Pierre-Marie Baty -- unused variable
7
    //br_matrix4 v2s; // Pierre-Marie Baty -- unused variable
8
    //br_matrix34 m2v; // Pierre-Marie Baty -- unused variable
9
    LOG_TRACE("(%p)", dest);
10
    NOT_IMPLEMENTED();
11
}
12
 
13
// IDA: void __cdecl BrModelToViewQuery(br_matrix34 *dest)
14
void BrModelToViewQuery(br_matrix34* dest) {
15
    //br_uint_32 dummy; // Pierre-Marie Baty -- unused variable
16
    LOG_TRACE("(%p)", dest);
17
    NOT_IMPLEMENTED();
18
}
19
 
20
// IDA: br_uint_8 __cdecl BrOriginToScreenXY(br_vector2 *screen)
21
br_uint_8 BrOriginToScreenXY(br_vector2* screen) {
22
    LOG_TRACE("(%p)", screen);
23
    NOT_IMPLEMENTED();
24
}
25
 
26
// IDA: br_uint_32 __cdecl BrOriginToScreenXYZO(br_vector3 *screen)
27
br_uint_32 BrOriginToScreenXYZO(br_vector3* screen) {
28
    //br_uint_32 outcode; // Pierre-Marie Baty -- unused variable
29
    LOG_TRACE("(%p)", screen);
30
    NOT_IMPLEMENTED();
31
}
32
 
33
// IDA: br_uint_8 __cdecl BrPointToScreenXY(br_vector2 *screen, br_vector3 *point)
34
br_uint_8 BrPointToScreenXY(br_vector2* screen, br_vector3* point) {
35
    //br_vector4 sp; // Pierre-Marie Baty -- unused variable
36
    LOG_TRACE("(%p, %p)", screen, point);
37
    NOT_IMPLEMENTED();
38
}
39
 
40
// IDA: br_uint_32 __cdecl BrPointToScreenXYZO(br_vector3 *screen, br_vector3 *point)
41
br_uint_32 BrPointToScreenXYZO(br_vector3* screen, br_vector3* point) {
42
    //br_vector4 sp; // Pierre-Marie Baty -- unused variable
43
    //br_uint_32 outcode; // Pierre-Marie Baty -- unused variable
44
    LOG_TRACE("(%p, %p)", screen, point);
45
    NOT_IMPLEMENTED();
46
}
47
 
48
// IDA: void __cdecl BrPointToScreenXYMany(br_vector2 *screens, br_vector3 *points, br_uint_32 npoints)
49
void BrPointToScreenXYMany(br_vector2* screens, br_vector3* points, br_uint_32 npoints) {
50
    //br_vector4 sp; // Pierre-Marie Baty -- unused variable
51
    //int i; // Pierre-Marie Baty -- unused variable
52
    LOG_TRACE("(%p, %p, %d)", screens, points, npoints);
53
    NOT_IMPLEMENTED();
54
}
55
 
56
// IDA: void __cdecl BrPointToScreenXYZOMany(br_vector3 *screens, br_uint_32 *outcodes, br_vector3 *points, br_uint_32 npoints)
57
void BrPointToScreenXYZOMany(br_vector3* screens, br_uint_32* outcodes, br_vector3* points, br_uint_32 npoints) {
58
    //br_vector4 sp; // Pierre-Marie Baty -- unused variable
59
    //int i; // Pierre-Marie Baty -- unused variable
60
    //br_uint_32 outcode; // Pierre-Marie Baty -- unused variable
61
    LOG_TRACE("(%p, %p, %p, %d)", screens, outcodes, points, npoints);
62
    NOT_IMPLEMENTED();
63
}
64
 
65
// IDA: br_scalar __cdecl BrZbDepthToScreenZ(br_uint_32 depth_z, br_camera *camera)
66
br_scalar BrZbDepthToScreenZ(br_uint_32 depth_z, br_camera* camera) {
67
    LOG_TRACE("(%d, %p)", depth_z, camera);
68
    NOT_IMPLEMENTED();
69
}
70
 
71
// IDA: br_uint_32 __cdecl BrZbScreenZToDepth(br_scalar sz, br_camera *camera)
72
br_uint_32 BrZbScreenZToDepth(br_scalar sz, br_camera* camera) {
73
    //br_uint_32 depth; // Pierre-Marie Baty -- unused variable
74
    LOG_TRACE("(%f, %p)", sz, camera);
75
    NOT_IMPLEMENTED();
76
}
77
 
78
// IDA: br_scalar __cdecl BrZsDepthToScreenZ(br_scalar depth_z, br_camera *camera)
79
br_scalar BrZsDepthToScreenZ(br_scalar depth_z, br_camera* camera) {
80
    //br_scalar hither; // Pierre-Marie Baty -- unused variable
81
    //br_scalar yon; // Pierre-Marie Baty -- unused variable
82
    LOG_TRACE("(%f, %p)", depth_z, camera);
83
    NOT_IMPLEMENTED();
84
}
85
 
86
// IDA: br_scalar __cdecl BrZsScreenZToDepth(br_scalar sz, br_camera *camera)
87
br_scalar BrZsScreenZToDepth(br_scalar sz, br_camera* camera) {
88
    //br_scalar hither; // Pierre-Marie Baty -- unused variable
89
    //br_scalar yon; // Pierre-Marie Baty -- unused variable
90
    //br_scalar depth; // Pierre-Marie Baty -- unused variable
91
    LOG_TRACE("(%f, %p)", sz, camera);
92
    NOT_IMPLEMENTED();
93
}
94
 
95
// IDA: br_scalar __cdecl BrScreenZToCamera(br_actor *camera, br_scalar sz)
96
br_scalar BrScreenZToCamera(br_actor* camera, br_scalar sz) {
97
    //br_camera* data; // Pierre-Marie Baty -- unused variable
98
    //br_scalar hither; // Pierre-Marie Baty -- unused variable
99
    //br_scalar yon; // Pierre-Marie Baty -- unused variable
100
    LOG_TRACE("(%p, %f)", camera, sz);
101
    NOT_IMPLEMENTED();
102
}
103
 
104
// IDA: void __cdecl BrScreenXYZToCamera(br_vector3 *point, br_actor *camera, br_pixelmap *screen_buffer, br_int_16 x, br_int_16 y, br_scalar sz)
105
void BrScreenXYZToCamera(br_vector3* point, br_actor* camera, br_pixelmap* screen_buffer, br_int_16 x, br_int_16 y, br_scalar sz) {
106
    //br_scalar hx; // Pierre-Marie Baty -- unused variable
107
    //br_scalar hy; // Pierre-Marie Baty -- unused variable
108
    //br_scalar vz; // Pierre-Marie Baty -- unused variable
109
    //br_camera* data; // Pierre-Marie Baty -- unused variable
110
    //br_angle fov; // Pierre-Marie Baty -- unused variable
111
    //br_scalar scale; // Pierre-Marie Baty -- unused variable
112
    LOG_TRACE("(%p, %p, %p, %d, %d, %f)", point, camera, screen_buffer, x, y, sz);
113
    NOT_IMPLEMENTED();
114
}