summaryrefslogtreecommitdiff
path: root/src/powder.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-20Replace all explosion sparks with new element (EMBR)jacksonmj1-4/+5
Replaces: BOMB sparks and flash, electrons + glass sparks, sparks from IGNC, sparks from TNT explosion, and sparks from FWRK and FIRW.
2012-06-17Fix STKM causing stacking and falling through some powdersjacksonmj1-11/+14
2012-06-15Move INST flood fill into a separate functionjacksonmj1-96/+149
Since there were so many if statements for INST in flood_parts. Also, allow INST inside walls to be sparked.
2012-06-13Update to EXOT that makes it permeable to neutrons as well as electrons. ↵Catelite1-0/+1
Neutrons cause a water>distilled water spread that enables EXOT's copy function, at its original speed. Electrons reset mode, but not tmp2. Trippy monochrome colors for copy mode. Conflicts: src/elements/exot.c
2012-06-10Prevent THDR from counting towards stacked particle limitjacksonmj1-1/+4
2012-06-09Avoid stacking in INVS and FILT, and fix pressurised INVS graphicsjacksonmj1-1/+5
Collisions now always work for particles inside INVS and FILT, so particles don't stack (just a single particle on top of each INVS/FILT). Pressurised INVS was being drawn using PMODE_FLAT (with no alpha blending), which sometimes hid particles inside INVS. Also limit BHOL tmp value to make sure it saves correctly.
2012-06-09Run stacking check less oftenjacksonmj1-6/+8
But force it to be run after loading a save so that really extreme numbers of stacked particles form BHOL immediately
2012-06-09Create BHOL when particles are stacked excessivelyjacksonmj1-0/+66
2012-06-09Prevent solid particles stacking in E-Holejacksonmj1-1/+1
Such as occurs when cloning a solid in E-Hole
2012-06-07Titanium only blocks air when it is connectedSimon Robertshaw1-3/+3
2012-06-07Added condition so that EXOT does not automatically replicate WARP to avoid ↵Catelite1-0/+1
confusion, and changed spawn tmp value to avoid instant copying on spawn.
2012-06-07Ton of changes to make EXOT work as expected. Added graphics to WARP to make ↵Catelite1-1/+2
it actually invisible besides BLOB mode, EXOT now makes rainbows and explodes with too many electrons o__o
2012-06-07omg EXOT element, made from BREL element sparked repeatedly while under >10 ↵Catelite1-0/+3
pressure. Not at all finished, but looks cool :D
2012-06-05Fix the bug with not-spawning fighter.Savely Skresanov1-2/+0
2012-06-05Put ifs into switch in create_part. Delete useless PSv saving function.Savely Skresanov1-195/+218
2012-05-31Prevent allocation of particles with type==0Simon Robertshaw1-1/+1
bleep bloop
2012-05-30Fix PROP_NEUTPENETRATE, particles weren't being moved into empty spacejacksonmj1-1/+1
2012-05-30Fixed the bug with snow, where it melted without taking it's ctype intoSavely Skresanov1-5/+5
account.
2012-05-28No rounding errors with triangle brush, so no need for epsilon (I hope).Savely Skresanov1-2/+1
2012-05-24remove lastx/lasty variables when OGLR is disabledJacob11-0/+10
Conflicts: src/graphics.c
2012-05-24VOID & PVOD can be set to only eat/not eat certain thingsJacob11-1/+2
2012-05-24energy type particles automatically go into photons, not pmapJacob11-8/+9
2012-05-24console doesn't enable hud, fast heat for PUMP/GPMP/ANIM, GPMP activated at drawJacob11-15/+17
2012-05-23fix emp flash, better live parts rendering in (render_ui &) deco editorJacob11-27/+1
2012-05-23fix compilingJacob11-2/+2
2012-05-17New flood_parts function, should fix crashing due to too much recursionjacksonmj1-64/+133
2012-05-17Spellingjacksonmj1-2/+2
("gases" seems to be the more popular version of the plural noun)
2012-05-12Make TTAN block pressure when framesteppingjacksonmj1-7/+2
2012-05-12Fancy motion blur for OpenGL, fix a lot of dialogues in OpenGL, fix gravity ↵Simon Robertshaw1-0/+10
lensing in OpenGL, ensure Phot and Neut are PMODE_ADD, not FLAT
2012-05-11New element: Titanium, absorbs some neutrons, acts as a solid wall to air. ↵Simon Robertshaw1-0/+7
Move blockair filling into update_particles so it can be used by elements
2012-05-06Change license from GPLv2+ to GPLv3+jacksonmj1-0/+17
Also add headers stating the license to some more of the source files
2012-04-30Merge branch 'master' of github.com:FacialTurd/The-Powder-ToySimon Robertshaw1-0/+8
2012-04-30Add PROP_NOAMBHEAT to prevent certain elements from being heated by Ambient ↵Simon Robertshaw1-1/+1
heat, Add PROP_NOAMBHEAT to FILT to fix http://powdertoy.co.uk/Discussions/Thread/View.html?Thread=13579
2012-04-28Delete signs when cutting; change sign location check when savingjacksonmj1-0/+8
Save signs within the original box that was drawn by the user, not within the box that has been expanded to match the wall grid
2012-04-25Fix "return 0;" in function returning void (create_box)Simon Robertshaw1-1/+1
2012-04-19Fix sponge bug.savask1-2/+5
2012-04-18Fix the bug where you could set "bad" temp to insulators.savask1-0/+1
2012-04-17Alterations to TRON and fancy effectsSimon Robertshaw1-4/+1
2012-04-17TRON element, needs to glow and fancy explosion on crashcracker641-0/+11
2012-04-17A small fix for convection.savask1-1/+1
2012-04-15Viscosity change for gel. Water diffusion among sponge and gel (but withsavask1-0/+4
flying cake effect)
2012-04-15Added gel - a liquid with variable heat conductivity and viscosity.savask1-11/+24
2012-04-14Fix crash when flood fill deleting lifejacksonmj1-8/+11
2012-04-14No unmeltable ice anymore.savask1-1/+1
2012-04-07A fix for ice with ctype = 0.savask1-0/+5
2012-04-03Allow DEST to be cloned with CLNE, PCLN, BCLN and PBCN. Add icon for Force ↵Simon Robertshaw1-0/+4
elements, minor edits to Gas and Atomic element icons
2012-03-31REALISTIC - Latent heat. It may be buggy, and enthalpy table isn'tsavask1-4/+78
filled, but it works.
2012-03-30More brush fixesjacksonmj1-4/+10
Fixes a problem with the triangle brush caused by InCurrentBrush calculating the bottom left or bottom right points to be outside the triangle at certain brush sizes. Also fixes some points in the brush outline being heated twice when a line is drawn with the heat tool.
2012-03-29Brush fixesjacksonmj1-2/+2
Heat tool was heating a vertical line in the middle of the brush twice. When drawing a vertical line with the triangle brush, it was one pixel too thin.
2012-03-26Fix ELEC being put into pmap instead of photonsJacob11-3/+3