summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2012-01-01prerender_save_OPSSimon Robertshaw1-18/+229
2011-12-3116bit descriptor and variable temp field size, sign saving and readingSimon Robertshaw1-42/+150
2011-12-31Store number of parts at each position instead of storing x/y coordsjacksonmj1-115/+208
Also fix blockW/H calculation and PT_NUM check
2011-12-31Change LIGH and FIGH descriptionsjacksonmj1-2/+2
2011-12-30Almost finished new save format, just signs and thumbnail rendering neededSimon Robertshaw2-207/+423
2011-12-30Fix header include for case sensitive filesystemsSimon Robertshaw1-1/+1
2011-12-30Make OPS optional (disabled by default) with define SAVE_OPSSimon Robertshaw1-1/+4
2011-12-30Merge branch 'master' of github.com:FacialTurd/The-Powder-ToySimon Robertshaw6-12/+40
2011-12-30Add checks for prerender_save in save_filename_ui, pass vx, vy and pv air ↵Simon Robertshaw4-865/+2409
data into parse and build save methods. New save format: OPS, basic reading and writing complete, uses BSON, BSON.c/h (Binary JSON) implementation from MongoDB. (Is License OK?)
2011-12-28Fix creation of invalid wall tiles by sign tooljacksonmj2-3/+2
2011-12-28Update can_move, recount menu items and clear graphics cache when tpt.el is ↵jacksonmj2-4/+33
changed