Git Product home page Git Product logo

jacob1 / the-powder-toy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from the-powder-toy/the-powder-toy

68.0 9.0 9.0 91.24 MB

The Powder Toy is a desktop version of the classic 'falling sand' physics sandbox, which simulates air pressure and velocity, heat, gravity, and a countless number of interactions between different substances! This repo is my mod of that game.

Home Page: http://powdertoy.co.uk/Discussions/Thread/View.html?Thread=11117

License: GNU General Public License v3.0

Makefile 0.02% Python 0.60% C 1.80% Objective-C 0.23% C++ 92.53% Lua 4.78% Shell 0.01% Roff 0.03%
simulation game powder cellular-automata sandbox

the-powder-toy's Issues

Save info disappears when switching back to window

I have another weird bug...

  1. open an online save
  2. right click on "reload", thus opening the info dialog thing
  3. switch to a different window via whatever method (alt tab, clicking it, taskbar)
  4. switch back to TPT by clicking its icon on the taskbar

The dialog disappears as if you had pressed escape or clicked the background.

Previews not displaying after deleting saved simulation

Am I allowed to add things here❓

To replicate:

  1. Create simulation
  2. Save simulation
  3. Delete simulation from saves list using top-right corner button (the 'no entry' road sign)

Previews will not show anywhere until you exit the save list into a new simulation.

Version: 35.2 (build 78)

crash when pasting huge amount of text

https://powdertoy.co.uk/Conversations/View.html?ConvID=18362

String reported in the issue which causes a crash is this, but I imagine any large amount of text works
0100001001101111011011100110101001101111011101010111001000100000011011100110100101101110011010100110000101111000011110000010000001110011001001100110000101101101011100000011101101110010011100110111000101110101011011110011101101100101011100110111010000100000011011000110000100100000011001100110100101101110001000000110010001100101001000000110110101101001011011100110010101100011011100100110000101100110011101000010000001101010001001100110000101101101011100000011101101110010011100110111000101110101011011110011101101100001011010010010000001110010001001100110000101101101011100000011101101100101011000010110001101110101011101000110010100111011011101010111001101110011011010010010000000100110011000010110110101110000001110110110000101100111011100100110000101110110011001010011101100100000011100110110111101110010011101000110100101110010001000000110010001110101001000000110001101101111011001000110010100100000011000100110100101101110011000010110100101110010011001010010000001101010001001100110000101101101011100000011101101110010011100110111000101110101011011110011101101100001011010010010000001110000011100100110010101110011011100010111010101100101001000000110011001101001011011100110100100100000

Probably an issue in the sdl port

Hardcoded button position

window

I've tried looking for the code responsible for it, but kind of gave up. ¯_(ツ)_/¯
Can you please fix it?

ctrl+click on username nonfunctional

In save browser, ctrl+click on the username of a commenter goes straight back to the simulation window, rather than displaying their profile as before.

When it comes back, the "find and open" button appears to still be active until the mouse is moved.

Then you get a memory read/write error when closing the program.

shift+click and normal click work properly.

Saving bug

Pasting a trademarked symbol(™) into a sign,
a)looks weird in-game
b)makes it so it errors when trying to save/publish and crashes the game if you try to save/publish it again
-Windows 8.1 Pro Edition x64, Custom Built Computer

Build issue

I'm experiencing a weird issue when trying to build for mobile

