View Single Post
  #5  
Old 01-19-2018, 12:12 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

https://github.com/EQEmu/Server/blob...structs.h#L347

Each of those properties is a array of 4 indices.

So you would get:
Code:
zone_data->fog_red[0] = atoi(row[1]);
zone_data->fog_red[1] = atoi(row[6]);
zone_data->fog_red[2] = atoi(row[11]);
zone_data->fog_red[3] = atoi(row[16]);
..by looping like that.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote