05.07.2012, 02:23
Normaly for small scritps I tend to do something like this:
But on my GM I use includes for each system, so I do it this way:
Each system include header looks like this:
It's quite simple to find bugs or change things from a system.
Код:
Includes Macros Vars/Arrays Callbacks (Commands if using ZCMD) Functions
pawn Код:
Includes (#Incldue ""../Data/Systems/System_Name/Header"
Callbacks
pawn Код:
#include "../Data/Systems/System_Name/Arrays"//includes macros, enums, arrays, variables
#include "../Data/Systems/System_Name/Functions"
#include "../Data/Systems/System_Name/Callbacks"
#include "../Data/Systems/System_Name/Commands"
#include "../Data/Systems/System_Name/Dialogs"