Commit Graph

3919 Commits

Author SHA1 Message Date
jacob1
75034de5a4 fix crash when SOAP gets changed into another element, fixes #186 2014-04-12 15:52:12 -04:00
jacob1
35d97eb14d fix bug where you couldn't place stamps on top of special signs 2014-04-11 23:17:35 -04:00
jacob1
181f0cfe5b Add in life values that use EXOT's grey coloring scheme, but don't copy things
At the request of Catelite :P
2014-04-08 23:45:05 -04:00
jacksonmj
afacecffd9 Prevent clearrect wrapping round at the edge of the screen 2014-04-05 18:20:30 +01:00
jacksonmj
11997cf3ad Prevent red BRAY from affecting FILT colour via DTEC 2014-03-27 19:36:51 +00:00
jacob1
4e478cfe20 fix bug where InstantOpen never got reset after opening saves in the save browser 2014-03-27 12:21:16 -04:00
Rafael Ristovski
0199648ba6 Fix python3 compatibility 2014-03-27 12:19:17 -04:00
jacob1
a71cb3b254 fix / change 2, 3, and 4 from http://tpt.io/.265916
mostly makes BRAY act more like PHOT in some cases
2014-03-26 22:07:04 -04:00
jacksonmj
20cbcf8ad9 Velocity limit, to prevent NaNs 2014-03-27 00:35:20 +00:00
jacob1
2e6b4242d6 don't resize save buttons in the online save browser, fix selection bug in console 2014-03-25 14:44:58 -04:00
Simon Robertshaw
50bc126e6d Update version number (89.2.281 -> 89.2.283) 2014-03-16 12:18:38 +00:00
Simon Robertshaw
8e7c30700e Return blank string instead of undefined 2014-03-16 11:44:36 +00:00
Simon Robertshaw
197a70c2e6 Fix Clipboard for renderer build, ensure MacOS and Windows clipboard funcs return std::string 2014-03-16 11:35:53 +00:00
jacob1
5b67c8ce68 elem.property and elem.element can read Identifiers 2014-03-15 14:20:40 -04:00
jacob1
258aaedb0a add sim.reloadSave, tpt.selectedreplace 2014-03-13 14:44:39 -04:00
jacksonmj
c6d6011337 An ugly fix for numpad, since it seems event.key.keysym.mod isn't entirely reliable for some unknown reason
Partial revert of 7ce9907f82
2014-03-12 15:05:54 +00:00
jacksonmj
1ca63b3813 Add more key definitions 2014-03-12 15:04:16 +00:00
jacob1
92891f364b fix tooltip commit 2014-03-12 00:03:32 -04:00
jacksonmj
a1515b3d5e Shift key for numpad 2014-03-12 00:54:52 +00:00
jacob1
7dc5139b66 toolTips on search / save simulation buttons change when ctrl is held 2014-03-11 14:04:05 -04:00
jacob1
7ce9907f82 fix textbox key repeat issue, fix numpad issue (in two ways) 2014-03-11 12:53:42 -04:00
jacob1
3f65b47a5e small change to sim.partProperty 2014-03-10 17:20:50 -04:00
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