Commit Graph

24 Commits

Author SHA1 Message Date
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
jacksonmj
ccb88b6b3b Prevent ambient heat going through walls
Still doesn't conserve energy, it might disappear when blown towards a wall,
but it will no longer go through the wall.
2012-02-05 22:45:30 +08:00
jacksonmj
934d1da66e Move Newtonian gravity into a new file 2011-12-18 22:04:47 +08:00
jacksonmj
788b0cd04c Calculate Newtonian gravity using fast Fourier transforms
About 16% slower for one cell changing, same speed for 6 cells changing,
and several hundred times faster for whole screen changing.
2011-08-06 18:13:22 +08:00
jacksonmj
aeaaa1c4da update_air now runs 10% faster 2011-07-24 20:10:43 +08:00
Simon Robertshaw
68404608f6 Lensing effect for gravity, adds 3 new gravity maps (full resolution, linear interpolation for faux accuracy), old ones should be removed in time. 2011-07-18 23:58:08 +01:00
Simon Robertshaw
6c3093cabf Hot air rises [Experimental] 2011-06-25 17:40:35 +01:00
jacksonmj
f417d7a4df Include ambient heat in undo 2011-06-25 15:50:59 +01:00
Simon Robertshaw
7ae52660f5 Heat advection, currently doesn't obey the whole conservation of energy law 2011-06-10 17:34:47 +01:00
Simon Robertshaw
1f7106acb1 Gravity zoning 2011-06-09 22:35:00 +01:00
Simon Robertshaw
c003fee63e Ambient heat (disabled by default) 2011-06-01 20:18:19 +01:00
Simon Robertshaw
75d5cc3d04 Fix for non-diff mode 2011-04-26 16:18:43 +01:00
Simon Robertshaw
061d6ba7af Gravity: only calculate the difference 2011-04-26 16:15:23 +01:00
Simon Robertshaw
aef09292ee Allow negative gravity 2011-04-24 20:18:00 +01:00
Simon Robertshaw
3acf9aae2a Asynchronous thread for gravity processing 2011-04-24 17:49:33 +01:00
Simon Robertshaw
13ff21bb22 Gravitaaaay (Needs tweeking for performance) 2011-04-22 17:06:09 +01:00
Simon
767d73c5fc astyle 2011-04-08 11:09:42 +01:00
Simon
b7a004986f A cracker commit with some nice comments 2011-03-30 18:57:49 +01:00
Cate
d5fe05d760 "Added Air modes using Gravitymode code" 2011-02-09 23:52:28 +08: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
Cracker64
bcea95c5ca update to latest 2011-01-28 18:54:50 -05:00
Philip
a38dddaf5a Made wall code use #defines. small fix for adjustabl brush. 2010-11-19 22:03:52 -05:00
Philip
e4f9f77de9 Updating 2010-10-04 00:29:37 -04:00