$ scons.py --nomod --touchui
scons: Reading SConscript files ...
Checking whether the C compiler works... (cached) yes
Checking whether the C++ compiler works... (cached) yes
Checking if 64 bit... (cached) no
Adding 32 bit compile flags
Checking for C library mingw32... (cached) yes
Checking for C library ws2_32... (cached) yes
Checking for C library SDLmain... (cached) yes
Checking for C library SDL... (cached) yes
Checking for C header file SDL/SDL.h... (cached) yes
Checking for C library lua5.1... (cached) yes
Checking for C header file lua5.1/lua.h... (cached) yes
Checking for C library fftw3f... (cached) yes
Checking for C library bz2... (cached) yes
Checking for C header file bzlib.h... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library m... (cached) yes
Checking for C library gnurx... (cached) no
Checking for C library regex... (cached) yes
Checking for C library gdi32... (cached) yes
Checking for C library winmm... (cached) yes
Checking for C library dxguid... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build\src\BSON.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\BSON.cpp
g++ -o build\src\air.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\air.cpp
g++ -o build\src\benchmark.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\benchmark.cpp
g++ -o build\src\cJSON.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\cJSON.cpp
g++ -o build\src\console.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\console.cpp
g++ -o build\src\fontdata.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\fontdata.cpp
g++ -o build\src\graphics.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\graphics.cpp
g++ -o build\src\hmap.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\hmap.cpp
g++ -o build\src\http.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\http.cpp
g++ -o build\src\hud.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\hud.cpp
g++ -o build\src\imagedata.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\imagedata.cpp
g++ -o build\src\interface.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\interface.cpp
g++ -o build\src\luabit.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\luabit.cpp
g++ -o build\src\luaconsole.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\luaconsole.cpp
g++ -o build\src\luascriptinterface.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\luascriptinterface.cpp
g++ -o build\src\main.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\main.cpp
g++ -o build\src\md5.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\md5.cpp
g++ -o build\src\misc.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\misc.cpp
g++ -o build\src\powder.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\powder.cpp
g++ -o build\src\save.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\save.cpp
g++ -o build\src\update.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\update.cpp
g++ -o build\src\common\Platform.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\common\Platform.cpp
g++ -o build\src\common\Probability.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\common\Probability.cpp
g++ -o build\src\game\Brush.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\game\Brush.cpp
g++ -o build\src\game\Download.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\game\Download.cpp
g++ -o build\src\game\DownloadManager.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\game\DownloadManager.cpp
g++ -o build\src\game\Favorite.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\game\Favorite.cpp
g++ -o build\src\game\Menus.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\game\Menus.cpp
g++ -o build\src\game\Sign.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\game\Sign.cpp
g++ -o build\src\game\ToolTip.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\game\ToolTip.cpp
g++ -o build\src\graphics\Pixel.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\graphics\Pixel.cpp
g++ -o build\src\graphics\VideoBuffer.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\graphics\VideoBuffer.cpp
g++ -o build\src\interface\Button.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\interface\Button.cpp
g++ -o build\src\interface\Component.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\interface\Component.cpp
g++ -o build\src\interface\Engine.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\interface\Engine.cpp
g++ -o build\src\interface\Label.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\interface\Label.cpp
g++ -o build\src\interface\ScrollWindow.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\interface\ScrollWindow.cpp
g++ -o build\src\interface\Textbox.o -c -std=gnu++98 -Wno-invalid-offsetof -msse -msse2 -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer -funsafe-loop-optimizations -w -DWIN -D_WIN32_WINNT=0x0501 -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -DNOMOD -DTOUCHUI -Ibuild\src -Isrc -Ibuild\includes -Iincludes src\interface\Textbox.cpp
=====
src\interface\Textbox.cpp: In member function 'virtual void Textbox::OnFocus()':
src\interface\Textbox.cpp:277:35: error: 'memcpy' was not declared in this scope
  memcpy(buffer, text.c_str(), 1024);
                                   ^

=====
scons: *** [build\src\interface\Textbox.o] Error 1
scons: building terminated because of errors.
strip: 'build/Powder.exe': No such file

It builds normally with scons.py without any options but refuses to compile for android 😢

No longer reacts to mouse releases outside window

Press a mouse button and drag it outside the window. If you release the button afterwards, the program will continue to act as if it is being held down until brought back into the window area.

This used to work fine. Now doing things like drawing a rectangle to the edge of the screen appears unresponsive.

Liquid hydrogen

It has always struck me as odd that oxygen condenses while hydrogen doesn't.
Hydrogen has slightly different boiling point and density which might be useful sometimes.
Even better, if liquid hydrogen can be transformed into metallic form.
What do you think about adding this element?

Build failed

After the commit 51ca84c

