Commit Graph

763 Commits

Author SHA1 Message Date
jacksonmj
9d325dbb7c Fix walls for SING explosions 2011-06-25 15:50:41 +01:00
jacksonmj
fb79865186 Fix gravmap build up during repeated frame stepping 2011-06-25 15:50:32 +01:00
jacksonmj
ad99287f8a Pixel format conversion 2011-06-25 15:50:21 +01:00
jacksonmj
dbf6dcd35b Decor brush shape, and fix big thumb not changing when page changed 2011-06-25 15:50:14 +01:00
jacksonmj
a054a784af Fix soap stamp crashes, and fix stkm head colour 2011-06-25 15:50:07 +01:00
ief015
be79233101 added functions to iterate through all particles
+ tpt.start_getPartIndex() --starts the iteration
+ bool tpt.next_getPartIndex() --increases the iteration, returns true if there are more particles to iterate through
+ int tpt.getPartIndex() --get the current iteration value
2011-06-25 01:32:54 -04:00
Simon Robertshaw
c1f4f0481c Fix save_filename crash 2011-06-15 13:47:21 +01:00
Simon Robertshaw
8f97f6c5c7 Revert "Heat simulation improvement."
This reverts commit 5e43bb0510.
2011-06-15 13:11:29 +01:00
Simon Robertshaw
daa67b13bd Revert "Prevent photons stealing heat energy"
This reverts commit aac8898f42.
2011-06-15 13:10:45 +01:00
Simon Robertshaw
aac8898f42 Prevent photons stealing heat energy 2011-06-14 18:41:01 +01:00
savask
5e43bb0510 Heat simulation improvement. 2011-06-14 17:13:25 +01:00
Simon Robertshaw
304a2fa819 Revert "Better heat treatment."
This reverts commit 37df2abe90731f2da814a4463f406b0afe9308f9.
2011-06-14 17:11:24 +01:00
Simon Robertshaw
4fcaadd565 Make aheat in HEAT view less intense 2011-06-14 17:09:36 +01:00
savask
0fbc55dfe8 Better heat treatment. 2011-06-14 16:50:04 +01:00
Simon Robertshaw
464d36d910 Fix small visual issues and crash when folder doesn't exist 2011-06-14 16:23:11 +01:00
Simon Robertshaw
307fff2e3d Fix sim-options icon 2011-06-14 15:15:12 +01:00
Simon Robertshaw
2dd04b917d Add access to the local saving features 2011-06-14 15:13:27 +01:00
Simon Robertshaw
14abcf5fc2 Local saving UI 2011-06-13 23:24:20 +01:00
Simon Robertshaw
e10fbad812 Local save loading - Fix screen buffer issues and scrolling 2011-06-13 17:10:41 +01:00
Simon Robertshaw
8713587e70 Local save loading (WIP) 2011-06-12 22:56:38 +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
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
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
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
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
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