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
#include "oppocar.h"
2
#include "harness/trace.h"
3
#include <stdlib.h>
4
 
20 pmbaty 5
int gCollision_detection_on__oppocar; // suffix added to avoid duplicate symbol
6
br_vector3 gGround_normal__oppocar; // suffix added to avoid duplicate symbol
1 pmbaty 7
void (*ControlCar__oppocar[6])(tCar_spec*, br_scalar); // suffix added to avoid duplicate symbol
20 pmbaty 8
int gControl__oppocar; // suffix added to avoid duplicate symbol
9
int gFace_num__oppocar; // suffix added to avoid duplicate symbol
10
br_angle gOld_yaw__oppocar; // suffix added to avoid duplicate symbol
11
int gMetal_crunch_sound_id__oppocar[5]; // suffix added to avoid duplicate symbol
12
int gMetal_scrape_sound_id__oppocar[3]; // suffix added to avoid duplicate symbol
13
tFace_ref gFace_list__oppocar[32]; // suffix added to avoid duplicate symbol
14
br_scalar gOur_yaw__oppocar; // suffix added to avoid duplicate symbol
15
br_scalar gGravity__oppocar; // suffix added to avoid duplicate symbol
16
br_vector3 gNew_ground_normal__oppocar; // suffix added to avoid duplicate symbol
1 pmbaty 17
 
18
// IDA: void __usercall MakeCarStationary(tCar_spec *pCar_spec@<EAX>)
19
void MakeCarStationary(tCar_spec* pCar_spec) {
20
    LOG_TRACE("(%p)", pCar_spec);
21
    NOT_IMPLEMENTED();
22
}
23
 
24
// IDA: void __usercall MoveThisCar(tU32 pTime_difference@<EAX>, tCar_spec *car@<EDX>)
25
void MoveThisCar(tU32 pTime_difference, tCar_spec* car) {
26
    //br_scalar dt; // Pierre-Marie Baty -- unused variable
27
    //br_scalar ts; // Pierre-Marie Baty -- unused variable
28
    //br_vector3 r; // Pierre-Marie Baty -- unused variable
29
    //br_vector3 minus_k; // Pierre-Marie Baty -- unused variable
30
    //int i; // Pierre-Marie Baty -- unused variable
31
    //int j; // Pierre-Marie Baty -- unused variable
32
    //br_angle phi; // Pierre-Marie Baty -- unused variable
33
    LOG_TRACE("(%d, %p)", pTime_difference, car);
34
    NOT_IMPLEMENTED();
35
}