Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line | 
|---|---|---|---|
| 20 | pmbaty | 1 | #include "otable.h" | 
| 2 | #include "harness/trace.h" | ||
| 3 | |||
| 4 | // IDA: br_order_table* __cdecl BrZsOrderTableAllocate(br_uint_16 size, br_uint_32 flags, br_uint_16 type) | ||
| 5 | br_order_table* BrZsOrderTableAllocate(br_uint_16 size, br_uint_32 flags, br_uint_16 type) { | ||
| 6 |     //br_order_table* order_table; // Pierre-Marie Baty -- unused variable | ||
| 7 | LOG_TRACE("(%d, %d, %d)", size, flags, type); | ||
| 8 | NOT_IMPLEMENTED(); | ||
| 9 | } | ||
| 10 | |||
| 11 | // IDA: void __cdecl BrZsOrderTableFree(br_order_table *order_table) | ||
| 12 | void BrZsOrderTableFree(br_order_table* order_table) { | ||
| 13 | LOG_TRACE("(%p)", order_table); | ||
| 14 | NOT_IMPLEMENTED(); | ||
| 15 | } | ||
| 16 | |||
| 17 | // IDA: br_order_table* __cdecl BrZsActorOrderTableSet(br_actor *actor, br_order_table *order_table) | ||
| 18 | br_order_table* BrZsActorOrderTableSet(br_actor* actor, br_order_table* order_table) { | ||
| 19 | LOG_TRACE("(%p, %p)", actor, order_table); | ||
| 20 | NOT_IMPLEMENTED(); | ||
| 21 | } | ||
| 22 | |||
| 23 | // IDA: br_order_table* __cdecl BrZsActorOrderTableGet(br_actor *actor) | ||
| 24 | br_order_table* BrZsActorOrderTableGet(br_actor* actor) { | ||
| 25 | LOG_TRACE("(%p)", actor); | ||
| 26 | NOT_IMPLEMENTED(); | ||
| 27 | } | ||
| 28 | |||
| 29 | // IDA: br_order_table* __cdecl BrZsOrderTableClear(br_order_table *order_table) | ||
| 30 | br_order_table* BrZsOrderTableClear(br_order_table* order_table) { | ||
| 31 | LOG_TRACE("(%p)", order_table); | ||
| 32 | NOT_IMPLEMENTED(); | ||
| 33 | } | ||
| 34 | |||
| 35 | // IDA: void __cdecl BrZsOrderTablePrimitiveInsert(br_order_table *order_table, br_primitive *primitive, br_uint_16 bucket) | ||
| 36 | void BrZsOrderTablePrimitiveInsert(br_order_table* order_table, br_primitive* primitive, br_uint_16 bucket) { | ||
| 37 | LOG_TRACE("(%p, %p, %d)", order_table, primitive, bucket); | ||
| 38 | NOT_IMPLEMENTED(); | ||
| 39 | } | ||
| 40 | |||
| 41 | // IDA: br_uint_16 __cdecl 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) | ||
| 42 | 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) { | ||
| 43 |     //br_uint_16 bucket; // Pierre-Marie Baty -- unused variable | ||
| 44 |     //br_scalar zprim; // Pierre-Marie Baty -- unused variable | ||
| 45 |     //br_scalar range; // Pierre-Marie Baty -- unused variable | ||
| 46 |     //br_scalar scale; // Pierre-Marie Baty -- unused variable | ||
| 47 | LOG_TRACE("(%p, %d, %f, %f, %d, %d)", z, type, min_z, max_z, size, sort_type); | ||
| 48 | NOT_IMPLEMENTED(); | ||
| 49 | } | ||
| 50 | |||
| 51 | // IDA: void __cdecl BrZsOrderTablePrimaryEnable(br_order_table *order_table) | ||
| 52 | void BrZsOrderTablePrimaryEnable(br_order_table* order_table) { | ||
| 53 | LOG_TRACE("(%p)", order_table); | ||
| 54 | NOT_IMPLEMENTED(); | ||
| 55 | } | ||
| 56 | |||
| 57 | // IDA: void __cdecl BrZsOrderTablePrimaryDisable() | ||
| 58 | void BrZsOrderTablePrimaryDisable(void) { | ||
| 59 | LOG_TRACE("()"); | ||
| 60 | NOT_IMPLEMENTED(); | ||
| 61 | } | ||
| 62 | |||
| 63 | // IDA: void __usercall InsertOrderTableList(br_order_table *order_table@<EAX>) | ||
| 64 | void InsertOrderTableList(br_order_table* order_table) { | ||
| 65 |     //br_order_table* previous_table; // Pierre-Marie Baty -- unused variable | ||
| 66 |     //br_order_table* current_table; // Pierre-Marie Baty -- unused variable | ||
| 67 | LOG_TRACE("(%p)", order_table); | ||
| 68 | NOT_IMPLEMENTED(); | ||
| 69 | } | ||
| 70 | |||
| 71 | // IDA: void __usercall SetOrderTableBounds(br_bounds *bounds@<EAX>, br_order_table *order_table@<EDX>) | ||
| 72 | void SetOrderTableBounds(br_bounds* bounds, br_order_table* order_table) { | ||
| 73 |     //br_uint_32 i; // Pierre-Marie Baty -- unused variable | ||
| 74 |     //br_scalar range; // Pierre-Marie Baty -- unused variable | ||
| 75 |     //br_scalar element; // Pierre-Marie Baty -- unused variable | ||
| 76 |     //br_scalar min_z; // Pierre-Marie Baty -- unused variable | ||
| 77 |     //br_scalar max_z; // Pierre-Marie Baty -- unused variable | ||
| 78 |     //br_vector3* min; // Pierre-Marie Baty -- unused variable | ||
| 79 |     //br_vector3* max; // Pierre-Marie Baty -- unused variable | ||
| 80 | LOG_TRACE("(%p, %p)", bounds, order_table); | ||
| 81 | NOT_IMPLEMENTED(); | ||
| 82 | } | ||
| 83 | |||
| 84 | // IDA: void __usercall SetOrderTableRange(br_order_table *order_table@<EAX>) | ||
| 85 | void SetOrderTableRange(br_order_table* order_table) { | ||
| 86 |     //br_scalar range; // Pierre-Marie Baty -- unused variable | ||
| 87 | LOG_TRACE("(%p)", order_table); | ||
| 88 | NOT_IMPLEMENTED(); | ||
| 89 | } | ||
| 90 | |||
| 91 | // IDA: void __cdecl RenderOrderTableList() | ||
| 92 | void RenderOrderTableList(void) { | ||
| 93 |     //br_order_table* order_table; // Pierre-Marie Baty -- unused variable | ||
| 94 | LOG_TRACE("()"); | ||
| 95 | NOT_IMPLEMENTED(); | ||
| 96 | } | ||
| 97 | |||
| 98 | // IDA: void __cdecl RenderPrimaryOrderTable() | ||
| 99 | void RenderPrimaryOrderTable(void) { | ||
| 100 |     //br_uint_16 m; // Pierre-Marie Baty -- unused variable | ||
| 101 |     //br_uint_16 size; // Pierre-Marie Baty -- unused variable | ||
| 102 |     //br_scalar bucket_size; // Pierre-Marie Baty -- unused variable | ||
| 103 |     //br_scalar min_z; // Pierre-Marie Baty -- unused variable | ||
| 104 |     //br_scalar max_z; // Pierre-Marie Baty -- unused variable | ||
| 105 |     //br_primitive* prim; // Pierre-Marie Baty -- unused variable | ||
| 106 |     //br_primitive** bucket; // Pierre-Marie Baty -- unused variable | ||
| 107 |     //br_order_table* order_table; // Pierre-Marie Baty -- unused variable | ||
| 108 | LOG_TRACE("()"); | ||
| 109 | NOT_IMPLEMENTED(); | ||
| 110 | } |