jacob1
dc0e47ac00
fix undo not allowing any more stickmen to be placed, save stickmen in snapshots
2012-12-18 16:17:13 -05:00
jacob1
9a2df6b824
fix sltw + liquid rubiduim explosion, make it work like water's
2012-12-18 15:17:57 -05:00
jacob1
b236c75209
make TSNS not detect METL, some other sensor and CONV fixes
2012-12-18 14:55:10 -05:00
jacob1
771d71ea46
make water equalization use flags, not tmp2 (fixes EXOT / BUBW)
2012-12-18 14:08:53 -05:00
jacob1
e685e30d58
make sure that simulation variables are initialized, fixes things like water equalization always being on in old saves
2012-12-18 13:33:29 -05:00
jacob1
c06afff0a5
selecting a stamp moves it to the front of the list again (unless you hold ctrl)
...
attempted to do MVC right?
2012-12-18 12:20:52 -05:00
jacob1
672c5ee913
fix mismatched malloc() / delete [], fixes # 106
2012-12-17 23:57:55 -05:00
jacob1
dbe78c342d
initialize variables in air.cpp and simulation.cpp
2012-12-17 23:49:46 -05:00
jacob1
b5de23433d
fix '=' resetting air heat, fix uninitialized ambient heat setting, a few LOLZ / LOVE changes
2012-12-17 21:11:33 -05:00
jacob1
2728cf852b
fix WARP being invisible, make it visible in heat display mode though
2012-12-17 20:08:46 -05:00
jacob1
f08481a88e
fix TRON ignoring GOO until the last moment
2012-12-17 18:42:41 -05:00
jacksonmj
9c6f3c7fbb
Fix crash in GameSave::serialiseOPS
...
Only particlesCount particles have been copied from the Simulation.
All the rest are uninitialised, and may have coordinates outside the
game area. Using those uninitialised coordinates in the index for
partsPosFirstMap may cause a crash.
2012-12-16 23:01:04 +00:00
Simon Robertshaw
d29c77b2d5
More detailed error when opening non-existent directory.
2012-12-16 16:41:30 +00:00
Simon Robertshaw
4d546b6818
Print errors regardless of build type
2012-12-16 16:40:29 +00:00
jacob1
06f8f88374
fix output appearing in stdout without DEBUG defined
2012-12-16 11:38:12 -05:00
jacob1
a85526bfac
fix comment error messages not showing
2012-12-15 23:12:54 -05:00
jacob1
462bd7bdf9
fix comments being deleted when hitting enter and opening a save or getting an error when commenting
2012-12-15 22:55:53 -05:00
jacob1
1ef507d9e6
fix colors slightly from last commit
2012-12-15 20:42:30 -05:00
jacob1
c62ef2cb35
fix upvote buttons still having colored background after clearing the save, make them look more like from in tpt
2012-12-15 20:34:00 -05:00
jacksonmj
e4907d1881
Copy dcolour when MERC expands, to let people make coloured mercury thermometers
2012-12-16 00:16:05 +00:00
jacob1
a623959a31
save stamps on 1 pixel grid (works exactly like in tpt now), delete signs with Ctrl+X, also fixes stamps on very bottom/right edge and other edge cases
2012-12-15 15:13:12 -05:00
jacob1
0fd86e994a
make the comment box always multiline. Fixing pasting large amounts of text into it.
2012-12-15 14:28:23 -05:00
Simon Robertshaw
735b2b659f
Update version number
2012-12-15 18:29:26 +00:00
jacob1
a172a96897
make sure long amounts of text without spaces doesn't run over out of bounds
...
A character may be deleted to insert a new line, but when copying something like a url, the missing one is copied back in. I couldn't get inserting a newline between letters to work right
2012-12-15 13:17:29 -05:00
Simon Robertshaw
e0f8456531
Prompt for install on first startup
2012-12-15 17:14:43 +00:00
Simon Robertshaw
f047b4826f
Make installation success message a little friendlier
2012-12-15 16:57:25 +00:00
Simon Robertshaw
6e62a54952
Add missing URL Protocol registration on Windows
2012-12-15 16:56:55 +00:00
Simon Robertshaw
201d314096
Element population histogram debug info display - has to be enabled by adding debugInfo.push_back(new ElementPopulationDebug(gameModel->GetSimulation())); somewhere in GameController
2012-12-15 15:57:57 +00:00
Simon Robertshaw
558888ac25
Ensure resampler.cpp is compiled when needed
2012-12-15 01:10:03 +00:00
Simon Robertshaw
b4475ae96f
Very high quality image resampling code curtesy of imageresampler ( http://code.google.com/p/imageresampler/ ), will replace current shitty linear interpolation for SSE2 and renderer builds.
2012-12-15 01:04:17 +00:00
Simon Robertshaw
a1af662b8f
More accurate elementCount
2012-12-14 23:01:54 +00:00
Simon Robertshaw
ceee0b6dc5
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2012-12-14 19:44:30 +00:00
Simon Robertshaw
31c0666961
Prevent saves from being loaded twice by the Save browser
2012-12-14 19:44:16 +00:00
jacob1
f03fb97620
Merge remote-tracking branch 'origin/master'
2012-12-14 13:51:44 -05:00
jacob1
5362c56f7e
update gravity wall zones whether or not newtonian gravity is on. Fixes #92
2012-12-14 13:50:36 -05:00
Simon Robertshaw
e5feefa419
Update WIRE name and description, fixes #101
2012-12-14 18:50:25 +00:00
jacob1
05fc39e40f
a working scrollbar in the save preview. Also, fix the bug where you couldn't go back up a page when there weren't enough comments to fill a page
2012-12-14 13:34:00 -05:00
jacob1
002743ef08
make it easier to create new energy particles (like for mods), they would just disappear when hitting anything before
2012-12-12 22:05:39 -05:00
jacob1
d57fe7618c
fix walls loading incorrectly in extremely old saves. Fix some invalid save formats being loadable (it was onlychecking the 'O' in OPS)
2012-12-12 17:31:06 -05:00
Simon Robertshaw
38862a78d1
New Conversation notifications
2012-12-09 12:05:27 +00:00
Simon Robertshaw
6478ed121c
Use NotifyAuthUserChanged for GameController login, this will help users become aware when their sessions expire.
2012-12-09 01:25:05 +00:00
Simon Robertshaw
05148e8a8d
C++erific text cleaner function, also, it's a good idea to actually clean text coming from signs...
2012-12-09 00:14:48 +00:00
jacob1
226de5b6f8
add back element descriptions in some cpp files, fix minor TRON search problem. Also,
...
TPT-jacksonmj: Also fix bugs with energy particles that pass directly from PIPE to portal
2012-12-06 19:51:33 -05:00
jacob1
a15372afbf
TRON_NORANDOM flag
2012-12-06 18:42:46 -05:00
jacob1
2881eeb1b3
allow TRON to plan ahead which particles will disappear by the time it gets there, and go on INVS too
2012-12-06 17:53:22 -05:00
jacob1
e5a284a2ba
fix compiling warnings / error
2012-12-06 12:34:32 -05:00
jacob1
122599763e
Merge remote-tracking branch 'origin/master'
2012-12-06 11:01:46 -05:00
jacob1
2d7ac84c1d
give TRON the ability to go through activated SWCH
2012-12-06 10:56:24 -05:00
jacksonmj
9bf5eeeef9
Fix slight particle order issue with SWCH
2012-12-04 19:38:01 +00:00
jacob1
2a8811190c
Fix infinite pressure glitch with CLST
2012-12-01 12:17:41 -05:00
Simon Robertshaw
61e25060ae
Update version number (build 250)
2012-11-27 20:11:25 +00:00
Simon Robertshaw
3664a22f98
Right clicking on reload button will show save preview.
2012-11-26 11:48:27 +00:00
Simon Robertshaw
b08812569c
Stop using persistent connections when we don't need them. Force shutdown of Thumbnailbroker before http lib close, fixes #84
2012-11-26 10:34:17 +00:00
jacob1
6a4040f2b7
Update src/simulation/elements/VIBR.cpp
...
fix EXOT destroying exploding VIBR
2012-11-23 21:28:10 -05:00
Simon Robertshaw
da554cfef2
Allow resizing of custom brushes
2012-11-18 22:25:24 +00:00
Simon Robertshaw
f3307e47a8
Helper function for linear interpolation
2012-11-18 22:24:56 +00:00
Simon Robertshaw
045f5e14c2
Custom brushes loaded from "Brushes" folder, format is a simple RAW 8bit greyscale square format
2012-11-18 18:03:36 +00:00
Simon Robertshaw
483e907702
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2012-11-18 18:02:34 +00:00
Simon Robertshaw
af29942117
Ensure directory enumeration works whether there's a path seperator at the end of the directory or not
2012-11-18 18:02:28 +00:00
jacob1
4654a2aaa0
update build number, which was incorrect. Add an easy way for mods to ignore updates
2012-11-18 12:43:11 -05:00
Simon Robertshaw
0be465aa4e
Use ifndef WIN instead of ifdef _unix
2012-11-18 15:48:43 +00:00
jacob1
7a21ae192f
VINE cool/burn effects like in PLNT, less sharp burn lines, fix infinite smoke from TNT
2012-11-16 23:35:34 -05:00
jacob1
9e72a619ab
fix directly sparking metal not heating it up, fix formatting, allowing update_particles_i to be parsed
2012-11-16 22:43:46 -05:00
jacob1
eb9b3f6bdf
fix link signs ignoring the zoom window, allow right clicking link signs to use them while sign tool selected
2012-11-16 19:22:34 -05:00
jacob1
6b846c6339
add (slightly updated) README from tpt
...
added new contributers, description from main page, and removed key combos and arguments that don't work
2012-11-16 18:20:48 -05:00
Bryan Hoyle
34ed62d685
Fixed issue with opengl-renderer, missing semicolon
2012-11-16 17:03:54 -05:00
Bryan Hoyle
874cd40009
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-11-16 16:51:55 -05:00
Bryan Hoyle
fec50a2a8e
Opengl fix
2012-11-16 16:50:02 -05:00
jacob1
d8be547c73
fix pause state being reset every time you clear the sim
2012-11-15 20:50:19 -05:00
jacob1
16e4c5f717
save pause state in stamps, load pause state from local saves and stamps correctly, remove accidental inclusion
2012-11-15 20:41:38 -05:00
jacob1
1e32c545d9
fix visual studio std::max problem
2012-11-15 20:23:38 -05:00
jacob1
bf3d7e9ad7
fix tpt.el.X.name commands
2012-11-15 20:13:19 -05:00
jacob1
38a18af2c5
fix crashes when deleting stamps or getting an error when saving
2012-11-15 20:00:55 -05:00
Simon Robertshaw
785fbcefdf
Fix divide-by-zero error
...
... when displaying save buttons that have zero votes.
2012-11-15 13:01:25 +00:00
Simon Robertshaw
51a5af6d5d
Remove some debug printing
2012-11-12 10:48:20 +00:00
mniip
3d635bc68f
More edge cases
2012-11-12 10:41:54 +00:00
mniip
947301c302
Better rectangle tool render function, no crappy pixels in edge cases anymore
2012-11-12 10:41:42 +00:00
Simon Robertshaw
29189693b3
Element palette for automatic element ID/mod mapping
2012-11-12 10:22:16 +00:00
Christoph Korn
04df448c96
Fix typo: Persistant -> Persistent
...
This commit just fixes a small typo which was found by lintian
when checking the Ubuntu package to be published on PlayDeb.net.
2012-11-09 22:23:05 +01:00
jacksonmj
d7c52241a4
Spelling: "hottest"
2012-11-06 20:26:19 +00:00
jacksonmj
fbbe9d81bf
Transfer energy between VIBR and BVBR
2012-11-05 21:45:22 +00:00
Simon Robertshaw
150a2e528e
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-11-05 20:10:35 +00:00
Simon Robertshaw
8614a2d963
Update version number
2012-11-05 20:09:58 +00:00
jacksonmj
7da144fbae
Fix INVS staying dark blue even when pressure is removed
2012-11-05 14:45:46 +00:00
jacksonmj
956fb39124
Oops, didn't see that parts[i].temp at the bottom, ignore the second half of that last commit message
2012-11-05 14:42:06 +00:00
jacksonmj
3cae63c733
VIBR: don't dump heat into elements that don't conduct heat, and put any remaining heat into EXOT at the end of the explosion
2012-11-05 14:18:28 +00:00
jacob1
dc41e46c81
fix two red BRAYS not being able to turn off swch from certain angles
2012-11-04 22:44:49 +00:00
jacob1
9b8357f822
update version number
2012-11-04 21:35:53 +00:00
jacob1
ca42162e5e
fix heat release during explosion
2012-11-04 21:35:35 +00:00
jacksonmj
828623f9ec
Change freezing point of VIBR lava, and make sure VIBR always absorbs energy particles
2012-11-04 21:10:27 +00:00
jacksonmj
12eb085d20
VIBR changes from jacob1
...
Including:
Molten TTAN + EXOT = VIBR.
VIBR + ANAR = BVBR. (BOYL reaction removed)
All absorbed heat/particles/pressure are stored in one property, tmp.
Graphics changes
2012-11-04 20:35:43 +00:00
Simon Robertshaw
e3a016d9c9
SC_SENSOR in Elements API
2012-11-03 18:06:19 +00:00
jacob1
d586a6d0ab
PPIP doesn't break with pressure, to match TPT
2012-11-03 16:11:54 +00:00
jacksonmj
2ed53a99ae
Change EXOT properties to match TPT
2012-11-03 16:11:11 +00:00
Simon Robertshaw
bd473f02ca
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-11-03 12:22:07 +00:00
Simon Robertshaw
2f9e8c0a5f
Empty engineprocess for renderer compiling
2012-11-03 12:21:53 +00:00
jacksonmj
fea55f9ac9
Add PLSM to stacking exclusion list, and fix some cases of stacked EMBR causing BHOL
...
Stacked EMBR + displacement -> other particles stacked -> BHOL.
Therefore stop displacement to stop BHOL formation.
2012-11-01 00:28:45 +00:00
Simon Robertshaw
057ec914cf
Don't use SDL defines in platform independant code
2012-10-29 10:38:04 +00:00
Simon Robertshaw
68e6fe2502
More emtpy key defines
2012-10-29 10:33:23 +00:00
Simon Robertshaw
effcc74d6d
Empty key defines for no sdl
2012-10-29 10:32:57 +00:00
Simon Robertshaw
48be91e4df
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-10-29 09:36:32 +00:00
Simon Robertshaw
e08bc6680b
Format: Buffer to pti, Save renderer
2012-10-29 09:36:16 +00:00
Bryan Hoyle
32bdcb89e8
VIBR fixes
2012-10-28 21:11:18 -04:00
jacksonmj
caf262ed60
Decrease absorption chance for SPNG, to make release of water from saturated SPNG look a bit less strange
2012-10-27 00:56:02 +01:00
jacksonmj
9a0ca32372
Make conversion of PHOT to ELEC using BIZR, and enrichment of DEUT with ELEC, work better
2012-10-27 00:56:02 +01:00
Simon Robertshaw
9b4f710e28
Menu icon for sensors menu and fix for VIBR std::max args
2012-10-26 15:58:39 +01:00
Simon Robertshaw
c3ba809806
Fix error from merging
2012-10-26 15:32:10 +01:00
Simon Robertshaw
a1d98ffc31
Fix BVBR for generate.py
2012-10-26 15:29:55 +01:00
jacob1
6d6b0dfa9f
some VIBR changes, also allow it to be compiled with Scons
2012-10-26 15:18:52 +01:00
jacob1
69aad4caa2
some testing with DEBUG mode, add some stuff
...
Conflicts:
src/cat/TPTScriptInterface.cpp
2012-10-26 15:17:02 +01:00
jacob1
e773abdcc8
Ctrl + G gravity grid toggle
2012-10-26 15:16:05 +01:00
jacob1
3ad7cf4539
!quit function
2012-10-26 15:15:52 +01:00
jacob1
5ef6bd8507
close console when using the !load command
2012-10-26 15:15:45 +01:00
jacob1
3a29fc0268
Save local saves as current name option (overwrites them automatically). Fix filename not showing when first saving a local save
2012-10-26 15:15:38 +01:00
jacob1
e2622657f0
ability to reload and resave local saves without retyping name
2012-10-26 15:15:24 +01:00
Simon Robertshaw
63daf67d44
Improve EXOT description
2012-10-26 15:14:57 +01:00
jacob1
6d1c7be740
initialize all stickmen variables, not just legs
2012-10-26 15:13:27 +01:00
jacob1
fd07d35e34
limit the number of signs that can be placed
2012-10-26 15:13:00 +01:00
jacob1
00fdd8308a
possibly fix lag/crash when deleting stamps
2012-10-26 15:12:50 +01:00
jacob1
3461cc64d4
bring back the old vote bars
2012-10-26 15:12:42 +01:00
jacob1
d0b14dc64b
don't render invalid elements
2012-10-26 15:12:35 +01:00
jacob1
4d207b1146
fix INVS graphics
2012-10-26 15:12:21 +01:00
jacob1
947660fcd4
Fix hydrogen not burning right (with and without realistic heat), allow h2 to burn at all temps while still allowing fusion to work correctly
2012-10-26 15:12:13 +01:00
jacob1
ccd9284e61
improve the GOL menu descriptions
2012-10-26 15:12:05 +01:00
jacob1
c58a3fb2dc
TSNS doesn't detect things with an equal temp (fixes detecting wires)
2012-10-26 15:11:59 +01:00
jacob1
b84460d79b
visual studio compatibility, plus change text a little
2012-10-26 15:11:43 +01:00
jacob1
3f093c8072
VIBR explosion/graphical changes, it now has a while before it explodes after getting to the limit
2012-10-26 15:11:22 +01:00
jacob1
cd7ca6d417
some VIBR changes/fixes
2012-10-26 15:10:50 +01:00
jacob1
04b76a4b48
VIBR/BVBR - vibranium. Initial commit, doesn't seem to work yet
2012-10-26 15:10:44 +01:00
Simon Robertshaw
0b09d2e0f3
Allow TSNS and DTEC to detect photons and other energy particles. Set default TSNS radius to 1 to make it easier to avoid detecting the wire connections
2012-10-10 21:27:36 +01:00
Simon Robertshaw
da07c22ee4
new elements: DMG (Force bomb) and TSNS (Temperature sensor)
2012-10-10 19:29:11 +01:00
Simon Robertshaw
249e3dcad3
Merge pull request #195 from Huulivoide/master
...
Minor fixes needed to build on Linux/64bit.
2012-10-09 08:43:13 -07:00
Jesse Jaara
b1d3ebacd2
Windows doesn't have unistd.h, use only in unix platforms.
2012-10-07 12:11:41 +03:00
Jesse Jaara
ec413dd057
Fix an error that prevents building on 64bit systems.
2012-10-06 19:52:48 +03:00
Simon Robertshaw
af181faeea
Revert "multiple BRCK colors (suggested by Catelite)"
...
This reverts commit 4a8ae25299e465ab55072dd512b5818881ec5a67.
2012-10-05 17:25:04 +01:00
jacob1
774bc08c2c
Move LOLZ/LOVE Rule tables into more appropriate location (element file)
2012-10-05 16:52:53 +01:00
jacob1
d159467b63
LOLZ and LOVE work again
2012-10-05 16:33:54 +01:00
jacob1
f19f393e22
multiple BRCK colors (suggested by Catelite)
2012-10-05 16:33:45 +01:00
jacob1
a16534e782
don't let TNT flood fill explode when under other particles (prevents lag)
2012-10-05 16:33:24 +01:00
jacob1
d2af4470a5
show # of parts, [GRID X], PIPE/PPIP with X, and molten X (with debug on) in HUD
2012-10-05 16:33:12 +01:00
jacob1
433a80b099
holding both Ctrl and Shift still enables 10x stength
2012-10-05 16:33:00 +01:00
jacob1
a9619fad33
Console Show quickoption
...
(best way I could think of)
2012-10-05 16:32:50 +01:00
jacob1
72b00ca5e1
info tip on deco/ngrav/aheat changed
2012-10-05 16:32:39 +01:00
jacob1
e600c20ba9
undo ambient heat in snapshots
2012-10-05 16:32:06 +01:00
jacob1
97cea273e5
Fast quit option (disable to make "X" act like in tpt)
2012-10-05 16:31:04 +01:00
jacob1
71db872e64
{t:15100|text} to open a forum thread (will try to add more shortcuts later)
2012-10-05 16:30:55 +01:00
Simon Robertshaw
7c0ba094b8
Ensure save is stored in memory for reload when using Save as current name, correct ServerSaveActivity to call SaveUploaded when doing an instant upload
2012-10-05 16:30:32 +01:00
Simon Robertshaw
0fbe12772d
Only run autorun if it exists
2012-10-05 16:04:55 +01:00
jacob1
5c59b9d6cb
don't render fire on stamps (reduces lag)
2012-10-05 15:49:54 +01:00
jacob1
63c364652d
prevent setting invalid types, fix setting type to "NONE", "C4", & "C5"
2012-10-05 15:49:41 +01:00