Commit Graph

312 Commits

Author SHA1 Message Date
jacksonmj
31ce22f122 Gravity modes and Newtonian gravity for fireworks
Resolves issue #59
2012-06-21 13:58:35 +01:00
jacksonmj
1d5b081942 Replace all explosion sparks with new element (EMBR)
Replaces: BOMB sparks and flash, electrons + glass sparks, sparks from
IGNC, sparks from TNT explosion, and sparks from FWRK and FIRW.
2012-06-20 22:15:45 +01:00
Simon Robertshaw
4b073de82a Revert "Moved soap and stick men graphics things to special functions."
This reverts commit 7f5408f196.

Conflicts:

	includes/powder.h
2012-06-17 22:34:17 +01:00
jacksonmj
36de2f19f5 Move INST flood fill into a separate function
Since there were so many if statements for INST in flood_parts. Also, allow
INST inside walls to be sparked.
2012-06-15 13:45:55 +01:00
jacksonmj
601766a3a0 Run stacking check less often
But force it to be run after loading a save so that really extreme
numbers of stacked particles form BHOL immediately
2012-06-09 12:37:52 +01:00
Catelite
dfb0357382 Changed EXOT to change into touching particles in the five frames at the top of every tmp cycle. Also, changed BREC references into BREL for consistency since it isn't often mentioned. 2012-06-07 14:03:38 +01:00
Catelite
c07afe4c89 Ton of changes to make EXOT work as expected. Added graphics to WARP to make it actually invisible besides BLOB mode, EXOT now makes rainbows and explodes with too many electrons o__o 2012-06-07 14:03:16 +01:00
Catelite
6d465b207d omg EXOT element, made from BREL element sparked repeatedly while under >10 pressure. Not at all finished, but looks cool :D 2012-06-07 14:03:00 +01:00
Savely Skresanov
7f5408f196 Moved soap and stick men graphics things to special functions. 2012-06-02 21:59:25 +07:00
Jacob1
4da9a26502 remove lastx/lasty variables when OGLR is disabled
Conflicts:

	src/graphics.c
2012-05-24 19:57:29 +01:00
jacksonmj
9a30a580d2 Spelling
("gases" seems to be the more popular version of the plural noun)
2012-05-17 21:56:20 +01:00
Simon Robertshaw
d69fc052fa Fancy motion blur for OpenGL, fix a lot of dialogues in OpenGL, fix gravity lensing in OpenGL, ensure Phot and Neut are PMODE_ADD, not FLAT 2012-05-12 01:35:55 +01:00
Simon Robertshaw
d7fa0b139e New element: Titanium, absorbs some neutrons, acts as a solid wall to air. Move blockair filling into update_particles so it can be used by elements 2012-05-11 21:02:58 +01:00
jacksonmj
a1aeabeee4 Change license from GPLv2+ to GPLv3+
Also add headers stating the license to some more of the source files
2012-05-06 02:20:57 +01:00
Simon Robertshaw
211770e818 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2012-04-30 21:49:40 +01:00
Simon Robertshaw
8397b6e51a Add PROP_NOAMBHEAT to prevent certain elements from being heated by Ambient heat, Add PROP_NOAMBHEAT to FILT to fix http://powdertoy.co.uk/Discussions/Thread/View.html?Thread=13579 2012-04-30 21:49:33 +01:00
jacksonmj
6101c04ff9 Use an array instead of ctype to cache tron colour 2012-04-27 18:09:54 +01:00
jacksonmj
1d59194bfc Fix compiler warning, GRAPHICS_FUNC_ARGS is not declared in graphics.h 2012-04-27 11:39:11 +01:00
savask
f93a829672 Fix sponge bug. 2012-04-19 21:42:25 +07:00
Simon Robertshaw
ffa5ccb666 Alterations to TRON and fancy effects 2012-04-17 22:38:27 +01:00
cracker64
a7e1774d41 Took wrong update function 2012-04-17 15:58:12 -04:00
cracker64
eccf5658d2 TRON element, needs to glow and fancy explosion on crash 2012-04-17 15:55:58 -04:00
savask
8523da398f Added gel - a liquid with variable heat conductivity and viscosity. 2012-04-15 17:56:55 +07:00
savask
4b4830b5a4 REALISTIC - Latent heat. It may be buggy, and enthalpy table isn't
filled, but it works.
2012-04-01 00:27:01 +07:00
Jacob1
803ded3b33 fusion step 2 + modify temp/pressure of step 1 2012-03-14 19:35:28 -04:00
Jacob1
dc688470a6 soap lines, create_parts fix, compiling fixes 2012-03-14 19:20:27 -04:00
Simon Robertshaw
f6696282e1 Added FRAY - Force-ray and RPEL - Repeller 2012-02-25 10:26:02 +00:00
jacksonmj
3702438482 Prevent gaps in beams of photons from powered clone 2012-02-19 00:49:04 +00:00
jacksonmj
44545d4c96 Solids wall description, and check build_save was successful when saving a stamp 2012-01-25 21:33:21 +08:00
jacksonmj
bdf277e687 Implement PROP_NEUTABSORB 2012-01-25 21:33:20 +08:00
jacksonmj
16ea042bab Make transform_save work with new save functions
Conflicts:

	src/powder.c
