Subversion Repositories Games.Carmageddon

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 pmbaty 1
#include "prepmatl.h"
2
#include "harness/hooks.h"
3
#include "harness/trace.h"
4
 
5
// IDA: void __cdecl BrMaterialUpdate(br_material *mat, br_uint_16 flags)
6
void BrMaterialUpdate(br_material* mat, br_uint_16 flags) {
7
    //br_token_value tva[32]; // Pierre-Marie Baty -- unused variable
8
    //br_token_value* tvp; // Pierre-Marie Baty -- unused variable
9
    //br_token t; // Pierre-Marie Baty -- unused variable
10
    //br_int_32 c; // Pierre-Marie Baty -- unused variable
11
 
12
    // TODO: ?
13
 
14
    // Added by dethrace
15
    gHarness_platform.Renderer_BufferMaterial(mat);
16
}
17
 
18
// IDA: void __usercall BrMaterialClear(br_material *mat@<EAX>)
19
void BrMaterialClear(br_material* mat) {
20
    LOG_TRACE("(%p)", mat);
21
    NOT_IMPLEMENTED();
22
}