Weird Code Snippet

  • Fusionftw
    8th Apr 2020 Member 0 Permalink

    #endif
    #ifdef REALISTIC
    "REALISTIC"

     

    Found this snippet of code in IntroText.h; it is part of the version generating code, but i'm not sure what the REALISTIC add-on is supposed to mean in relation to TPT.

  • munibf
    10th Apr 2020 Member 0 Permalink

    probably Newtonian gravity?

  • Fusionftw
    10th Apr 2020 Member 0 Permalink

    I don't think so. I tried enabling all simulation add-ons (Newtonain, Water Equalization, etc.) but it didn't cause the "REALISTIC" to appear in the intro text.

    Edited once by Fusionftw. Last: 10th Apr 2020
  • jacob1
    10th Apr 2020 Developer 0 Permalink
    This is a leftover of some old code written by savask, that was removed in the c++ rewrite 8 years ago.

    This feature is still present in my mod as a toggleable option though. It adds latent heat (so it takes a bit extra energy to boil water for example). I can't remember what else it adds. Not many elements have latent heat set, mostly just the elements directly based on reality.
  • Fusionftw
    10th Apr 2020 Member 0 Permalink

    Ok. Thanks!