jacksonmj
a054a784af
Fix soap stamp crashes, and fix stkm head colour
2011-06-25 15:50:07 +01:00
ief015
a12f0b40d1
Merge pull request #32 from ief015/master
...
added lua functions to aid with iterations through all particles
2011-06-25 01:37:32 -07: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
87513503ba
Version increment
2011-06-15 18:35:56 +01:00
Simon
cf35ccb8fd
Include dir change for OS X
2011-06-15 18:33:33 +01:00
Simon Robertshaw
c1f4f0481c
Fix save_filename crash
2011-06-15 13:47:21 +01:00
Simon Robertshaw
71922e2763
Version increment
2011-06-15 13:15:03 +01:00
Simon Robertshaw
4c6f3ca152
Revert "Revert "Version increment""
...
This reverts commit bcb7852762
.
2011-06-15 13:13:50 +01:00
Simon Robertshaw
8f97f6c5c7
Revert "Heat simulation improvement."
...
This reverts commit 5e43bb0510
.
2011-06-15 13:11:29 +01:00
Simon Robertshaw
5a8c52aeee
Revert "Changed thunder and plasma to work as before."
...
This reverts commit fe9fd28b70
.
2011-06-15 13:11:03 +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
bcb7852762
Revert "Version increment"
...
This reverts commit af73fd17b2
.
2011-06-15 13:09:26 +01:00
Simon Robertshaw
af73fd17b2
Version increment
2011-06-14 20:46:49 +01:00
Simon Robertshaw
aac8898f42
Prevent photons stealing heat energy
2011-06-14 18:41:01 +01:00
savask
fe9fd28b70
Changed thunder and plasma to work as before.
2011-06-14 17:13:33 +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
7edf6378da
Missing files from previous commit
2011-06-12 22:59:36 +01:00
Simon Robertshaw
61ce0f4376
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2011-06-12 22:57:41 +01:00
Simon Robertshaw
8713587e70
Local save loading (WIP)
2011-06-12 22:56:38 +01:00
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