Commit Graph

138 Commits

Author SHA1 Message Date
jacksonmj
d515575612 Allow changing of stkm spawn element by setting ctype 2011-06-25 16:06:44 +01:00
Simon Robertshaw
1a17e35c6f Change checking back to ctype for Aray condition 2011-06-25 16:06:17 +01:00
jacksonmj
34d76f8680 Check photon map in Lua functions, and allow any ctype
Also add some extra checks on ctype in the rest of the game
2011-06-25 15:59:30 +01:00
jacksonmj
04b3eb11fd Fixes for high life stickman 2011-06-25 15:52:11 +01:00
jacksonmj
9d325dbb7c Fix walls for SING explosions 2011-06-25 15:50:41 +01:00
jacksonmj
93316a9f1d Fix a load of memory leaks
Also fix some compiler warnings (missing headers, wrong pointer type for
modf, etc) and move variable declarations for Visual Studio.
2011-06-11 13:00:42 +01:00
jacksonmj
2ddb24d5b0 Fix WL_DESTROYALL for fast particles; and no H2 ignition from SPRK
H2 igniting from spark causes too many problems for electrolysis
2011-06-08 12:47:03 +01:00
savask
54aa148325 Bubbles now don't pop because of gases. 2011-06-04 19:14:26 +01:00
savask
7f245483a2 Some fixes for stick mans. 2011-06-04 19:12:21 +01:00
savask
e42e7d019e Some work on frozen bubbles. 2011-06-05 01:09:02 +08:00
savask
a48e477fca Moved detach(i) function to powder.c, made soap display connections when
it's double-joined, made portal in detach soap before teleportating
(works strangely)
2011-06-05 01:09:02 +08:00
Simon Robertshaw
97cc3488eb Mercury 2011-06-04 14:05:22 +01:00
jacksonmj
744854ef36 Speed up update_PIPE
By making it call rand() once instead of 6 times.
2011-06-02 20:19:28 +01:00
jacksonmj
4fd97b93b4 Large speed improvement for QRTZ
Also prevent growing when sparked.
2011-05-29 13:38:53 +01: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
6e9cbfdb4a Fix STKM always going through walls
Now behaves as normal, i.e. only occasionally goes through walls.

Walls which completely block all particles are in the pmap with type
0xFF. ptypes[] doesn't go up to 0xFF, so ptypes[0xFF].state will not
necessarily result in an answer that gives correct behaviour for walls.
2011-05-28 18:51:57 +08:00
jacksonmj
fc4de9640c Fix sim options description, GOO and DEUT 2011-05-24 21:49:08 +08:00
Simon Robertshaw
dadac37264 Move Diamond into solids menu, add gravity elements 2011-05-20 13:00:34 +01:00
jacksonmj
603844f97f Fix DEUT explosion 2011-05-19 22:53:24 +08:00
Cracker64
9d20d6af82 Decoration has a color menu. GoL uses less memory(17MB less), and probably a bit faster. 2011-05-14 13:46:10 +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
Cracker64
59bd280fad ANAR changes, WHOL absorbs ANAR and gets colder. ANAR burns with CFLM strangely. 2011-05-05 20:38:30 +01:00
jacksonmj
59d9071e87 Make damp sponge much less flammable
Also make evaporation cool the sponge better
2011-05-05 20:35:17 +01:00
jacksonmj
0aa4970b33 Remove some unnecessary checks 2011-05-05 20:35:08 +01:00
jacksonmj
9a3836879e H2 burns from spark, lava, plasma; O2 burns from plasma 2011-05-05 20:34:05 +01:00
savask
f0c5960b56 Some work on bubbles. Added "bubble x,y" command to console.
Also made them save like regular soap.
2011-05-05 20:24:42 +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
fb408ab82b Revert "Dem bubbles"
This reverts commit 607572cf0d.
2011-05-05 20:08:13 +01:00
unknown
607572cf0d Dem bubbles 2011-05-05 19:58:30 +01:00
Simon Robertshaw
b26648e6ae Fix pause with gravity and test deuterium improvements 2011-04-25 20:41:45 +01:00
Cracker64
24f5905020 portal now uses particles as storage, so it keeps everything. 2011-04-25 19:00:27 +01:00
Simon Robertshaw
db427e4cdd Dear PSTE
Nobody likes you
Sincerely, Everyone
2011-04-23 21:20:32 +01:00
jacksonmj
3e1ff2094c Fix WTRV formed from burning firework dust 2011-04-23 07:52:59 +08:00
jacksonmj
9fb965f59d Restrict temperature in DEUT explosion 2011-04-23 07:52:58 +08:00
Simon Robertshaw
31d76df948 Fix returns for Coal code 2011-04-21 14:15:15 +01:00
Cate
635be04c16 Added the same IF to COAL for consistency, seems to work. Changed Ctypes to PT_Names instead of equivilent numbers. 2011-04-19 18:10:03 +01:00
Simon
743b7dffce bcol Catelite merge 2011-04-19 18:09:36 +01:00
jacksonmj
8d8cc909bb Ensure invisible photons get killed 2011-04-16 17:27:25 +01:00
jacksonmj
1c771d1ea4 Photons and neutrons through portal 2011-04-16 17:26:54 +01:00
Simon
7be136ddee Distilled water instead of water from H2+O2 2011-04-10 11:47:49 +01:00
Simon
422fcc68ec Better Oxygen/Hydrogen burning 2011-04-10 11:38:29 +01:00
Simon
92b2cb70bd Revert "Portal orbital effects stop more smoothly"
This reverts commit 29e41a0a0c.
2011-04-08 14:33:13 +01:00
jacksonmj
29e41a0a0c Portal orbital effects stop more smoothly
When fe==0, dots finish moving to destinations before disappearing
2011-04-08 11:10:41 +01:00
jacksonmj
63f3f90c55 Improve PRTI orbital effects
Prevent ugly positioning of orbital effects when PRTI is surrounded but still taking in particles
2011-04-08 11:10:28 +01:00
jacksonmj
cbbce662cc Electrolysis produces H2 2011-04-08 11:10:16 +01:00
jacksonmj
30f2b3217c More accurate H2O ratio when forming water 2011-04-08 11:10:01 +01:00
Simon
767d73c5fc astyle 2011-04-08 11:09:42 +01:00
jacksonmj
1bdf72be1a Some fixes for H2 2011-04-08 11:06:50 +01:00
Simon
922befd844 Fix O2 and H2 files, also fix zero life death 2011-04-04 16:40:22 +01:00
AntB
db406494bd Added H2:
Will reduce DESL to WATR and OIL under pressure
	Will fuse with O2 under pressure to make WATR
