Subversion Repositories Games.Carmageddon

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 pmbaty 1
#include "pmsetup.h"
2
#include "CORE/FW/image.h"
3
#include "CORE/FW/resource.h"
4
#include "CORE/FW/resreg.h"
5
#include "CORE/STD/brstdlib.h"
6
#include "harness/trace.h"
7
#include <stddef.h>
8
#include <stdio.h>
9
 
10
br_image Image_BRPMAP1;
11
br_resource_class pm_resourceClasses[2] = {
12
    { 0u, "PIXELMAP", BR_MEMORY_PIXELMAP, NULL, 0u },
13
    { 0u, "PIXELS", BR_MEMORY_PIXELS, NULL, 32u }
14
};
15
void* functionPointers_BRPMAP1[77];
16
char* namePointers_BRPMAP1[77];
17
br_pixelmap_state _pixelmap;
18
br_uint_16 nameOrdinals_BRPMAP1[77];
19
 
20
// IDA: void __cdecl BrPixelmapBegin()
21
void BrPixelmapBegin(void) {
22
    int i;
23
 
24
    BrMemSet(&_pixelmap, 0, sizeof(br_pixelmap_state));
25
    _pixelmap.res = BrResAllocate(NULL, 0, BR_MEMORY_ANCHOR);
26
    for (i = 0; i < BR_ASIZE(pm_resourceClasses); i++) {
27
        BrResClassAdd(&pm_resourceClasses[i]);
28
    }
29
    BrImageAdd(&Image_BRPMAP1);
30
}
31
 
32
// IDA: void __cdecl BrPixelmapEnd()
33
void BrPixelmapEnd(void) {
34
    LOG_TRACE("()");
35
    NOT_IMPLEMENTED();
36
}