DB/LightData: Difference between revisions

From wowdev
Jump to navigation Jump to search
(add full and correct info for 6.0.1.18179)
mNo edit summary
Line 33: Line 33:
==6.0.1.18179==
==6.0.1.18179==
  struct LightDataRec {
  struct LightDataRec {
   int m_ID;
   uint32_t m_ID;
   int m_lightParamID;
   uint32_t m_lightParamID;
   int m_time;
   uint32_t m_time;
   int m_directColor;
   uint32_t m_directColor;
   int m_ambientColor;
   uint32_t m_ambientColor;
   int m_skyTopColor;
   uint32_t m_skyTopColor;
   int m_skyMiddleColor;
   uint32_t m_skyMiddleColor;
   int m_skyBand1Color;
   uint32_t m_skyBand1Color;
   int m_skyBand2Color;
   uint32_t m_skyBand2Color;
   int m_skySmogColor;
   uint32_t m_skySmogColor;
   int m_skyFogColor;
   uint32_t m_skyFogColor;
   int m_sunColor;
   uint32_t m_sunColor;
   int m_cloudSunColor;
   uint32_t m_cloudSunColor;
   int m_cloudEmissiveColor;
   uint32_t m_cloudEmissiveColor;
   int m_cloudLayer1AmbientColor;
   uint32_t m_cloudLayer1AmbientColor;
   int m_cloudLayer2AmbientColor;
   uint32_t m_cloudLayer2AmbientColor;
   int m_oceanCloseColor;
   uint32_t m_oceanCloseColor;
   int m_oceanFarColor;
   uint32_t m_oceanFarColor;
   int m_riverCloseColor;
   uint32_t m_riverCloseColor;
   int m_riverFarColor;
   uint32_t m_riverFarColor;
   int m_shadowOpacity;
   uint32_t m_shadowOpacity;
   float m_fogEnd;
   float m_fogEnd;
   float m_fogScaler;
   float m_fogScaler;
Line 59: Line 59:
   float m_fogDensity;
   float m_fogDensity;
  };
  };
[[Category:DBC]]
[[Category:DBC]]

Revision as of 20:58, 2 November 2014

New in MOP

Contains information of LightIntBand.dbc and LightFloatBand.dbc

The number of lines depends on the precision of the Time Values

Column 	        Description                                     Notes
1 		ID 
2 		Sky ID                                        This is a ref to LightParams.dbc
3 		Time values 
4 		Global diffuse light 
5 		Global ambient light 
6 		Sky color 0 (top)
7 		Sky color 1 (middle)
8 		Sky color 2 (middle to horizon)
9 	 	Sky color 3 (above horizon)
10 		Sky color 4 (horizon)
11 		Fog color / background mountains color
12 	 	Sun color + sun halo color
13 		Sun larger halo color 
14 	 	Cloud color
15 	 	?                                             This is the same value as the 11th row of LightIntBand
16 		?                                             This is the same value as the 13th row of LightIntBand
17 		?                                             This is the same value as the 14th row of LightIntBand
18 	 	Water color [dark]
19 		Water color [light] 
20 		Shadow color 
21 		?                                             This is the same value as the 8th row of LightIntBand
22 		Fog distance multiplied by 36 
23 	 	Fog multiplier?
24 		?                                             This is the same value as the 4th row of LightFloatBand

6.0.1.18179

struct LightDataRec {
  uint32_t m_ID;
  uint32_t m_lightParamID;
  uint32_t m_time;
  uint32_t m_directColor;
  uint32_t m_ambientColor;
  uint32_t m_skyTopColor;
  uint32_t m_skyMiddleColor;
  uint32_t m_skyBand1Color;
  uint32_t m_skyBand2Color;
  uint32_t m_skySmogColor;
  uint32_t m_skyFogColor;
  uint32_t m_sunColor;
  uint32_t m_cloudSunColor;
  uint32_t m_cloudEmissiveColor;
  uint32_t m_cloudLayer1AmbientColor;
  uint32_t m_cloudLayer2AmbientColor;
  uint32_t m_oceanCloseColor;
  uint32_t m_oceanFarColor;
  uint32_t m_riverCloseColor;
  uint32_t m_riverFarColor;
  uint32_t m_shadowOpacity;
  float m_fogEnd;
  float m_fogScaler;
  float m_cloudDensity;
  float m_fogDensity;
};