-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstuff.cpp
More file actions
102 lines (92 loc) · 2.5 KB
/
Copy pathstuff.cpp
File metadata and controls
102 lines (92 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
all requests:
scene: string = depends on endpoint
parse_generic_args1:
backgroundColor: hexcolor = 0
portalsEnabled: bool = true
fogEnabled: bool = true
lightingEnabled: bool = true
<no parameter>: bool = true
ffxEnabled: bool = true
<no parameter>: bool = true
showDetailDoodads: bool = true
showDoodads: bool = true
showLiquid: bool = true
showMapObjs: bool = true
showParticles: bool = true
showSky: bool = false
showTerrain: bool = true
showOccluders: bool = false
showPortals: bool = false
showGrid: bool = false
overDraw: int = 0
if overDraw > 0:
showSky = false
showTerrain = false
showLiquid = false
showMapObjs = false
showDetailDoodads = false
parse_generic_args2:
imgSize: int,int
animSequence: int
animVariation: int
animTimer: int
animRot: float
animShowWeapons: bool
iaCrossFade: uint
iaFramesPerSecond: uint
irFrameCount: uint
irRotateDeltaRadians: float
nearClip: float
farClip: float
if nearClip >= farClip:
farClip = nearClip + 1.0
fov: float
ortho: bool
scale: float
yaw: float
pitch: float
fitToScreen: bool
trans: float,float,float
wmo_args:
if request_path is numeric:
fileName: string = "debug"
fileID = atoi (request_path)
else: # as of WOW-25902patch8.0.1_Beta this is broken and will never trigger due to an off-by-one error
path: string = ""
filePath = path + "/" + request_path
miniMap: bool = false
chunkIndex: int = -1
lightDir: float,float,float = 0.0,0.0,-1.0 # will be normalized
lightCol: hexcolor = 0xff808080
ambCol: hexcolor = 0xff202020
if !miniMap:
snapShot: bool = false
maps_args:
mapID = atoi (request_path)
coord: int,int = -1,-1
if ! coord >= 0,0:
pos: float,float,float = -1,-1,-1
rect: float,float: 533.333,533.333
vis_rect = pos.xy +- rect.xy / 2
else:
vis_rect = tile_to_worldcoord (coord)
pos = vis_rect.center(), 3000
lightDir: float,float,float = 0.0,0.0,-1.0 # will be normalized
lightCol: hexcolor = 0xff808080
ambCol: hexcolor = 0xff202020
areaLightWater: bool = false
override:
scale = 1.0
pitch = 1.0
yaw = 1.0
trans = pos
fitToScreen = false
m2_args:
if request_path is numeric:
fileID = atoi (request_path)
else: # as of WOW-25902patch8.0.1_Beta this is broken and will never trigger due to an off-by-one error
path: string = ""
filePath = path + "/" + request_path
enableGeosetList: bool = false
geoset: string = "" # some weird list of uints, probably comma separated
overDraw: int = 0