15.05.2013, 18:46
Quote:
My main 'concern' is this: I create a function, for example, CreateDoubleRainbow(), and it's in some file in my server files, for example /scripts/core/objects/blah/dir/lol/rainbows.inc
|
The other way, is to use a different include for every type of code (this can get a bit messy). I cannot express myself but what I mean is to make a specific include containing all the functions, a specific include for all the variables, for all the macros, defines etc. You can store them as include/*.inc
Using one of these methods, you know where something is. You're concerned with changing a part of the code in your weather changing system, you look for it in the 'weather.inc' or if you want to change a function, you search the 'functions.inc' rather than searching for it in multiple directories.