30.03.2014, 03:44
To explain it with fishing areas.
The first [] is the fishing area, in this case you want 2 fishing areas so placing MAX_FISH_AREAS inside the first [] is basically saying that you want two fishing areas.
(MAX_FISH_AREAS is the same as 2, so [MAX_FISH_AREAS] is the same as [2])
Then the second [] would be the fishing area coordinates but because there is 3 coordinates for each fishing area, you need the second [] to have [3] inside it.
The reason the first [] has MAX_FISH_AREAS is because you can easily change it just by changing the value of the #define.
I hope that explains it enough xD
The first [] is the fishing area, in this case you want 2 fishing areas so placing MAX_FISH_AREAS inside the first [] is basically saying that you want two fishing areas.
(MAX_FISH_AREAS is the same as 2, so [MAX_FISH_AREAS] is the same as [2])
Then the second [] would be the fishing area coordinates but because there is 3 coordinates for each fishing area, you need the second [] to have [3] inside it.
The reason the first [] has MAX_FISH_AREAS is because you can easily change it just by changing the value of the #define.
I hope that explains it enough xD