Simon Robertshaw
1fceab6e4a
Ensure partsSimIndex is freed upon success state of OPS parsing
2012-06-18 15:57:41 +01:00
Simon Robertshaw
fc86c24027
Better freeing for memory in GameSave
2012-06-18 15:54:55 +01:00
Simon Robertshaw
81423ba568
RenderOptions controller should delete its callback
2012-06-18 15:45:31 +01:00
Simon Robertshaw
edac8b5481
Free tools
2012-06-18 15:32:15 +01:00
Simon Robertshaw
9d7a4e55f2
Menu frees any added items
2012-06-18 15:27:57 +01:00
Simon Robertshaw
741392f2c1
Free platent and elements
2012-06-18 15:25:24 +01:00
Simon Robertshaw
1a13c3edec
Use C++ allocation and deletion for Brush memory
2012-06-18 14:46:18 +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
Simon Robertshaw
2717a17127
Use SDL by default
2012-06-13 20:49:41 +02: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
Simon Robertshaw
9769239af6
Remove debug printing from brush
2012-06-13 15:09:37 +01:00
Simon Robertshaw
2b51441573
Linux fix with SDL_syswm
2012-06-13 14:54:15 +01:00
Simon Robertshaw
d7e12b7b43
Missing includes and declarations for Linux
2012-06-13 14:36:56 +01:00
Catelite
a104696620
Update to EXOT that makes it permeable to neutrons as well as electrons. 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-13 13:51:24 +01:00
Simon Robertshaw
c447dd2f4a
TPT: Update version
2012-06-13 01:40:44 +01:00
Simon Robertshaw
4bda62b68c
TPT: Make ambient heat convection work a bit better
2012-06-13 01:40:13 +01:00
Simon Robertshaw
57548b60d9
TPT: STOR should not conduct heat
2012-06-13 01:38:09 +01:00
Simon Robertshaw
0cb47ab93c
TPT: Remember ctype when cloning lava
2012-06-13 01:37:32 +01:00
Simon Robertshaw
f0778c2033
TPT: Prevent THDR from counting towards stacked particle limit
2012-06-13 01:28:33 +01:00
Simon Robertshaw
5f81b70787
TPT: Avoid stacking in INVS and FILT, and fix pressurised INVS graphics
2012-06-13 01:28:00 +01:00
Simon Robertshaw
2aebc294e8
TPT: Run stacking check less often
2012-06-13 01:21:33 +01:00
Simon Robertshaw
7e0a315880
TPT: Create BHOL when particles are stacked excessively
2012-06-13 01:14:21 +01:00
Simon Robertshaw
a4d156fc6b
TPT: Prevent solid particles stacking in E-Hole
2012-06-13 01:06:44 +01:00
Simon Robertshaw
59920c1a62
TPT: TTAN updates
2012-06-13 01:03:21 +01:00
Simon Robertshaw
c63de0ff6d
TPT: Return 0 after particle type change
2012-06-13 00:58:33 +01:00
Simon Robertshaw
427670682f
TPT: EXOT
2012-06-13 00:57:02 +01:00
jacksonmj
6c3034acff
Make ambient heat convection work a bit better
...
Previously, it was comparing the temperature of the current cell to the
average of the cells around it (plus some advection affecting the
average, but that makes no difference if the air starts out stationary),
and basing the velocity change on this temperature difference.
If the cell below is hotter and the cell above is cooler, the air should
rise. But in this case, the average of surrounding cells tends to be
near the temperature of the current cell, so not much happens.
Just using the temperature difference between the current cell and the
cell above makes convection work a lot better.
2012-06-13 00:56:22 +01:00
jacksonmj
35d125cf53
Remove sdl_scale from update_O2
...
Particle coords are not affected by sdl_scale, only mouse coords
2012-06-13 00:45:35 +01:00
Simon Robertshaw
19d071f10b
TPT: Tron wasn't keeping its NODIE flag
2012-06-12 21:30:08 +01:00
Simon Robertshaw
c7ec0b76f6
TPT: Fix the bug with not-spawning fighter.
2012-06-12 21:29:24 +01:00
Simon Robertshaw
ef777b92dc
TPT: Put ifs into switch in create_part
2012-06-12 21:28:37 +01:00
Simon Robertshaw
5ec6223065
TPT: Check fire colour values are with the correct range
2012-06-12 20:18:45 +01:00
Simon Robertshaw
db86294e6a
TPT: Prevent allocation of particles with type==0, bleep bloop
2012-06-12 20:16:33 +01:00
Simon Robertshaw
9033786e49
TPT: Fix PROP_NEUTPENETRATE, particles weren't being moved into empty space
2012-06-12 20:15:33 +01:00
Simon Robertshaw
c0008efb74
Fix SOAP.cpp from previous commit
2012-06-12 20:14:02 +01:00
Simon Robertshaw
f8badc05d4
TPT: Fixed the bug with snow, where it melted without taking it's ctype into account.
2012-06-12 20:13:04 +01:00
Simon Robertshaw
9b8fba4a19
TPT: Fix SLTW boiling temperature typo
2012-06-12 20:07:51 +01:00
Simon Robertshaw
b80e73e729
TPT: Added '.gitattributes' file s that '.gitignore' won't be included in archives that are created with 'git archive'
2012-06-12 20:07:04 +01:00
Simon Robertshaw
a3a8ef7f7a
TPT: Soap bubbles are easily formed now.
2012-06-12 20:05:59 +01:00
Simon Robertshaw
2e1780ce4e
TPT: VOID & PVOD can be set to only eat/not eat certain things
2012-06-12 19:59:19 +01:00
Simon Robertshaw
a95ceb4c92
TPT: energy type particles automatically go into photons, not pmap
2012-06-12 19:55:00 +01:00
Simon Robertshaw
3b020b3151
TPT: fix crash, spark reset set type without checking if it was a valid number
2012-06-12 19:45:19 +01:00