2012-01-25 13:31:05 +00:00
Simon Robertshaw
e41a3af8c5 BRMT + BREL = THRM at high temperatures 2012-01-01 16:32:02 +00:00
Simon Robertshaw
d6953be3a8 New element: Ignition cord 2011-12-19 14:29:01 +00:00
Simon Robertshaw
9d73a5f5bf Revert "Directly read/write element type properties"
This reverts commit 0da91a783f.
2011-12-19 12:43:28 +00:00
Simon Robertshaw
61e86ca72d Merge with new lua functionality 2011-12-18 15:14:07 +00:00
jacksonmj
934d1da66e Move Newtonian gravity into a new file 2011-12-18 22:04:47 +08:00
Simon Robertshaw
03352ca1f4 Fix memory leaks, allow changing of element name (To fix: element names in some arrays out of sync) 2011-12-10 19:03:31 +00:00
Simon Robertshaw
55cc6e3b05 Revert "Directly read/write element type properties"
This reverts commit 0da91a783f.
2011-12-08 09:56:18 +00:00
Simon Robertshaw
0da91a783f Directly read/write element type properties 2011-12-08 09:52:44 +00:00
Simon Robertshaw
cb75e1d924 Fix spark effect on BOMB, another attempt at TNT (Explosive with more pressure) 2011-12-03 00:11:19 +00:00
Simon Robertshaw
d17336b467 Allow pipe to grab from photon map, BRAY beam takes temp from ARAY 2011-11-26 12:44:52 +00:00
savask
7de6526a1e CAUS now kills stick man. Also stick mans can have gas power now. 2011-11-02 22:22:27 +07:00
Simon Robertshaw
3723147a1d ACEL and DCEL, need to be in a better section 2011-11-01 20:44:49 +00:00
savask
3e5fb5942d Made fighters shoot anything deadly. 2011-11-01 23:44:17 +07:00
Simon Robertshaw
6de8346cdb Fix Wireworld graphics 2011-11-01 13:35:18 +00:00
Simon Robertshaw
856f9574b6 Change LCRy workings and add ELEC (wip) 2011-10-30 16:22:33 +00:00
Simon Robertshaw
e46f26684b Fix Life and heat display, implement alpha, blend and add, fix FILT, INVS and BRAY + others 2011-10-28 23:48:57 +01:00
Simon Robertshaw
e2c9882692 Merge latest FIGH additions 2011-10-26 17:10:21 +01:00
savask
03902ec9a4 Made a special structure for stick mans. 2011-10-26 15:36:00 +01:00
savask
a075fd5a9a Fix one merging error, and adjusted fighters' array. 2011-10-26 15:34:54 +01:00