We have a box tool, why not circle?

  • Ark5
    26th Aug 2010 Banned 0 Permalink
    This post is hidden because the user is banned
  • bchandark
    26th Aug 2010 Member 0 Permalink
    The next version has unlimited brush size (grab it now by compiling the source at github), so you can just use that.
  • Aizria
    26th Aug 2010 Member 0 Permalink
    This has been suggested inummerable times. Still a decent suggestion, but again inummerable times has it been suggested.
  • ssc4k
    26th Aug 2010 Member 0 Permalink
    bchandark: Could you tell me what changed in the latest version of the code that I need to change something to my build environment? On VS2008 and VS2010 I get

    1>Linking...
    1>powder.obj : error LNK2001: unresolved external symbol _drawpixel
    1>powder.obj : error LNK2001: unresolved external symbol _xor_rect
    1>powder.obj : error LNK2001: unresolved external symbol _drawdots
    1>powder.obj : error LNK2001: unresolved external symbol _draw_line
    1>powder.obj : error LNK2001: unresolved external symbol _drawblob
    1>powder.obj : error LNK2001: unresolved external symbol _draw_air
    1>powder.obj : error LNK2001: unresolved external symbol _textwidthx
    1>powder.obj : error LNK2001: unresolved external symbol _textwidth
    1>powder.obj : error LNK2001: unresolved external symbol _drawtextmax
    1>powder.obj : error LNK2001: unresolved external symbol _clearrect
    1>powder.obj : error LNK2001: unresolved external symbol _draw_tool_xy
    1>powder.obj : error LNK2001: unresolved external symbol _xor_pixel
    1>powder.obj : error LNK2001: unresolved external symbol _addpixel
    1>powder.obj : error LNK2001: unresolved external symbol _textnwidth
    1>powder.obj : error LNK2001: unresolved external symbol _drawtext
    1>powder.obj : error LNK2001: unresolved external symbol _drawrect
    1>powder.obj : error LNK2001: unresolved external symbol _rescale_img
    1>powder.obj : error LNK2001: unresolved external symbol _fillrect
    1>powder.obj : error LNK2001: unresolved external symbol _sdl_blit
    1>powder.obj : error LNK2001: unresolved external symbol _blendpixel
    1>powder.obj : error LNK2001: unresolved external symbol _draw_icon
    1>powder.obj : error LNK2001: unresolved external symbol _draw_menu
    1>powder.obj : error LNK2001: unresolved external symbol _xor_line
    1>C:\Users\Daniel\Desktop\tpt-build\Release\tpt.exe : fatal error LNK1120: 23 unresolved externals
  • bchandark
    26th Aug 2010 Member 0 Permalink
    It looks like your linking is wrong.

    I do know that a lot of powder.c was taken apart and put into different header files, so don't just replace powder.c.
  • HolyExLxF
    26th Aug 2010 Member 0 Permalink
    I'm also getting a lot of linking errors, but they point to redundant defines.

    1>bzip2recover.obj : error LNK2005: _main already defined in bzip2.obj
    1>dlltest.obj : error LNK2005: _main already defined in bzip2.obj
    1>mk251.obj : error LNK2005: _main already defined in bzip2.obj
    1>spewG.obj : error LNK2005: _main already defined in bzip2.obj
    1>unzcrash.obj : error LNK2005: _main already defined in bzip2.obj
    1>powder.obj : error LNK2005: _font_data already defined in graphics.obj
    1>powder.obj : error LNK2005: _font_ptrs already defined in graphics.obj
    1>powder.obj : error LNK2005: _cmode already defined in graphics.obj
    1>powder.obj : error LNK2005: _sdl_scale already defined in graphics.obj
    1>powder.obj : error LNK2005: _mwalls already defined in graphics.obj
    1>powder.obj : error LNK2005: _msections already defined in graphics.obj
    1>powder.obj : error LNK2005: _ptypes already defined in graphics.obj
    1>powder.obj : error LNK2005: _pstates already defined in graphics.obj
    1>SDLmain.lib(SDL_win32_main.obj) : error LNK2005: _main already defined in bzip2.obj
    1>MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
    1>spewG.obj : error LNK2019: unresolved external symbol _random referenced in function _main
    1>spewG.obj : error LNK2019: unresolved external symbol _setbuffer referenced in function _main
    1>spewG.obj : error LNK2019: unresolved external symbol _srandom referenced in function _main
    1>graphics.obj : error LNK2019: unresolved external symbol _fabsf referenced in function _draw_air
    1>graphics.obj : error LNK2019: unresolved external symbol _clamp_flt referenced in function _draw_air
    1>graphics.obj : error LNK2019: unresolved external symbol _sign referenced in function _draw_line
    1>\FacialTurd-The-Powder-Toy-470519c\Debug\Powder Toy Alpha.exe : fatal error LNK1120: 6 unresolved externals
  • codefeenix
    26th Aug 2010 Member 0 Permalink
    bchandark
    mine exploded too.... (replaced everything)
  • triclops200
    26th Aug 2010 Former Staff 0 Permalink
    I asked simon, it's because it isn't finished yet.
  • Xenocide
    26th Aug 2010 Former Staff 0 Permalink
    Makes me wish I checked simons compiled before re-forking my bit >.<
  • lolzy
    26th Aug 2010 Former Staff 0 Permalink
    Its not that hard to make a circle. I hade to make all mine for my Portal cubes etc.