Commit Graph

4074 Commits

Author SHA1 Message Date
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
jacob1
c4562ec73e check to make sure flood fill doesn't crash when pmap is errored (?) 2013-12-29 11:04:28 -05:00
mniip
3e3fe1af73 fix VIRS's part_change_type abuse, fix http://tpt.io/.260472 2013-12-25 16:07:18 +04:00
jacksonmj
7fdc4dc83b Mismatched new[]/delete in WebRequest::Process() 2013-12-23 19:16:04 +00:00
jacksonmj
4459bf5363 Also, mismatched new[]/delete in APIRequest::Process() 2013-12-23 17:21:14 +00:00
jacksonmj
aa74deb6d5 Mismatched new[]/delete for serialised GameSave data 2013-12-23 17:17:40 +00:00
mniip
ee542bcafc bluescreen on lua panics 2013-12-23 17:59:23 +04:00
mniip
4eab5c4ce3 invalidate gravity map if walls changed, fixes http://tpt.io/~1223463 2013-12-22 11:41:42 +04:00
mniip
bc84326ca2 Got rid of debug fps counter, just added deltatime into usual fps counter 2013-12-21 05:26:54 +04:00
jacob1
2c7a527030 Revert ef6cc9c, due to some advanced electronics breaking
TODO: add a flag to some electronics so that we can fix all the bugs at once / add new things without breaking things
2013-12-18 23:23:07 +04:00
jacob1
78c89dc62b fix crash with LIFE, fix compiling with lua (again) 2013-12-18 23:23:04 +04:00
mniip
f1cbff5d2e Merge branch 'master' into develop 2013-12-18 23:22:39 +04:00
jacob1
7e6a51cdfa Hotfix: fix compiling
Also an attempt to fix my git problems
2013-12-18 13:56:27 -05:00
mniip
c3cf0638d6 This ! shouldn't be there 2013-12-16 00:17:40 +04:00
mniip
9db1358ca3 In element search promote exact and starting position matches (finally possible to access VAC via element search) 2013-12-15 22:57:35 +04:00
jacksonmj
035dfa2e04 Fix some compiler warnings 2013-12-14 18:47:28 +00:00
mniip
30c80220b2 fix PIXR() macro: if MSB of the color is nonzero, it used to return a >255 value, which, say, in Renderer.cpp would get clamped to 255, no matter what the actual red byte is 2013-12-14 22:25:11 +04:00
mniip
5fc07b4c3c fix PHOT/BIZ* transparency 2013-12-12 19:54:52 -05:00
mniip
12d98dada1 oooo wait, rectangle snap too 2013-12-12 16:23:58 -05:00
jacob1
adb46f9590 Merge pull request #199 from mniip/snap
fix snapping
2013-12-12 12:57:53 -08:00
mniip
0fb08c5e97 fix snapping
why was trigonometry used in such a simple function
2013-12-13 00:55:20 +04:00
jacob1
f527782405 Revert ef6cc9c418, due to some advanced electronics breaking
TODO: add a flag to some electronics so that we can fix all the bugs at once / add new things without breaking things
2013-12-10 22:38:23 -05:00
jacob1
406e71e1ae Merge pull request #198 from mniip/scs
fix compiling with --lua-dir on linux
2013-12-09 07:09:51 -08:00
mniip
740ec147cd feeeeeeeeeeeex 2013-12-09 04:51:15 +04:00