Commit Graph

3934 Commits

Author SHA1 Message Date
mniip
21532821b7 fix crash when creating a fighter with an explicit particle ID 2014-05-14 06:41:18 +04:00
jacob1
20a7d0528b also fix SOAP changing .ctype of particles it thinks it's attached to 2014-05-12 11:27:39 -04:00
mniip
ecf1f0e391 backport lua code highlighting from my console 2014-05-06 01:16:55 +04:00
jacob1
8dad0483cf make sure no effect FILT mode doesn't affect BRAY 2014-04-29 20:43:16 -04:00
jacob1
462bb78f3d fix nx/ny again (values were reversed) 2014-04-26 14:39:40 -04:00
jacob1
df1aac8180 still allow NBLE to ionize at high temperatures (probably won't interfere with fusion) 2014-04-26 14:35:01 -04:00
jacksonmj
4dae152b6a Comments for some of the liquid movement code 2014-04-26 17:55:57 +01:00
jacob1
097e4968e0 fix invisible PHOT bug when going through GLAS sometimes 2014-04-26 12:40:29 -04:00
jacob1
270a3837bc PROT goes through portals 2014-04-25 21:08:09 -04:00
jacob1
d87e21c9d4 fix bug where liquids don't stabalize in radial gravity
nx and ny are declared at the start of update_particles_i, but not reinitialized before the liquid attempts to move, so it will always try to move up and left first, and probably succeed.
2014-04-25 20:45:42 -04:00
jacob1
49996a8c02 Auto-focus more textboxes 2014-04-17 12:03:24 -04:00
jacob1
68e4c638bf fix SOAP changing the .tmp/.tmp2 of particles it thinks it's attached to 2014-04-17 12:03:24 -04:00
jacksonmj
4b52209933 Fix copying multiple CFLAGS/CCFLAGS from environment in Sconscript 2014-04-15 21:28:19 +01:00
jacksonmj
ba850ade83 Add --32bit flag for scons.
-m32 is no longer specified by default, fixes #214
2014-04-14 23:02:39 +01:00
jacksonmj
6b1b03a17e scons: allow copying of CCFLAGS (for C++ files) from the environment 2014-04-14 22:55:29 +01:00
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