Jump to content
  • Advertisement
Sign in to follow this  
Miss

CScriptBuilder #elif, #else

Recommended Posts

It would be great to have these keywords included by default in the script builder addon. It's kind of a pain to use precompiler options currently. Maybe even a way to negate an #if? (#if ! or so.)

Share this post


Link to post
Share on other sites
Advertisement

So, I tried implementing #else and #elif into CScriptBuilder but gave up because I wasn't happy with the way the code looked. So, instead, I wrote my own general purpose preprocessor. Feel free to include it (or not) into CScriptBuilder.

I will also be adding an option to my version of CScriptBuilder to disable #if and #endif.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!