Commit Graph

1124 Commits

Author SHA1 Message Date
Simon
02bb96a6fb Version increment 2011-06-11 18:20:50 +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
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
33b3355192 A-Heat toggle for Simulation options 2011-06-09 23:22:23 +01:00
Simon Robertshaw
1f7106acb1 Gravity zoning 2011-06-09 22:35:00 +01:00
Simon Robertshaw
1effdb052a Image for server saving 2011-06-09 17:53:41 +01:00
jacksonmj
74f613962e Fix typo in previous commit 2011-06-09 23:01:20 +08:00
jacksonmj
7c4135be6b Fix resample_img using array indices larger than src image size
E.g. resampling to 204x128 from 153x96
Src is 14688 pixels, calculation for pixel location 203,127 accesses
array indices 14688, 14687, 14841, 14840
2011-06-09 23:01:19 +08:00
Simon Robertshaw
09a3670d64 Clean up signs when reading 2011-06-08 18:09:03 +01:00
Simon Robertshaw
3ea25c83b7 message_box and input for Lua API, also autorun.lua 2011-06-08 16:30:36 +01:00
Simon Robertshaw
e94ed7bc11 Version increment 2011-06-08 13:47:41 +01:00
Simon Robertshaw
345de25641 Fix crash where source and destination scale where the same 2011-06-08 13:45:21 +01:00
Simon Robertshaw
b5c9d86fbe Less blurry thumbnail scaling 2011-06-08 13:30:39 +01:00
jacksonmj
b5856bfa47 console_error now optional for console_parse_type
Prevents lua step functions from clearing console_error in calls to
console_parse_type, hence preventing luacon_eval errors from being shown
2011-06-08 12:48:44 +01:00
jacksonmj
b3e0085606 Make step function registration work properly 2011-06-08 12:48:28 +01:00
jacksonmj
1144e3e2d7 Create mercury with tmp value 2011-06-08 12:48:18 +01:00
jacksonmj
22b3ae9275 Fix tpt.get_name and limit tpt.log message length 2011-06-08 12:47:46 +01:00
jacksonmj
e182e7422c Loads of error messages for lua, and hopefully fix lua stack overflow
Also fix game exiting when an error occurs in a step function.

Returning -1 seems to prevent lua from restoring the stack to the
state it was in before the C function call - see bottom of
luaD_precall() in lua source (ldo.c)
2011-06-08 12:47:19 +01:00
jacksonmj
43a4544a13 Fix favourites remove button 2011-06-08 12:47:09 +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
Simon Robertshaw
1b5ff237c0 Version increment 2011-06-04 19:19:34 +01:00
savask
54aa148325 Bubbles now don't pop because of gases. 2011-06-04 19:14:26 +01:00
savask
f5af89fb43 Added detach to powder.h. 2011-06-04 19:14:15 +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
98115038c7 Version Increment 2011-06-04 17:44:24 +01:00
Simon Robertshaw
fcb67622ff Added the ability to use legacy commands (prepend with a \!) 2011-06-04 14:43:18 +01:00
Simon Robertshaw
97cc3488eb Mercury 2011-06-04 14:05:22 +01:00
Simon Robertshaw
106dc6e097 Version increment 2011-06-04 12:49:40 +01:00
Simon Robertshaw
a4847e4d9e Version increment 2011-06-04 12:41:12 +01:00
Simon Robertshaw
8a5e566b77 Stairstepping for downscaling 2011-06-04 12:37:24 +01:00
Simon Robertshaw
b850abe347 Fix setting of temp, x and y particle properties 2011-06-04 12:10:14 +01:00
Simon Robertshaw
af5e2b2488 Version increment 2011-06-04 00:00:07 +01:00
Simon Robertshaw
41d8e316cd Use bilinear interpolation for everything 2011-06-03 23:54:08 +01:00
Simon Robertshaw
45e91c15b2 Bilinear interpolation for resampling 2011-06-03 23:36:26 +01:00
Simon Robertshaw
417a57b57a Fix semi-large thumbnails 2011-06-03 22:35:57 +01:00
Simon Robertshaw
b32683e99c Favourites interface improvements 2011-06-03 18:54:25 +01:00
Simon Robertshaw
623723cd60 Version increment 2011-06-03 16:53:07 +01:00
Simon Robertshaw
fc426b2404 Unregister function (not implemented) 2011-06-03 14:21:46 +01:00
Simon Robertshaw
3f072d9bc3 Better step function registration 2011-06-03 13:58:48 +01:00
Cracker64
e3ef7f05f0 some more deco editor changes. Right click deletes decoration again. 2011-06-02 20:24:02 +01:00
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
744854ef36 Speed up update_PIPE
By making it call rand() once instead of 6 times.
2011-06-02 20:19:28 +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
289f4e4e4e Change console info 2011-06-02 20:16:43 +01:00
Simon Robertshaw
a7330b9b26 tpt.set_property implementation 2011-06-02 18:49:31 +01:00
Simon Robertshaw
c003fee63e Ambient heat (disabled by default) 2011-06-01 20:18:19 +01:00
Simon Robertshaw
3d600c6955 Add gravity field manipulation to Lua api, move gravity processing to after the particle update (Means a delay of 1 frame, but we get the ability to manipulate the field with Lua) 2011-06-01 12:16:33 +01:00