Quote: "So in knowing that(buggy)....can you turn it off? or does it just simply have to be that way with DBP?"
I mean't the other way round. It's more buggy to use the
#include command from my experience. Though I haven't used it in a long time so it might be fine. But if you'd rather use it then simply remove the source files from the project. If you right click on the source file through the IDE, you will see the option
Remove From Project.
Another thing is if you have multiple separate files it's best to create subroutines (gosubs) to declare or initialise the variables needed in those files, because if you use variables from another function before it's variables have been declared then it won't work. So we do something like this:
Main.dba
gosub declare_math
vec3.x = blablabla
sync on
do
sync
loop
Math.dba
type vector3
x as float
y as float
z as float
endtype
declare_math:
global vec3 as vector3
return
You can do this with functions, just note that gosub's are quicker than functions.