scons: Reading SConscript files ...
Checking whether the C compiler works... (cached) yes
Checking whether the C++ compiler works... (cached) yes
Checking if 64 bit... (cached) yes
Adding 64 bit compile flags
Checking for C library SDL... (cached) yes
Checking for C header file SDL/SDL.h... (cached) yes
Checking for C library lua5.1... (cached) no
Checking for C library lua-5.1... (cached) no
Checking for C library lua51... (cached) no
Checking for C library lua... (cached) yes
Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lua5.1', required by 'world', not found
Checking for C header file lua5.1/lua.h... (cached) no
Checking for C header file lua.h... (cached) yes
Checking for C library dl... (cached) yes
Checking for C library fftw3f... (cached) yes
Checking for C library bz2... (cached) yes
Checking for C header file bzlib.h... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library m... (cached) yes
Checking for C library X11... (cached) yes
Checking for C library rt... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/powder64 build/src/BSON.o build/src/air.o build/src/benchmark.o build/src/cJSON.o build/src/console.o build/src/fontdata.o build/src/graphics.o build/src/gravity.o build/src/hmap.o build/src/http.o build/src/hud.o build/src/imagedata.o build/src/interface.o build/src/luabit.o build/src/luaconsole.o build/src/luascriptinterface.o build/src/main.o build/src/md5.o build/src/misc.o build/src/powder.o build/src/save.o build/src/update.o build/src/common/Platform.o build/src/game/Brush.o build/src/game/Download.o build/src/game/DownloadManager.o build/src/game/Menus.o build/src/game/Sign.o build/src/game/ToolTip.o build/src/graphics/Pixel.o build/src/graphics/VideoBuffer.o build/src/interface/Button.o build/src/interface/Component.o build/src/interface/Engine.o build/src/interface/Label.o build/src/interface/ScrollWindow.o build/src/interface/Textbox.o build/src/interface/Window.o build/src/json/jsoncpp.o build/src/luascripts/multiplayer.lua.o build/src/luascripts/scriptmanager.lua.o build/src/simulation/Element.o build/src/simulation/ElementFunctions.o build/src/simulation/Movement.o build/src/simulation/Particle.o build/src/simulation/Simulation.o build/src/simulation/Tool.o build/src/gui/game/PowderToy.o build/src/gui/profile/ProfileViewer.o build/src/gui/sign/CreateSign.o build/src/simulation/elements/ACEL.o build/src/simulation/elements/ACID.o build/src/simulation/elements/AMTR.o build/src/simulation/elements/ANAR.o build/src/simulation/elements/ANIM.o build/src/simulation/elements/ARAY.o build/src/simulation/elements/BANG.o build/src/simulation/elements/BCLN.o build/src/simulation/elements/BCOL.o build/src/simulation/elements/BGLA.o build/src/simulation/elements/BHOL.o build/src/simulation/elements/BIZR.o build/src/simulation/elements/BIZRG.o build/src/simulation/elements/BIZRS.o build/src/simulation/elements/BMTL.o build/src/simulation/elements/BOMB.o build/src/simulation/elements/BOYL.o build/src/simulation/elements/BRAY.o build/src/simulation/elements/BRCK.o build/src/simulation/elements/BREL.o build/src/simulation/elements/BRMT.o build/src/simulation/elements/BTRY.o build/src/simulation/elements/BUTN.o build/src/simulation/elements/BVBR.o build/src/simulation/elements/C5.o build/src/simulation/elements/CAUS.o build/src/simulation/elements/CBNW.o build/src/simulation/elements/CLNE.o build/src/simulation/elements/CLST.o build/src/simulation/elements/CNCT.o build/src/simulation/elements/CO2.o build/src/simulation/elements/COAL.o build/src/simulation/elements/CONV.o build/src/simulation/elements/CRAY.o build/src/simulation/elements/CRMC.o build/src/simulation/elements/DCEL.o build/src/simulation/elements/DESL.o build/src/simulation/elements/DEST.o build/src/simulation/elements/DEUT.o build/src/simulation/elements/DLAY.o build/src/simulation/elements/DMG.o build/src/simulation/elements/DMND.o build/src/simulation/elements/DRAY.o build/src/simulation/elements/DRIC.o build/src/simulation/elements/DSTW.o build/src/simulation/elements/DTEC.o build/src/simulation/elements/DUST.o build/src/simulation/elements/DYST.o build/src/simulation/elements/ELEC.o build/src/simulation/elements/EMBR.o build/src/simulation/elements/EMP.o build/src/simulation/elements/EQUALVEL.o build/src/simulation/elements/ETRD.o build/src/simulation/elements/EXOT.o build/src/simulation/elements/EXPL.o build/src/simulation/elements/FIGH.o build/src/simulation/elements/FILT.o build/src/simulation/elements/FIRE.o build/src/simulation/elements/FIRW.o build/src/simulation/elements/FOG.o build/src/simulation/elements/FRAY.o build/src/simulation/elements/FRME.o build/src/simulation/elements/FRZW.o build/src/simulation/elements/FRZZ.o build/src/simulation/elements/FSEP.o build/src/simulation/elements/FUSE.o build/src/simulation/elements/FWRK.o build/src/simulation/elements/GAS.o build/src/simulation/elements/GBMB.o build/src/simulation/elements/GEL.o build/src/simulation/elements/GLAS.o build/src/simulation/elements/GLOW.o build/src/simulation/elements/GOLD.o build/src/simulation/elements/GOO.o build/src/simulation/elements/GPMP.o build/src/simulation/elements/GRAV.o build/src/simulation/elements/GRVT.o build/src/simulation/elements/GUNP.o build/src/simulation/elements/H2.o build/src/simulation/elements/HFLM.o build/src/simulation/elements/HSWC.o build/src/simulation/elements/ICEI.o build/src/simulation/elements/IGNT.o build/src/simulation/elements/INDI.o build/src/simulation/elements/INSL.o build/src/simulation/elements/INST.o build/src/simulation/elements/INVIS.o build/src/simulation/elements/INWR.o build/src/simulation/elements/IRON.o build/src/simulation/elements/ISOZ.o build/src/simulation/elements/ISZS.o build/src/simulation/elements/LAVA.o build/src/simulation/elements/LCRY.o build/src/simulation/elements/LIFE.o build/src/simulation/elements/LIGH.o build/src/simulation/elements/LNTG.o build/src/simulation/elements/LO2.o build/src/simulation/elements/LOLZ.o build/src/simulation/elements/LOVE.o build/src/simulation/elements/LRBD.o build/src/simulation/elements/MERC.o build/src/simulation/elements/METL.o build/src/simulation/elements/MORT.o build/src/simulation/elements/MOVS.o build/src/simulation/elements/MWAX.o build/src/simulation/elements/NBHL.o build/src/simulation/elements/NBLE.o build/src/simulation/elements/NEUT.o build/src/simulation/elements/NICE.o build/src/simulation/elements/NITR.o build/src/simulation/elements/NONE.o build/src/simulation/elements/NSCN.o build/src/simulation/elements/NTCT.o build/src/simulation/elements/NWHL.o build/src/simulation/elements/O2.o build/src/simulation/elements/OIL.o build/src/simulation/elements/PBCN.o build/src/simulation/elements/PCLN.o build/src/simulation/elements/PHOT.o build/src/simulation/elements/PINV.o build/src/simulation/elements/PIPE.o build/src/simulation/elements/PLEX.o build/src/simulation/elements/PLNT.o build/src/simulation/elements/PLSM.o build/src/simulation/elements/PLUT.o build/src/simulation/elements/PPIP.o build/src/simulation/elements/PPTI.o build/src/simulation/elements/PPTO.o build/src/simulation/elements/PQRT.o build/src/simulation/elements/PROT.o build/src/simulation/elements/PRTI.o build/src/simulation/elements/PRTO.o build/src/simulation/elements/PSCN.o build/src/simulation/elements/PSNS.o build/src/simulation/elements/PSTE.o build/src/simulation/elements/PSTN.o build/src/simulation/elements/PSTS.o build/src/simulation/elements/PTCT.o build/src/simulation/elements/PUMP.o build/src/simulation/elements/PVOD.o build/src/simulation/elements/PWHT.o build/src/simulation/elements/QRTZ.o build/src/simulation/elements/RAZR.o build/src/simulation/elements/RBDM.o build/src/simulation/elements/REPL.o build/src/simulation/elements/RIME.o build/src/simulation/elements/SALT.o build/src/simulation/elements/SAND.o build/src/simulation/elements/SHLD1.o build/src/simulation/elements/SHLD2.o build/src/simulation/elements/SHLD3.o build/src/simulation/elements/SHLD4.o build/src/simulation/elements/SING.o build/src/simulation/elements/SLTW.o build/src/simulation/elements/SMKE.o build/src/simulation/elements/SNOW.o build/src/simulation/elements/SOAP.o build/src/simulation/elements/SPAWN.o build/src/simulation/elements/SPAWN2.o build/src/simulation/elements/SPNG.o build/src/simulation/elements/SPRK.o build/src/simulation/elements/STKM.o build/src/simulation/elements/STKM2.o build/src/simulation/elements/STNE.o build/src/simulation/elements/STOR.o build/src/simulation/elements/SWCH.o build/src/simulation/elements/TESC.o build/src/simulation/elements/THDR.o build/src/simulation/elements/THRM.o build/src/simulation/elements/TRON.o build/src/simulation/elements/TSNS.o build/src/simulation/elements/TTAN.o build/src/simulation/elements/TUNG.o build/src/simulation/elements/URAN.o build/src/simulation/elements/VIBR.o build/src/simulation/elements/VINE.o build/src/simulation/elements/VIRS.o build/src/simulation/elements/VOID.o build/src/simulation/elements/VRSG.o build/src/simulation/elements/VRSS.o build/src/simulation/elements/WARP.o build/src/simulation/elements/WATR.o build/src/simulation/elements/WAX.o build/src/simulation/elements/WHOL.o build/src/simulation/elements/WIFI.o build/src/simulation/elements/WIRE.o build/src/simulation/elements/WOOD.o build/src/simulation/elements/WTRV.o build/src/simulation/elements/YEST.o build/src/socket/auxiliar.o build/src/socket/buffer.o build/src/socket/except.o build/src/socket/inet.o build/src/socket/io.o build/src/socket/luasocket.o build/src/socket/options.o build/src/socket/select.o build/src/socket/socket.lua.o build/src/socket/tcp.o build/src/socket/timeout.o build/src/socket/udp.o build/src/socket/unix.o build/src/socket/usocket.o build/src/socket/wsocket.o build/src/LuaCompat.o -lSDL -lpthread -llua -ldl -lfftw3f -lbz2 -lpthread -lm -lX11 -lrt
build/src/interface.o: In function `ui_edit_draw(unsigned int*, ui_edit*)':
interface.cpp:(.text+0x9a8): undefined reference to `drawpixel(unsigned int*, int, int, int, int, int, int)'
build/src/luaconsole.o: In function `luatpt_drawpixel(lua_State*)':
luaconsole.cpp:(.text+0x17ca): undefined reference to `drawpixel(unsigned int*, int, int, int, int, int, int)'
collect2: error: ld returned 1 exit status
scons: *** [build/powder64] Error 1
scons: building terminated because of errors.
strip: 'build/powder64': No such file

