Commit Graph

4097 Commits

Author SHA1 Message Date
jacob1
7603da0242 fix tpt.set_property again 2014-03-09 15:31:32 -04:00
jacksonmj
e5941950ba Make FILT tmp=6 ("no effect" mode) work with CRAY
(Other FILT modes still don't work with CRAY, only tmp=0 or 6)
2014-03-09 09:41:43 +00:00
jacksonmj
9531de49ec Vertical flip when pasting stamps (Ctrl+shift+r) 2014-03-08 13:41:45 +00:00
jacksonmj
55fbf13157 Display numeric value of ctype instead of element name translation for elements which use it as wavelengths 2014-03-08 13:34:03 +00:00
jacob1
21854df9f3 lots of random fixes to the legacy lua api 2014-03-04 20:44:25 -05:00
jacksonmj
a5ea6555f1 Fix more bugs in the Lua API
Crash with sim.partKill(large number).
sim.neighbours() looking for particles in completely the wrong place.
Impossible to tell from sim.partID whether a particle exists, since it returns 0 both if there is no particle there and if particle 0 is there.
2014-03-04 23:34:51 +00:00
mniip
4152bb560e Do not use loadstring to load autorun (who even wrote this?). Also print a message in case of successful autorun load 2014-03-04 15:26:35 +04:00
jacksonmj
64e16025d8 Fix bug in Lua API sim.neighbours() causing some particles to be missed out
Was excluding all particles with the same x or y as the centre instead of just the centre particle.
2014-03-03 22:42:21 +00:00
jacksonmj
224b25fae5 Fix Lua API sim.partNeighbours with 4 arguments 2014-03-03 20:09:35 +00:00
jacob1
4158581b21 fix error logging in lua key events 2014-03-03 13:46:46 -05:00
mniip
43bff37279 fix numpad behavior: movement keys are no longer triggered with numlock on 2014-02-27 20:39:16 +04:00
jacob1
d59253cfc7 fix sim.deleteStamp and sim.loadStamp (couldn't load/delete stamps with names like 530e908700) 2014-02-26 20:29:15 -05:00
mniip
55284e6313 Fix most of clipboard-related memory leaks and potential crashes; Fixes jacob#23 2014-02-25 18:44:44 +04:00
Simon Robertshaw
8bc03dbe1c Update version number (89.1.278 -> 89.2.281) 2014-02-24 22:11:11 +00:00
mniip
96c889bcab fix gettime compilation on OS X 2014-02-25 01:12:26 +04:00
nucular
8561976121 Fix (hopefully) most of the R/W errors inside the new Lua API 2014-02-22 10:13:09 -05:00
jacob1
71f90b5d59 new function: sim.deleteStamp
mostly for use in tpt multiplayer
2014-02-20 16:02:32 -05:00
jacob1
13766bf6db fix weird STKM bug at high life 2014-02-15 10:24:25 -05:00
mniip
a105ed9df8 Use system clock instead of used CPU time. Fixes key repeat and some
other stuff. close #206
2014-02-13 00:26:34 +04:00
jacob1
d38b7b9b11 pressing tab switches between textboxes in the deco editor 2014-02-06 12:15:48 -05:00
mniip
1266307070 stop neut from dragging particles inside energy walls, fixes jacob#18 2014-01-30 22:55:55 +04:00
mniip
250b522221 map numpad keys to movement keys where applicable 2014-01-30 22:22:04 +04:00
jacob1
5b886fc51e boxmein: Added clipboard support to Lua 2014-01-29 17:57:18 -05:00
jacksonmj
cf503a29f4 Bounds check before interpolation to find walls 2014-01-26 10:18:01 +00:00
jacksonmj
09e7418aae Prevent air going through walls in cases of extreme velocity 2014-01-26 01:27:46 +00:00
jacksonmj
216b336eaf Use new src/simulation/simtools path in SConscript 2014-01-26 01:27:13 +00:00
mniip
09beafed3a Fix ParseExceptions falling through;
Apparently since when the RequestBroker was added, the logic has been changed,
and the exception no longer comes through PreviewController's try{} block.
2014-01-25 15:39:44 +04:00
jacob1
f66679e551 a little reorganization (maybe more later) 2014-01-20 13:52:53 -05:00
jacob1
c5989605a5 fix compiling in visual studio 2014-01-20 11:43:12 -05:00
jacob1
add45b4e60 fix crash with gfx.drawText() 2014-01-20 11:33:33 -05:00
jacob1
0409d93789 signs can be moved onto the zoom window, fixes #89 2014-01-17 23:27:57 -05:00
jacob1
4e9a5bdaec make sure comment box height and cursor position don't go too far when it's resizing, fixes #82 2014-01-17 21:49:55 -05:00
jacob1
1f1062408c element palette converts elements stored in .ctype and .tmp when needed, fixes #105 2014-01-17 14:33:22 -05:00
jacob1
c15ab822a9 some config.h cleanup, fixes #151 2014-01-17 13:05:53 -05:00
jacob1
02aba363c3 slight PROP description change, don't save invalid PROP preferences 2014-01-16 11:09:55 -05:00
mniip
69c9be0e99 implement generic property value as a union instead of void* 2014-01-16 11:00:47 -05:00
mniip
8f2fbcd9e1 brand new prop tool. draws like any other tool 2014-01-16 11:00:47 -05:00
jacob1
a32a66c9ab only include strings.h on mac (fix visual studio compiling) 2014-01-13 21:27:59 -05:00
jacob1
d901b2f8ef Fix crash with smudge tool around the edges 2014-01-09 12:55:39 -05:00
jacob1
aea8402383 fix holes in wall lines with a small radius (again) 2014-01-08 14:32:59 -05:00
jacob1
0d51d6bd07 manually fix bug where sometimes the top / bottom pixel of circle brushes would disappear 2014-01-07 20:46:42 -05:00
jacob1
3329a6bd79 fix element buttons not changing color when using tpt.el.color, remove 4 char restriction on element names with tpt.el.name 2014-01-07 16:32:15 -05:00
jacob1
eaf0daec43 insulators block ambient heat (when there are a lot nearby) 2014-01-07 16:32:15 -05:00
jacob1
dcef255f47 fix flood fill. This was a mistype, and the original check I had doesn't work all the time anyway (so just remove it) 2014-01-07 16:32:15 -05:00
jacob1
f7cd7691e8 fix bug where STKM can be killed from HSWC when turned off 2014-01-07 16:32:15 -05:00
jacob1
355cd37ffe Redo sandcolor to use alpha, so that when powders transition they don't stay the same color
Also make color change less sharply over time
2014-01-07 16:32:15 -05:00
jacob1
41cc0a398a better way to prevent PROT in fusion 2014-01-07 16:32:15 -05:00
jacksonmj
4b28cdb6ba Prevent FILT being rendered as black if the only wavelengths present are invalid 2014-01-03 12:21:15 +00:00
jacksonmj
7b0fdaa204 Use >= for high temperature transition comparisons and < for low temperature transitions
Fixes http://tpt.io/~1419883
2014-01-03 11:42:59 +00:00
mniip
fdfaa3a29b add defines for window resolution
--amend
2013-12-29 20:12:50 +04:00