Commit Graph

1512 Commits

Author SHA1 Message Date
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
Simon Robertshaw
2c8c4bc567 Pass mouse coordinates (mousex, mousey, mouseb, mousebq) and Lua click handling 2011-05-31 18:38:13 +01:00
Simon Robertshaw
2327d9678d implement create and delete functions 2011-05-31 17:07:38 +01:00
Simon Robertshaw
03a048afe5 Add calm blue text colour, buffer overflow fix for richtext 2011-05-31 00:33:47 +01:00
Simon Robertshaw
7a875dd846 Fix buffer overflow with huge error message 2011-05-31 00:05:01 +01:00
Simon Robertshaw
b0659e3dd1 Step code registration, just an example at the moment 2011-05-30 20:11:34 +01:00
Simon Robertshaw
d5f1a4cfd0 Many methods for Lua console 2011-05-30 19:44:17 +01:00
Simon Robertshaw
cad644824d Defaults for tpt.drawtext method 2011-05-30 18:25:02 +01:00
Simon Robertshaw
d8051926c8 More descriptive error messages for lua console 2011-05-30 18:15:56 +01:00
Simon Robertshaw
65252aa002 drawtext for Lua 2011-05-30 16:45:39 +01:00
Simon Robertshaw
79a27c2c90 Basics for Lua 2011-05-30 16:22:39 +01:00
Simon Robertshaw
5dcc3dbb44 Rich text syntax
TODO: Link hovering
2011-05-29 17:00:31 +01:00
Simon Robertshaw
e35440fe59 MOTD on search page 2011-05-29 14:30:22 +01:00