2011-04-04 23:18:26 +08:00
jacksonmj
592b923b66 Finish WIN32 register_extension, fix Visual Studio compile 2011-04-04 16:10:03 +01:00
Simon
db2937ec79 More random explosion 2011-04-02 15:25:50 +01:00
Simon
40abad4cca Fix Neutrons and clone types 2011-04-01 15:21:11 +01:00
Simon
b7a004986f A cracker commit with some nice comments 2011-03-30 18:57:49 +01:00
AntB
a0f61882de derp - added O2.c 2011-03-29 19:21:04 +01:00
AntB
f32dd71e0a AMTR updates, releases LESS pressure, generates MORE photons and lifes that little bit longer. 2011-03-29 19:12:53 +01:00
Cracker64
53bc3b817d QRTZ grow changes, uses ctype. 2011-03-29 18:25:11 +01:00
Cate
175fb60cf7 Fixed spacing and fixed "clumping" with quartz generating from life with Cracker help. console: set life qrtz 10000 is very lol 2011-03-24 20:10:04 +00:00
Cate
7bfe412e29 Cracker suggestion, fixed newly generated Quartz to always have color of previous particle it was created from. Makes cool patterns. Also increased speed. 2011-03-24 20:09:32 +00: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
c096b2b14a More cracker fixes 2011-03-22 17:25:29 +00:00
Simon
7d56b33589 Fix some WIND bugs 2011-03-22 17:14:45 +00:00
jacksonmj
993fb876c9 Fix stickmen photons and neutrons 2011-03-19 12:00:53 +00:00
Cracker64
15deb1145b PRTO fix 2011-03-16 20:49:33 +00:00
Cracker64
ffc3e0a5ee PRTO fix 2011-03-16 14:58:58 -04:00
Cracker64
3b048f8a06 merge merge merge 2011-03-10 15:43:27 -05:00
jacksonmj
ded7bdf30d Merge branch 'upstream' into dev
Conflicts:
	src/main.c
2011-02-26 19:32:51 +00:00
jacksonmj
a972644c4f Fix ETRD not conducting correctly to adjacent particles 2011-02-24 19:24:37 +00:00
Simon
1b9b1752a7 Switch life to ctype for, photons apparently use the GLOW ctype for something 2011-02-23 20:54:11 +00:00
Simon
5d4d815ad3 Fancier glow, now affected by Velocity, Pressure and Heat 2011-02-23 20:35:02 +00:00
Cracker64
a8439f221e updating 2011-02-22 20:55:09 -05:00
jacksonmj
b3278cf888 Fix some compiler warnings 2011-02-20 20:46:26 +00:00
Cracker64
7c123cdb00 NEUT fixed to dust and fwrk reaction. 2011-02-19 07:04:54 +08:00
Cracker64
89b19bcbee NEUT fixed to dust and fwrk reaction. 2011-02-17 19:03:14 -05:00
Cracker64
e882dfecf9 update with latest 2011-02-10 19:46:34 -05:00
jacksonmj
457ceeff0a BCLN and GOO advection fix 2011-02-09 17:19:48 +00:00
jacksonmj
b85c29dee4 Prevent crashes in the event of ridiculous temperatures 2011-02-07 20:29:11 +00:00
Cracker64
9064cabf28 merge jacksonmj's and much better string parsing because of a function i found. 2011-02-04 01:00:03 -05:00
jacksonmj
8aaaae1daf Make PTCT/NTCT cool down even when covered with spark
Also fix typo in update_PHOT
2011-02-03 00:08:56 +00:00
jacksonmj
5b1210714d More fixes
Fix PHOT and FWRK.
Fix QRTZ conductivity (broken by removing PROP_CONDUCTS)
Add some things lost during rewrite: NTCT/PTCT not heated if INSL in the way;
boiling point varies with pressure.
2011-02-02 17:49:56 +00:00
Cracker64
4b5337c03a finally fixed visual studio compiling, yay 2011-01-28 21:57:20 -05:00
Cracker64
01304db892 fix some visual studio issues. 2011-01-28 20:53:02 -05:00
Cracker64
964ecf2ecf Other things overwritten, and changes from jacksonmj 2011-01-28 20:13:29 -05:00
Cracker64
bcea95c5ca update to latest 2011-01-28 18:54:50 -05:00