TPT++

  • jacob1
    4th Nov 2012 Developer 0 Permalink
    @Awes0me (View Post)
    most people like tpt++, the people that don't should use either mine or jacksonmj's version. tpt was converted to make everything easier, tpt is hard to work with (non-descriptive variable names, complicated/messy code, no simple way to add some useful needed features). It would be a waste of time to make Simon have to keep two different versions of tpt up to date, splitting a program in half never helps anything.
  • cyberdragon442
    4th Nov 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • jacob1
    4th Nov 2012 Developer 0 Permalink
    @cyberdragon442 (View Post)
    which compiler? You are doing it completely wrong, just stop putting in all this work to do whatever you are doing.
  • cyberdragon442
    4th Nov 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • jacob1
    4th Nov 2012 Developer 0 Permalink
    @cyberdragon442 (View Post)
    ok, there isn't any codeblocks tutorial yet. I do see something that would fix your includes problem though. I see this:
    Under the Compiler tab, click Add, and browse to and add the "includes" folder of the source to the list. (It should be okay to leave it as a relative path, but if you get a bunch of errors about various .h files not being found, try using the full path of the includes folder.)

    Add the generated, src, and data folders too. You may need to use scons though if you can't figure it out. (that needs python and scons installed).
  • jacksonmj
    4th Nov 2012 Developer 0 Permalink

    @Awes0me (View Post)

    I don't think a split is necessary. Nor do I think it would be viable for the C version. For the reasons jacob1 mentioned, I doubt anyone will want to maintain the C version in its current state. Some bits of it are just a horrible mess.

     

    At the moment, the closest you'll get to a continuation of the C version is https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=15340. That will gradually be converted to C++, and may turn out better, or worse, than the official C++ rewrite (TPT++).

  • cyberdragon442
    4th Nov 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • jacob1
    4th Nov 2012 Developer 0 Permalink
    @jacksonmj (View Post)
    And mine: https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=11117 , this has the new elements and some new features (the ones possible in c). I am copying jacksonmj's branch too, that way if we use his instead it won't be any extra work to convert my mod twice. He has taken a few tpt++ things from my fork too.

    @cyberdragon442 (View Post)
    I have a feeling you are compiling using gcc, not g++. I don't know much about mingw, but basically you are probably compiling the code like it's c code, not c++ code. Try to find online how to change that in code::blocks, i'm not sure how
  • cyberdragon442
    4th Nov 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • jacob1
    4th Nov 2012 Developer 0 Permalink
    @cyberdragon442 (View Post)
    ok, when you install mingw there should be an option to also install a c++ compiler, if you don't have one already