Skip to content

Commit 63d8a0e

Browse files
committed
Some refactoring of xrAI.
1 parent 06fe23d commit 63d8a0e

File tree

4 files changed

+155
-196
lines changed

4 files changed

+155
-196
lines changed

src/utils/xrAI/compiler.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ struct vertex // definition of "patch" or "node"
4545
u32 nBack() { return n4; }
4646
};
4747

48-
using DWORDs = xr_vector<u32>;
48+
//using DWORDs = xr_vector<u32>;
4949

50-
#define LT_DIRECT 0
51-
#define LT_POINT 1
52-
#define LT_SECONDARY 2
50+
//#define LT_DIRECT 0
51+
//#define LT_POINT 1
52+
//#define LT_SECONDARY 2
5353

54-
struct R_Light
54+
/*struct R_Light
5555
{
5656
u32 type; // Type of light source
5757
float amount; // Diffuse color of light
@@ -64,7 +64,7 @@ struct R_Light
6464
float attenuation2; // Quadratic attenuation
6565
6666
Fvector tri[3]; // Cached triangle for ray-testing
67-
};
67+
};*/
6868

6969
struct SCover
7070
{
@@ -74,7 +74,7 @@ struct SCover
7474
using Nodes = xr_vector<vertex>;
7575
using Vectors = xr_vector<Fvector>;
7676
using Marks = xr_vector<BYTE>;
77-
using Lights = xr_vector<R_Light>;
77+
//using Lights = xr_vector<R_Light>;
7878

7979
// data
8080
extern CDB::MODEL Level;

0 commit comments

Comments
 (0)