landerbl01's mod

  • landerbl01
    29th Oct 2010 Member 0 Permalink
    tpt.zip - 1.6 Mb
    This version is only the debug folder because the other ones arnt working
  • MiXih
    29th Oct 2010 Member 0 Permalink
    landerbl01
    When you changing build type to release you must change Include Directories and Additional Dependencies
  • landerbl01
    29th Oct 2010 Member 0 Permalink
    It doesn't compile and when i try i get this error:
    1>------ Build started: Project: powder toy modified version, Configuration: Debug Win32 ------
    1> powder.c
    1>c:\users\ben\desktop\applications\powder toy\powder source code\powder.h(285): warning C4305: 'initializing' : truncation from 'int' to 'unsigned char'
    1>c:\users\ben\desktop\applications\powder toy\powder source code\powder.h(289): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    1>powder.c(289): warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(290): warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(326): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(327): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(328): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(329): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(331): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(332): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(333): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(334): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(336): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(337): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(338): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(339): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(341): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(342): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(343): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(344): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(465): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    1>powder.c(475): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(740): warning C4244: 'initializing' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(856): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1362): warning C4305: '*=' : truncation from 'double' to 'float'
    1>powder.c(1363): warning C4305: '*=' : truncation from 'double' to 'float'
    1>powder.c(1424): warning C4305: '*=' : truncation from 'double' to 'float'
    1>powder.c(1425): warning C4305: '*=' : truncation from 'double' to 'float'
    1>powder.c(1706): warning C4305: 'initializing' : truncation from 'double' to 'float'
    1>powder.c(1719): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1720): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1721): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1722): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1728): warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1874): warning C4244: '=' : conversion from 'unsigned int' to 'float', possible loss of data
    1>powder.c(1914): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1930): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(1939): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1945): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1951): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1957): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1989): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1990): warning C4244: '*=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1997): warning C4244: '-=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(2014): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(2015): warning C4244: '*=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(2022): warning C4244: '-=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(2040): warning C4305: '-=' : truncation from 'double' to 'float'
    1>powder.c(2041): warning C4305: '+=' : truncation from 'double' to 'float'
    1>powder.c(2046): warning C4305: '-=' : truncation from 'double' to 'float'
    1>powder.c(2047): warning C4305: '+=' : truncation from 'double' to 'float'
    1>powder.c(2300): error C2143: syntax error : missing ';' before 'type'
    1>powder.c(2303): error C2143: syntax error : missing ';' before 'type'
    1>powder.c(2325): error C2065: 'l' : undeclared identifier
    1>powder.c(2326): error C2065: 'l' : undeclared identifier
    1>powder.c(2329): error C2065: 'l' : undeclared identifier
    1>powder.c(2363): error C2065: 'cr' : undeclared identifier
    1>powder.c(2363): error C2065: 'cg' : undeclared identifier
    1>powder.c(2363): error C2065: 'cb' : undeclared identifier
    1>powder.c(2364): error C2065: 'cr' : undeclared identifier
    1>powder.c(2365): error C2065: 'cr' : undeclared identifier
    1>powder.c(2365): error C2065: 'cr' : undeclared identifier
    1>powder.c(2366): error C2065: 'cr' : undeclared identifier
    1>powder.c(2367): error C2065: 'cg' : undeclared identifier
    1>powder.c(2368): error C2065: 'cg' : undeclared identifier
    1>powder.c(2368): error C2065: 'cg' : undeclared identifier
    1>powder.c(2369): error C2065: 'cg' : undeclared identifier
    1>powder.c(2370): error C2065: 'cb' : undeclared identifier
    1>powder.c(2371): error C2065: 'cb' : undeclared identifier
    1>powder.c(2371): error C2065: 'cb' : undeclared identifier
    1>powder.c(2372): error C2065: 'cb' : undeclared identifier
    1>powder.c(2392): error C2065: 'cr' : undeclared identifier
    1>powder.c(2393): error C2065: 'cg' : undeclared identifier
    1>powder.c(2394): error C2065: 'cb' : undeclared identifier
    1>powder.c(2395): error C2065: 'cr' : undeclared identifier
    1>powder.c(2396): error C2065: 'cr' : undeclared identifier
    1>powder.c(2396): error C2065: 'cr' : undeclared identifier
    1>powder.c(2397): error C2065: 'cr' : undeclared identifier
    1>powder.c(2398): error C2065: 'cg' : undeclared identifier
    1>powder.c(2399): error C2065: 'cg' : undeclared identifier
    1>powder.c(2399): error C2065: 'cg' : undeclared identifier
    1>powder.c(2400): error C2065: 'cg' : undeclared identifier
    1>powder.c(2401): error C2065: 'cb' : undeclared identifier
    1>powder.c(2402): error C2065: 'cb' : undeclared identifier
    1>powder.c(2402): error C2065: 'cb' : undeclared identifier
    1>powder.c(2403): error C2065: 'cb' : undeclared identifier
    1>powder.c(2410): error C2065: 'cr' : undeclared identifier
    1>powder.c(2410): error C2065: 'cg' : undeclared identifier
    1>powder.c(2410): error C2065: 'cb' : undeclared identifier
    1>powder.c(2411): error C2065: 'cr' : undeclared identifier
    1>powder.c(2412): error C2065: 'cr' : undeclared identifier
    1>powder.c(2412): error C2065: 'cr' : undeclared identifier
    1>powder.c(2413): error C2065: 'cr' : undeclared identifier
    1>powder.c(2414): error C2065: 'cg' : undeclared identifier
    1>powder.c(2415): error C2065: 'cg' : undeclared identifier
    1>powder.c(2415): error C2065: 'cg' : undeclared identifier
    1>powder.c(2416): error C2065: 'cg' : undeclared identifier
    1>powder.c(2417): error C2065: 'cb' : undeclared identifier
    1>powder.c(2418): error C2065: 'cb' : undeclared identifier
    1>powder.c(2418): error C2065: 'cb' : undeclared identifier
    1>powder.c(2419): error C2065: 'cb' : undeclared identifier
    1>powder.c(2461): error C2065: 'cr' : undeclared identifier
    1>powder.c(2461): error C2065: 'cg' : undeclared identifier
    1>powder.c(2461): error C2065: 'cb' : undeclared identifier
    1>powder.c(2462): error C2065: 'cr' : undeclared identifier
    1>powder.c(2463): error C2065: 'cr' : undeclared identifier
    1>powder.c(2463): error C2065: 'cr' : undeclared identifier
    1>powder.c(2464): error C2065: 'cr' : undeclared identifier
    1>powder.c(2465): error C2065: 'cg' : undeclared identifier
    1>powder.c(2466): error C2065: 'cg' : undeclared identifier
    1>powder.c(2466): error C2065: 'cg' : undeclared identifier
    1>powder.c(2467): error C2065: 'cg' : undeclared identifier
    1>powder.c(2468): error C2065: 'cb' : undeclared identifier
    1>powder.c(2469): error C2065: 'cb' : undeclared identifier
    1>powder.c(2469): error C2065: 'cb' : undeclared identifier
    1>powder.c(2470): error C2065: 'cb' : undeclared identifier
    1>powder.c(2488): error C2065: 'cr' : undeclared identifier
    1>powder.c(2488): error C2065: 'cg' : undeclared identifier
    1>powder.c(2488): error C2065: 'cb' : undeclared identifier
    1>powder.c(2489): error C2065: 'cr' : undeclared identifier
    1>powder.c(2490): error C2065: 'cr' : undeclared identifier
    1>powder.c(2490): error C2065: 'cr' : undeclared identifier
    1>powder.c(2491): error C2065: 'cr' : undeclared identifier
    1>powder.c(2492): error C2065: 'cg' : undeclared identifier
    1>powder.c(2493): error C2065: 'cg' : undeclared identifier
    1>powder.c(2493): error C2065: 'cg' : undeclared identifier
    1>powder.c(2494): error C2065: 'cg' : undeclared identifier
    1>powder.c(2495): error C2065: 'cb' : undeclared identifier
    1>powder.c(2496): error C2065: 'cb' : undeclared identifier
    1>powder.c(2496): error C2065: 'cb' : undeclared identifier
    1>powder.c(2497): error C2065: 'cb' : undeclared identifier
    1>powder.c(2566): error C2065: 'cr' : undeclared identifier
    1>powder.c(2566): error C2065: 'cg' : undeclared identifier
    1>powder.c(2566): error C2065: 'cb' : undeclared identifier
    1>p
  • MiXih
    29th Oct 2010 Member 0 Permalink
    One error brokes whole code. Add ";" at 2300 and 2303.
  • landerbl01
    29th Oct 2010 Member 0 Permalink
    Now its this error.
    1>------ Build started: Project: powder toy modified version, Configuration: Debug Win32 ------
    1> powder.c
    1>c:\users\ben\desktop\applications\powder toy\powder source code\powder.h(285): warning C4305: 'initializing' : truncation from 'int' to 'unsigned char'
    1>c:\users\ben\desktop\applications\powder toy\powder source code\powder.h(289): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    1>powder.c(289): warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(290): warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(326): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(327): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(328): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(329): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(331): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(332): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(333): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(334): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(336): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(337): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(338): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(339): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(341): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(342): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(343): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(344): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(465): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    1>powder.c(475): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(740): warning C4244: 'initializing' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(856): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1362): warning C4305: '*=' : truncation from 'double' to 'float'
    1>powder.c(1363): warning C4305: '*=' : truncation from 'double' to 'float'
    1>powder.c(1424): warning C4305: '*=' : truncation from 'double' to 'float'
    1>powder.c(1425): warning C4305: '*=' : truncation from 'double' to 'float'
    1>powder.c(1706): warning C4305: 'initializing' : truncation from 'double' to 'float'
    1>powder.c(1719): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1720): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1721): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1722): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1728): warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1874): warning C4244: '=' : conversion from 'unsigned int' to 'float', possible loss of data
    1>powder.c(1914): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1930): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
    1>powder.c(1939): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1945): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1951): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1957): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1989): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(1990): warning C4244: '*=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(1997): warning C4244: '-=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(2014): warning C4244: 'function' : conversion from 'float' to 'int', possible loss of data
    1>powder.c(2015): warning C4244: '*=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(2022): warning C4244: '-=' : conversion from 'double' to 'float', possible loss of data
    1>powder.c(2040): warning C4305: '-=' : truncation from 'double' to 'float'
    1>powder.c(2041): warning C4305: '+=' : truncation from 'double' to 'float'
    1>powder.c(2046): warning C4305: '-=' : truncation from 'double' to 'float'
    1>powder.c(2047): warning C4305: '+=' : truncation from 'double' to 'float'
    1>powder.c(2300): error C2143: syntax error : missing ';' before 'type'
    1>powder.c(2830): error C2143: syntax error : missing ';' before 'type'
    1>powder.c(2833): error C2143: syntax error : missing ';' before 'type'
    1>powder.c(2834): error C2065: 'cy' : undeclared identifier
    1>powder.c(2834): error C2065: 'cy' : undeclared identifier
    1>powder.c(2834): error C2065: 'area_h' : undeclared identifier
    1>powder.c(2834): error C2065: 'cy' : undeclared identifier
    1>powder.c(2836): error C2065: 'cx' : undeclared identifier
    1>powder.c(2836): error C2065: 'cx' : undeclared identifier
    1>powder.c(2836): error C2065: 'area_w' : undeclared identifier
    1>powder.c(2836): error C2065: 'cx' : undeclared identifier
    1>powder.c(2838): error C2065: 'cy' : undeclared identifier
    1>powder.c(2838): error C2065: 'area_y' : undeclared identifier
    1>powder.c(2838): error C2065: 'cx' : undeclared identifier
    1>powder.c(2838): error C2065: 'area_x' : undeclared identifier
    1>powder.c(2839): error C2065: 'cx' : undeclared identifier
    1>powder.c(2839): error C2065: 'area_x' : undeclared identifier
    1>powder.c(2839): error C2065: 'cy' : undeclared identifier
    1>powder.c(2839): error C2065: 'area_y' : undeclared identifier
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  • Finalflash50
    29th Oct 2010 Banned 0 Permalink
    This post is hidden because the user is banned
  • tkmaxx
    29th Oct 2010 Member 0 Permalink
    the problem is that people keep saying learn and never say here is how you do it
  • MiXih
    29th Oct 2010 Member 0 Permalink
    1>powder.c(2300): error C2143: syntax error : missing ';' before 'type'
    1>powder.c(2830): error C2143: syntax error : missing ';' before 'type'
    1>powder.c(2833): error C2143: syntax error : missing ';' before 'type'
  • landerbl01
    29th Oct 2010 Member 0 Permalink
    powder source code (3).zip - 14.7 Mb
    compiled version is in the debug folder
    EDIT; Powder.def removed from source code
  • sillu129
    29th Oct 2010 Member 0 Permalink
    plz post the debug folder separately no one dosent like to download powdertoy 10 minutes