Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / #include extra dba files

Author
Message
GreenDixy
17
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 26th Mar 2010 02:55
Just had a quick question about adding more dba files. When i add more to my project, Do i need to do #include "file.dba" to the main section every time i create a new dba?

like

main.dba (Handels loops etc)
-Cam.dba
-Movement.dba

So would i do #include "file" in main.dba?
This way way i can keep the files cleaned up.

===================
No life, Lots of love, 2 Kids, God save me LOL
Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 26th Mar 2010 02:56
Add them in the side pane. Solution explorer is what you want Then just call subroutines and functions from your main source.

Windows 7 32-Bit Home Premium Intel Pentium Dual-Core @ 1.46Ghz 2038mb RAM
GreenDixy
17
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 26th Mar 2010 03:02 Edited at: 26th Mar 2010 03:03
Thanks Mad appreciate the info.

Also one other question bought T.ED the terrains i make with it can i upload for others to use in there games etc?

===================
No life, Lots of love, 2 Kids, God save me LOL
Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 26th Mar 2010 03:13
If they're your terrains, sure.

Windows 7 32-Bit Home Premium Intel Pentium Dual-Core @ 1.46Ghz 2038mb RAM
GreenDixy
17
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 26th Mar 2010 03:18
Cool! Once im done my terrain, I will upload it for others to use. T.ED, Is by far one of the best programs i have used yet for terrains.

===================
No life, Lots of love, 2 Kids, God save me LOL

Login to post a reply

Server time is: 2026-06-25 21:52:07
Your offset time is: 2026-06-25 21:52:07