Where can I find ElementClasses.cpp?

  • sagakkimbab
    15th May 2016 Member 0 Permalink

    In 90.2, ElementClasses.cpp and ElementClasses.h was in generated/, but in 91.3, I can't find this files! I want to add more elements, how can I do?

  • jacob1
    15th May 2016 Developer 0 Permalink
    You should never directly modify this file. It is meant to be automatically generated. This guide should go over how to create an element: https://powdertoy.co.uk/Wiki/W/Coding-tutorial.html
    Then, you just run generator.py again and the files will generate.