Increase resolution

  • Synergy
    27th Mar 2012 Member 0 Permalink
    This has probably been asked many many times, however I would like to know if this is possible. Obviously it's possible, it just depends on how much code people are willing to alter in order to achieve it.

    Increasing the resolution or just increasing the window size would be very useful. And I am pretty sure that people should be able to run TPT smoothly still, as we are in 2012. Unless they decided to fill the whole screen with fireworks and bombs and blow them up...
  • vanquish349
    27th Mar 2012 Member 0 Permalink
    @Synergy (View Post)
    Increasing the size of tpts windows will require an edit to 2 lines of code, but the problem is that most parts of the code have become dependent on the size it is at the moment.
  • Synergy
    27th Mar 2012 Member 0 Permalink
    Yeah I had a feeling it would be like that. If you ask me they need to start from scratch. Remake the whole thing so that changes and additions can be added easily. Would take a while, but it would be worth it in the end.

    What language is TPT written in btw?
  • vanquish349
    27th Mar 2012 Member 0 Permalink
    @Synergy (View Post)
    at the moment c but simon is working on tptpp which tpt written in c++, in other words your wish has come true.
  • The-Fall
    27th Mar 2012 Member 0 Permalink
    Well, Its being ported to C++. In order to rewrite in full, we need someone with the expertise to recode the Wind simulation, and that person is long since gone... :( so we are stuck, as is the wind code and its myriad of complexities. 
  • Synergy
    27th Mar 2012 Member 0 Permalink
    So the original developer is gone?

    Maybe he should just hire someone to do it.
  • vanquish349
    27th Mar 2012 Member 0 Permalink
    @Synergy (View Post)
    the original developers name is skylark he has been gone for several years, the admin is simon and he is the one that develops tpt the most along with jacksonmj, savask and cracker64. about the pay thing, simon doesn't make enough money to pay someone he only just makes enough to pay for the server each month.
  • boxmein
    27th Mar 2012 Former Staff 0 Permalink

    defines.h
    ::
    #define XRES 612
    #define YRES 384
    -- Those define the borders of the game area. Editing them will make the game exponentially slower.
    #define CELL 4
    -- This defines the wall block size(and therefore pressure area size) to be 4x4.

    TIL that <code> draws a box around the text, but <pre> does not.
  • mirek123
    27th Mar 2012 Member 0 Permalink
    If you want increase resolution , maybe you will do support multi core on CPU and support PhysX on graphic card because without it will be much lags and low FPS
  • mniip
    27th Mar 2012 Developer 0 Permalink
    Multicore? Synchronisation will make it run even slower...
    Well if you change those 2 lines, everything would be modified, so it will still work, tested.
    Ive heard simon is just copying parts of code, since c and c++ are similar, no full recoding is needed. Current tpt++ does simulation same way as tpt does. Just some elements are missing, like stamps, console, copy-paste and etc