Commit Graph

323 Commits

Author SHA1 Message Date
jacksonmj
469de0cae0 Fix air-particle heat transfer
Heat transfer rate is proportional to temperature difference.

Previously, the code caused the temperature change to be proportional to
absolute temperature.
2011-06-02 20:19:46 +01:00
jacksonmj
099ab10a37 Walls no longer limit fast particles to 2 pixels per frame 2011-06-02 20:19:18 +01:00
jacksonmj
bc44af6a0b INVS should leave photons alone when under pressure 2011-06-02 20:19:10 +01:00
Simon Robertshaw
c003fee63e Ambient heat (disabled by default) 2011-06-01 20:18:19 +01:00
jacksonmj
f603e33e74 Small speed improvement to eval_move
Warning: may be buggy, test thoroughly.
2011-05-29 13:36:11 +01:00
jacksonmj
5e414e64dc Fix WIND decoration, and reset dcolour in create_part 2011-05-29 13:35:00 +01:00
jacksonmj
6a2f357efd Revert "Pass decorations to saving functions (doesn't actually save yet)"
This reverts commit 7fe99f3210.

Conflicts:

	src/main.c
2011-05-29 13:34:37 +01:00
jacksonmj
ab7cd2e5f6 Skip some calls to do_move for liquids
No liquid can occupy the same space as itself unless in E-Hole
2011-05-28 18:51:57 +08:00
jacksonmj
420f8e7442 Make NBHL/NWHL eat things in the same way as BHOL/WHOL
Also make ANAR move opposite to Newtonian gravity
2011-05-28 18:51:57 +08:00
jacksonmj
7482e4d071 Small fix for liquid and powder movement 2011-05-19 22:53:23 +08:00
jacksonmj
68c4d6d621 Make sure WIND can't be created
Revert this if the element number is reused for something useful
2011-05-19 22:53:23 +08:00
jacksonmj
e4b03fb2e2 Photons and neutrons go through portal instead of reflecting 2011-05-19 22:53:23 +08:00
jacksonmj
e675fb3cc1 Fix crash with negative lava ctype
E.g. "set type prti lava"
2011-05-14 13:44:44 +01:00
jacksonmj
7fe99f3210 Pass decorations to saving functions (doesn't actually save yet) 2011-05-14 13:44:02 +01:00
jacksonmj
cbfc73d8d6 Turn WIND into a tool 2011-05-14 13:43:51 +01:00
jacksonmj
26dbf70709 Fix overlapping particles 2011-05-14 13:39:40 +01:00
jacksonmj
882a839205 Fix high speed photons when reflecting near glass 2011-05-14 13:39:14 +01:00
Simon Robertshaw
fa54c005b2 Use properties for life decrement/kill 2011-05-14 13:38:52 +01:00
Simon Robertshaw
73f2f9f57f fix neutron cloning 2011-05-14 13:34:06 +01:00
Simon Robertshaw
16f014b06a Move wall drawing to graphics.c 2011-05-14 13:28:02 +01:00
Simon Robertshaw
33eb485c9f Revert "-a"
This reverts commit 550d270af2.
2011-05-14 13:09:46 +01:00
Simon Robertshaw
550d270af2 -a 2011-05-14 13:02:36 +01:00
Cracker64
59bd280fad ANAR changes, WHOL absorbs ANAR and gets colder. ANAR burns with CFLM strangely. 2011-05-05 20:38:30 +01:00
jacksonmj
b5a334c2af Improve piling of powders 2011-05-05 20:36:14 +01:00
jacksonmj
a7b5718c6a Fixes for previous commit
Previous commit caused buggy movement in walls
2011-05-05 20:33:42 +01:00
jacksonmj
ddaed2ad69 Slight speed improvement for liquids and powders 2011-05-05 20:33:09 +01:00
jacksonmj
7543a3d05e Fix plut lava
type already set to ctype and ctype already cleared, whoops.
2011-05-05 20:31:46 +01:00
savask
3ea306cc77 Some changes to soap. 2011-05-05 20:24:21 +01:00
Simon Robertshaw
5aefd0cb01 Initial soap commit 2011-05-05 20:14:35 +01:00
Simon Robertshaw
981e17927b Fix BMTL and gravity breaking 2011-04-26 16:57:04 +01:00
Simon Robertshaw
06c0949beb Gravity breaks elements like pressure does (Doesn't work for broken metal and needs tweaking a little) 2011-04-26 16:46:57 +01:00
Simon Robertshaw
b26648e6ae Fix pause with gravity and test deuterium improvements 2011-04-25 20:41:45 +01:00
jacksonmj
3bfa39ecf3 Fix crash when setting fan direction with caps lock on 2011-04-23 07:52:59 +08:00
Simon Robertshaw
13ff21bb22 Gravitaaaay (Needs tweeking for performance) 2011-04-22 17:06:09 +01:00
jacksonmj
d6a28b6427 Use malloc in transform_save
Should fix crashes on Windows caused by stack overflow
2011-04-16 17:26:07 +01:00
Simon
767d73c5fc astyle 2011-04-08 11:09:42 +01:00
Simon
922befd844 Fix O2 and H2 files, also fix zero life death 2011-04-04 16:40:22 +01:00
jacksonmj
4d80abc399 Fix neutrons crash
Also fix neutrons causing unwanted movement of parts[0]
2011-04-04 16:12:52 +01:00
Simon
651208c5fb Prevent dust residue from FWRK
Conflicts:

	src/powder.c
2011-04-04 16:09:05 +01:00
Simon
b7a004986f A cracker commit with some nice comments 2011-03-30 18:57:49 +01:00
Cracker64
53bc3b817d QRTZ grow changes, uses ctype. 2011-03-29 18:25:11 +01:00
Simon
82d0d63be9 Awesome QRTZ from Cate 2011-03-24 20:06:22 +00:00
Simon
3ab47ae9d7 Effects for PRTO and PRTI 2011-03-24 19:41:45 +00:00
Simon
fe90c86fa1 SING pops when it runs out of life 2011-03-24 15:47:44 +00:00
Simon
7d56b33589 Fix some WIND bugs 2011-03-22 17:14:45 +00:00
Simon
cf4572ec5f Fixes from jacksonmj 2011-03-22 16:15:41 +00:00
jacksonmj
df27f8420d Fix crash when trying to move to invalid co-ordinates 2011-03-21 16:26:58 +00:00
jacksonmj
f316b1fdb9 Remove redundant rotate/invert code and correct rotation direction 2011-03-18 20:14:19 +00:00
jacksonmj
d46a3bdcb0 Better rotation and inversion, also does single pixel translation 2011-03-18 19:33:38 +00:00
jacksonmj
1802c160c4 Remove code to delete SPAWN when stickman produced
Code doesn't actually do anything in official source, due to operator
precedence and lack of brackets.
2011-03-18 00:26:12 +00:00