Split everything up and #include <everything>?
#1

Ey ey boys and girls.

I just have a quick question. I want my codes to look as clean and good as possible, therefore I'm wondering if there's any cons by splitting up the code and include it all?

So I make one .inc for color defines, another one for other defines, one for stock functions, another one for variables, one for forwards and publics and so forth?

Will that work out just fine or isn't it worth it? Also wondering; if I include a command for instance, and that command is a zcmd command. That command is in another include, let's say commads.inc. Do I have to #include <zcmd> in that commands.inc file, or will it work since it is all included in the gamemode itself?

By the way, have a good day
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)