Sign in to follow this  
Paul

Referencing prices in config.cpp

5 posts in this topic

Hi Guys

A quick question - instead of listing all of the prices for everything in config.cpp, can I put them all in an external file and just do #include mypricefile.hpp in the config file instead?

If I can do that, is it possible to list multiple files? So for example (we use EBM):
class CfgExileArsenal
{
    #include "EBM\prices.hpp"
    #include "mypricefile.hpp"
};

Thanks in advanced!

Paul

Share this post


Link to post
Share on other sites
Advertisement

Awesome. I might do that instead then as it shortens the price file, and I can add my custom items into one file instead of tagging them onto the bottom.

Many thanks for the reply

Share this post


Link to post
Share on other sites
Advertisement

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  

  • Recently Browsing   0 members

    No registered users viewing this page.