tpt.setdrawcap() is not working on android

it was added to original powder toy maybe in a last yer or even earlier. The command is recognized by android version of the game but has no effect. Also tpt.setfpscap(2) still limits fps to 60

Replace mode acting strange

I only noticed this change in behavior recently but replace mode now places new particles instead of just replacing them.

This is on the windows version

README claims no bugs

README contains the lines

------------------------------------------------------------------------------
-------------------------------------Bugs-------------------------------------
------------------------------------------------------------------------------
None (at least that I know of)

But this "Issues" section begs to differ :)

Large screen not updating mouse area

  1. Start your mod
  2. Make sure it's small screen
  3. Settings → Large screen ON
  4. Close Settings
  5. Move mouse around

Linux Linux Mint 16 (Ubuntu 14.04) 64 bit
V28.1

ctrl+backspace highlights words

In various text fields (tested with comments, but I believe it applies to the upload form too), pressing ctrl+backspace in the middle of the text will give some characters (seems to be equal in length to deleted word) in front of the carat the highlighted effect.

Pressing backspace (with control or not) or any character will not delete them, but pressing delete will. They can also be copied with ctrl+C.

Large window prevents resizeable window

Enable "Large window" option. Now enabling "resizeable window" has no effect.

Easiest fix would just be to automatically disable the former at the same time, I presume.

