Subversion Repositories Games.Carmageddon

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 pmbaty 1
#ifndef _OTABLE_H_
2
#define _OTABLE_H_
3
 
4
#include "brender/br_types.h"
5
 
6
br_order_table* BrZsOrderTableAllocate(br_uint_16 size, br_uint_32 flags, br_uint_16 type);
7
 
8
void BrZsOrderTableFree(br_order_table* order_table);
9
 
10
br_order_table* BrZsActorOrderTableSet(br_actor* actor, br_order_table* order_table);
11
 
12
br_order_table* BrZsActorOrderTableGet(br_actor* actor);
13
 
14
br_order_table* BrZsOrderTableClear(br_order_table* order_table);
15
 
16
void BrZsOrderTablePrimitiveInsert(br_order_table* order_table, br_primitive* primitive, br_uint_16 bucket);
17
 
18
br_uint_16 BrZsPrimitiveBucketSelect(br_scalar* z, br_uint_16 type, br_scalar min_z, br_scalar max_z, br_uint_16 size, br_uint_16 sort_type);
19
 
20
void BrZsOrderTablePrimaryEnable(br_order_table* order_table);
21
 
22
void BrZsOrderTablePrimaryDisable(void);
23
 
24
void InsertOrderTableList(br_order_table* order_table);
25
 
26
void SetOrderTableBounds(br_bounds* bounds, br_order_table* order_table);
27
 
28
void SetOrderTableRange(br_order_table* order_table);
29
 
30
void RenderOrderTableList(void);
31
 
32
void RenderPrimaryOrderTable(void);
33
 
34
#endif