summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-02-25A new unstable REALISTIC option. No guarantees - but more realistic behaviour.savask1-4/+11
Better diffusion and heat transition.
2012-02-25Added FRAY - Force-ray and RPEL - RepellerSimon Robertshaw3-2/+57
2012-02-20Lua methods for reading/writing the bmap and emap (no mapped walltypes yetSimon Robertshaw1-0/+118
2012-02-19Prevent gaps in beams of photons from powered clonejacksonmj3-0/+16
2012-02-18Make DEUT compress when Newtonian gravity is applied to itjacksonmj1-0/+4
2012-02-16Allow BRAY from PSCN to pass through sparked INWRjacksonmj1-1/+1
(it currently passes through INWR only when not sparked)
2012-02-16Draw pixels for the entire fire_alpha arrayjacksonmj1-2/+2
Makes fire glow look slightly less blocky
2012-02-12End sign movement when a save is loadedjacksonmj1-0/+1
2012-02-11Fix save reloading when saving to fileSimon Robertshaw1-0/+7
2012-02-10Fix stationary photons being created by PCLN/PBCNjacksonmj2-10/+20
2012-02-05Prevent ambient heat going through wallsjacksonmj1-10/+14
Still doesn't conserve energy, it might disappear when blown towards a wall, but it will no longer go through the wall.
2012-02-05INSL blocks DLAY conduction, and raise DLAY temperature limitjacksonmj1-5/+5
2012-02-05Make ARAY fire once per sparkjacksonmj1-1/+1
2012-02-05More SPRK life checks for electronic elementsjacksonmj7-8/+7
Check life>0, because SPRK changes back to its ctype when life==0. This could result in SPRK being found/not found depending on particle order, so pretend SPRK is not there if life==0 (it will disappear during the current frame).
2012-02-05Fix switch not activating completely while being sparkedjacksonmj1-2/+5
Check life>=10 so that activation still spreads just after the switch has been sparked. Copy other particle's life value instead of setting to 10 to avoid spark loops.
2012-02-05Prevent particle creation when clicking in the menu areajacksonmj1-1/+1
2012-02-05Change wifi so that it always takes one frame to transmitjacksonmj2-9/+9
2012-02-05Separate loop for updating life, and add SPRK life checks to most electronicsjacksonmj9-21/+30
2012-01-29Stop printing crap from BRMT functionSimon Robertshaw1-1/+0
2012-01-26stickmen load correctly and are drawn in new save format, and fighters are ↵Jacob11-8/+85
drawn correctly in both Conflicts: src/save.c
2012-01-26Fix deco colour in prerender_save to work with other pixel formatsjacksonmj1-4/+6
2012-01-26save tmp2, show decoration color on stampsJacob11-7/+30
2012-01-26Another change to the eval_move check in create_partjacksonmj1-1/+5
Creating a particle where there was a wall but no existing particle was broken, since eval_move returns 1 for moving into empty space.
2012-01-26Retrieve thumbnails, saves and info from caching server (static.powdertoy.co.uk)Simon Robertshaw1-19/+27
2012-01-25Fix crash when JSON parsing failsjacksonmj1-3/+3
2012-01-25Fix WARP destroying DMNDjacksonmj1-2/+9
If WARP moved in its update function, then the x/y variables in the main loop were out of date. When the normal movement code ran, changes were made to the wrong place in the pmap. This resulted in some particles with low IDs being destroyed by the addition of WARP+SING. This change might also fix the WARP+PRTI crash that I never managed to reproduce.
2012-01-25Make RBDM/WATR explosion work again, by not killing fire created by WATRjacksonmj3-2/+5
2012-01-25Only check the bits actually used for wavelength in photon ctypejacksonmj2-2/+2
Fixes black photons not being killed after passing through pipe
2012-01-25OPS thumbnail crash fix, and blank thumbnails for saves from a newer versionjacksonmj2-5/+9
2012-01-25If you cancel an update, the yellow update box stays awayJacob11-0/+3
2012-01-25Solids wall description, and check build_save was successful when saving a stampjacksonmj1-0/+2
2012-01-25ability to delete corrupted stampsJacob11-4/+11
2012-01-25Check coordinates of signs before using them to read pmap or pressurejacksonmj1-4/+7
2012-01-25transform_save should check wall coordinates against size in blocks, not the ↵jacksonmj1-1/+1
actual size Fixes crash when rotating a section of wall that is wider than YRES
2012-01-25Whoops, eval_move returning 1 should not allow particle creationjacksonmj1-1/+1
2012-01-25Implement PROP_NEUTABSORBjacksonmj1-0/+7
2012-01-25Make transform_save work with new save functionsjacksonmj2-116/+139
Conflicts: src/powder.c
2012-01-25Revert "transform_save should check wall coordinates against size in blocks, ↵Simon Robertshaw1-136/+0
not the actual size" This reverts commit 34c6043014527747dcc3fee65f66d0686a74f3fd.
2012-01-25transform_save should check wall coordinates against size in blocks, not the ↵jacksonmj1-0/+136
actual size Fixes crash when rotating a section of wall that is wider than YRES Conflicts: src/save.c
2012-01-25Revert "Some fixes for compiling with Visual Studio - void* and inline"Simon Robertshaw2-5/+5
This reverts commit ea619f554259d746a82c2abf45e5734f637ed041.
2012-01-25Some fixes for compiling with Visual Studio - void* and inlinejacksonmj2-5/+5
2012-01-14Change variable declarations to make Visual Studio happyjacksonmj1-8/+9
2012-01-05Add 4 byte ctype saving to OPS, for PHOT coloursjacksonmj1-1/+21
2012-01-05eval_move in create_part if a particle already exists in the requested positionjacksonmj1-1/+1
To allow Lua tpt.create to create photons in glass
2012-01-05Fix zero length save crash, ignore sign tool walls, allocate parts starting ↵jacksonmj1-2/+19
at beginning of array Allocating parts starting at end was making saves loaded from OPS files run slower, because no particles could be skipped by using parts_lastActiveIndex.
2012-01-02Fix missing and incorrect bitshifts preventing the correct reading of life, ↵Simon Robertshaw1-6/+6
tmp and dcolour
2012-01-02Save active menuSimon Robertshaw1-0/+33
2012-01-01Air mode and Gravity mode on Simulation options, improvements to list boxSimon Robertshaw1-10/+58
2012-01-01Water equalisation in saveSimon Robertshaw1-0/+12
2012-01-01BRMT + BREL = THRM at high temperaturesSimon Robertshaw3-4/+42