Jump to content

Component Preprocessor

   (0 reviews)

1 Screenshot

About This File

 

The new Preprocessor for the Ultra Engine entity component system. This will remove the need to ever edit ComponentSystem.h ever again to register new components for C++ projects. 

Install the executable to the Tools folder of your Ultra Engine installation. Then simply call the Executable in your Pre-Build Event and the tool will generate a RegisterComponents.h file within your Source directory. This assumes you are making one component per file and the name of the class matches the header file. A blank JSON file for the editor will be generated if none exists. 

By default, this assumes it's in the same location as your solution. To set the working directory, use *+project* to set the location.

"%ULTRAENGINE%\Tools\Preprocessor.exe" +project "path/to/project"

 

 Share


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
×
×
  • Create New...