Commit Graph

2027 Commits

Author SHA1 Message Date
jacob1
daeddd5519 move some key stuff out of sdl_poll, zoom won't be triggered even when disabled by lua now
Conflicts:

	src/interface.c
	src/main.c
2012-08-02 14:26:44 +01:00
chaos.powdertoy.co.uk
23f9de6f81 Version Increment 2012-08-02 00:18:46 +01:00
Simon Robertshaw
78a32775dd Disable decorations by default 2012-08-02 00:18:17 +01:00
Simon Robertshaw
3f6921229b Correct pasting text within existing text, courtesy of jacob1 2012-07-24 02:03:37 +02:00
jacksonmj
5e44345702 0 is a valid value for activeMenu 2012-07-20 00:52:23 +01:00
chaos.powdertoy.co.uk
0b5f0e9722 Version Increment 2012-07-19 13:36:52 +01:00
Savely Skresanov
dc01f09f0e Now stickmen can shoot plasma. 2012-07-12 22:24:19 +07:00
chaos.powdertoy.co.uk
9e07825d5c Version Increment 2012-07-09 22:30:28 +01:00
jacksonmj
61f39f5464 Add ptypes.enabled checks to a few more places 2012-07-09 20:09:29 +01:00
jacksonmj
3e1d3cd5a6 Salt should only melt ice that is above saltwater freezing temperature 2012-07-09 19:21:40 +01:00
cracker64
e7035233fd Optimization for GoL, Added brush size and mouse wheel to lua! 2012-07-08 00:00:47 -04:00
cracker64
5f3c10a684 This should fix PLNT lag just a little bit... (mostly after shooting through NEUT) 2012-07-07 23:15:37 -03:00
chaos.powdertoy.co.uk
e806277000 Version Increment 2012-07-06 12:51:57 +01:00
Simon Robertshaw
7294e0685a Ensure an array terminator is only written if the signs array actually exists. 2012-07-06 13:23:41 +02:00
chaos.powdertoy.co.uk
fc3bc43ba6 Version Increment 2012-07-03 20:24:46 +01:00
jacksonmj
a925eea52c C5 should not explode when touching cold INSL 2012-06-30 00:13:34 +01:00
Simon Robertshaw
b83c2bebbe Ensure any clicks on stacked save link signs only open the first found sign. 2012-06-29 21:47:54 +02:00
jacksonmj
509b84b4f1 Stop STKM being able to jump on the bottom of the screen 2012-06-29 00:50:52 +01:00
jacksonmj
9144733aeb Prevent acid from eating broken glass 2012-06-29 00:41:30 +01:00
jacksonmj
637ee194e0 Prevent STKM falling through activated PVOD with a ctype that isn't STKM 2012-06-29 00:36:38 +01:00
jacksonmj
1f4f50682c Make VOID and BHOL eat stickmen again
Broken by making stickmen heads pass through everything, since the eating
happened in try_move, which stickmen no longer use for head movement.
2012-06-29 00:27:28 +01:00
jacksonmj
966f1dcc23 Use atan2 for LIGH angle calculations
atan2 gives the actual angle (in the range -pi to pi). acos and asin just
give the principal value (in the range 0 to pi, or -pi/2 to pi/2)
2012-06-29 00:04:46 +01:00
jacksonmj
167740e839 Reduce rate of lightning creation by clone 2012-06-27 00:59:07 +01:00
jacksonmj
3a946efdfd Lightning direction affected by Newtonian gravity 2012-06-27 00:52:12 +01:00
jacksonmj
8de602d467 Allow INST to be sparked directly with the brush 2012-06-27 00:03:14 +01:00
jacksonmj
9ee316c3e9 Fix infinite loop when flood_INST finds some INST with a non zero life value
Also fix memory leaks when flood fill functions return early.
2012-06-26 23:42:38 +01:00
Simon Robertshaw
526dc8746c Version incremenet 2012-06-24 12:10:44 +01:00
jacksonmj
9988dc17aa FIRW: less advection, and don't go faster when multiple fire particles are touching it 2012-06-23 16:54:38 +01:00
jacksonmj
81771d8672 Completely remove SING formation from fusion 2012-06-23 00:24:36 +01:00
jacksonmj
29aab750e5 Only create one NBLE particle for each fusing H2 particle 2012-06-23 00:10:39 +01:00
Jacob1
287822229f fix compression during fusion
Conflicts:

	src/powder.c
2012-06-23 00:10:39 +01:00
jacksonmj
135e91b84d Reset particle flags in create_part 2012-06-23 00:10:39 +01:00
jacksonmj
95ca29cc64 Allow stickman head to go through everything 2012-06-23 00:03:50 +01:00
jacksonmj
31a61d0888 Prevent STKM floating in gases 2012-06-22 14:14:54 +01:00
jacksonmj
31ce22f122 Gravity modes and Newtonian gravity for fireworks
Resolves issue #59
2012-06-21 13:58:35 +01:00
jacksonmj
ded23cfa94 Fix minor bug with deco sample tool
If particles are not being drawn with blendpixel, then it is possible for the
R/G/B component of a pixel to be 255. Adding 1 gives 256, which does not
produce the right colour when combined into a RRGGBB value
2012-06-21 11:06:27 +01:00
jacksonmj
79614a9719 Use eval_move(PT_FIGH, ...) when fighters are checking for obstacles
Also stop fighters being included in the stacking check
2012-06-20 22:40:08 +01:00
jacksonmj
fed8b7b2cc Save an extra tmp2 byte, for EXOT 2012-06-20 22:21:10 +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
jacksonmj
9b2c2a78a6 Make ELEC+water form H2 and O2 in the correct proportions 2012-06-18 22:47:38 +01:00
jacksonmj
ae5470ca78 Prevent stacking from ELEC+NEUT, ELEC+water, and CO2 from BUBW
Also conserve number of particles when CO2 from BUBW is absorbed by
water, and when splitting water into H2+O2 using ELEC.
2012-06-18 00:44:37 +01:00
jacksonmj
c14704ae49 Fix STKM causing stacking and falling through some powders 2012-06-17 23:54:47 +01:00
jacksonmj
06d2d5267e Correct freezing temperature for SLTW (-21.1 C) 2012-06-17 22:38:33 +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
e7fabd8601 Fix bug with the improvement to text wrapping
Cursor was sometimes in the wrong place
2012-06-14 11:56:40 +01:00
jacksonmj
1f05aa7f21 Minor improvement to text wrapping
When text flows onto a new line, don't put the space between words at
the start of the new line.
2012-06-14 01:13:17 +01:00
chaos.powdertoy.co.uk
bf8435bf81 Version Increment 2012-06-13 19:28:56 +01:00
Catelite
a83a995f23 Added a tmp=1 flag to PLNT so that VINE will actually function like intended when VINE_MODE is disabled. Plant touching wood is unaffected, but vine that touches wood will grow. 2012-06-13 18:28:27 +01:00
Catelite
12cf2a3145 Updated FRZZ element to behave somewhat like SNOW, since it has roughly the same physical properties. Also changed its element description, since it actually appears on a menu. Leftover FRZZ will eventually become ICE if touching ICE with FRZW ctype. 2012-06-13 18:28:13 +01:00