Compilation issue

I'm trying to compile Jacobs mod for Arch linux and I keep getting an error about curl_mime having a conflicting declaration between the game's curl.h and my system's

Console output:

scons: Reading SConscript files ...
Checking whether the C compiler works... (cached) yes
Checking whether the C++ compiler works... (cached) yes
Checking if 64 bit... (cached) yes
Adding 64 bit compile flags
Checking for C library SDL2... (cached) yes
Checking for C header file SDL2/SDL.h... (cached) yes
Checking for C library lua5.1... (cached) yes
Checking for C library dl... (cached) yes
Checking for C library fftw3f... (cached) yes
Checking for C library bz2... (cached) yes
Checking for C header file bzlib.h... (cached) yes
Checking for C library z... (cached) yes
Checking for C library curl... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library m... (cached) yes
Checking for C library X11... (cached) yes
Checking for C library rt... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/src/interface.o -c -std=c++17 -Wno-invalid-offsetof -msse -msse2 -D_64BIT -D_REENTRANT -DLUA_R_INCL -DLIN -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -Ibuild/src -Isrc -Ibuild/includes -Iincludes -I/usr/include/SDL2 -I/usr/include/lua5.1 src/interface.cpp
g++ -o build/src/game/Request.o -c -std=c++17 -Wno-invalid-offsetof -msse -msse2 -D_64BIT -D_REENTRANT -DLUA_R_INCL -DLIN -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -Ibuild/src -Isrc -Ibuild/includes -Iincludes -I/usr/include/SDL2 -I/usr/include/lua5.1 src/game/Request.cpp
In file included from src/game/Request.cpp:4:
/usr/include/curl/curl.h:2365:16: error: using typedef-name ‘curl_mime’ after ‘struct’
2365 | typedef struct curl_mime curl_mime; /* Mime context. /
| ^~~~~~~~~
In file included from src/game/Request.cpp:1:
src/game/Request.h:16:28: note: ‘curl_mime’ has a previous declaration here
16 | typedef struct curl_mime_s curl_mime;
| ^~~~~~~~~
/usr/include/curl/curl.h:2365:31: error: conflicting declaration ‘typedef int curl_mime’
2365 | typedef struct curl_mime curl_mime; /
Mime context. */
| ^~~~~~~~~
src/game/Request.h:16:28: note: previous declaration as ‘typedef struct curl_mime_s curl_mime’
16 | typedef struct curl_mime_s curl_mime;
| ^~~~~~~~~
src/game/Request.cpp: In member function ‘void Request::Start()’:
src/game/Request.cpp:246:40: warning: ‘CURLOPT_PROTOCOLS’ is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations]
246 | curl_easy_setopt(easy, CURLOPT_PROTOCOLS, CURLPROTO_HTTPS);
| ^~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:1749:3: note: declared here
1749 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181,
| ^~~~~~~~~~~~~~~~~
src/game/Request.cpp:247:40: warning: ‘CURLOPT_REDIR_PROTOCOLS’ is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations]
247 | curl_easy_setopt(easy, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTPS);
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:1755:3: note: declared here
1755 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182,
| ^~~~~~~~~~~~~~~~~
scons: *** [build/src/game/Request.o] Error 1
scons: building terminated because of errors.
strip: 'build/powder64': No such file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.