Commit Graph

4424 Commits

Author SHA1 Message Date
jacob1
f1ea32516d jacksonmj: Stop using Element.State 618c4b5ce5cd 2015-12-18 01:14:31 -05:00
jacob1
bfc19d1fd7 revert pull request #258 (e308dd73bb)
Causes some issues with particle movement which was breaking some saves, and the previous commit still fixes these elements to move through gas wall instead of powder wall
2015-12-18 00:56:42 -05:00
jacob1
3226ce0ac2 jacksonmj: Always use Properties instead of Falldown to decide whether particles can pass through walls e52a62354473 2015-12-18 00:51:04 -05:00
jacob1
d2807cb28f Change AMTR and MORT to TYPE_GAS, and THDR to TYPE_ENERGY 2015-12-18 00:48:07 -05:00
jacob1
76aeef24a4 ctrl+a support in Labels 2015-12-18 00:33:40 -05:00
jacob1
762093371b fix crash from previous commit 2015-12-16 14:06:44 -05:00
jacob1
8d4e333986 Overwriting a local save now updates the reload button save, add message to confirm that local save was successful, fixes #274 2015-12-16 14:02:03 -05:00
jacob1
16e3532980 fix 'large screen' description 2015-12-15 02:27:55 -05:00
jacob1
f63c3072a4 fix crash when doing simulation = nil in the console 2015-12-11 12:05:00 -05:00
jacob1
6930d830bf shouldn't return an error in whatever case this is (reverted from commit ec99fcdf5d) 2015-12-02 11:25:24 -05:00
jacob1
ec99fcdf5d shouldn't return an error in whatever case this is 2015-12-01 01:15:30 -05:00
jacob1
5afb95dcf1 change shift+wind tool to not always act like alt was pressed 2015-11-30 19:19:50 -05:00
jacob1
9cab6959b6 fix flood fill delete on normal particles also deleting photons 2015-11-30 14:20:37 -05:00
jacob1
998f5a4cad fix infinite loop error message sometimes always coming up on startup 2015-11-29 01:59:36 -05:00
jacob1
5be9773eca fix another crash with invalid SOAP (soap was detached before SOAP update function ran) 2015-11-22 17:53:22 -05:00
jacob1
7a78b91f4f reformat ARAY.cpp because coding style was really hard to read 2015-11-22 00:12:10 -05:00
jacksonmj
d1dcae5574 Only show wavelengths in HUD if there is at least one valid wavelength 2015-10-29 07:15:02 +00:00
jacob1
9a9f80fefa don't add extra newlines when downloading scripts via tpt.getscript 2015-10-23 00:18:41 -04:00
jacob1
dc679d7eb0 Add more elements to .tmp2 list, use local varibles instead of constantly accessing sample.particle.type 2015-10-22 21:39:12 -04:00
jacob1
46dc5da455 fullscreen only blocked on OS X when not using SDL 1.2.15 (untested) 2015-10-22 20:14:56 -04:00
jacksonmj
d0cf82de03 PSTN: compatibility with old saves with non-PSTN particles layered on top of the starting PSTN particle
P.S. don't use layering, this commit is exactly why it's bad. Layering makes adding new functionality without changing existing behaviour much more difficult, and makes the code more complicated than necessary.
2015-10-22 22:39:08 +01:00
jacob1
7f50529f4b Merge pull request #271 from jBot-42/master
Show Tmp2 in the HUD for elements that use it
2015-10-18 21:43:22 -04:00
jBot-42
6ee0bc4cda remove stor and pipe 2015-10-18 18:36:22 -07:00
jBot-42
cf615c323f Show Tmp2 in HUD for elements that use it 2015-10-17 18:18:19 -07:00
jacob1
c0cdb62af1 Merge pull request #270 from SopaXorzTaker/patch-1
Also gitignore screenshot files
2015-10-17 10:32:40 -04:00
SopaXorzTaker
0514240629 Also gitignore screenshot files 2015-10-17 15:39:45 +03:00
jacob1
7fcc056cb6 fix really fast particles moving through EHOLE 2015-10-15 00:26:57 -04:00
jacksonmj
bb455ea893 Add more breaks.
Fixes tmp values being set to 0 for CRAY.
2015-10-13 10:23:19 +01:00
jacob1
31b1e6aace only require version 91.0, will add note on snapshot page about possibly breaking 2015-10-12 21:52:26 -04:00
jacksonmj
d0445258c5 CONV tmp value can now be used to restrict which elements get converted. Requires version bump to 92. 2015-10-13 01:33:19 +01:00
jacksonmj
d88c18adaf Fix collision detection for liquids on top of streamlines 2015-10-13 00:49:42 +01:00
jacob1
59377e49e5 fix 'Prev' button placement 2015-10-11 02:05:49 -04:00
jacob1
f435cf3881 fix edge mode not loading properly in saves, options menu uses edge mode from Simulation and not GameModel 2015-10-10 18:10:17 -04:00
jacob1
a8c141c144 show more specific error when catching json exceptions 2015-10-10 17:39:47 -04:00
jacob1
da53e7de78 fix error parsing json with \u 2015-10-10 17:37:36 -04:00
jacob1
3cc27a7c9b Reupload -> Re-upload (cracker64 complaint) 2015-10-10 01:22:39 -04:00
jacob1
66863b7578 update last tool and drawMode when clicking too, fixes some issues 2015-10-10 01:17:19 -04:00
jacob1
d4e3196070 fix wall brush displaying incorrectly when drawing boxes 2015-10-10 00:53:21 -04:00
jacob1
bff6dedd48 show cursor when drawing even when mouse is out of bounds 2015-10-10 00:34:27 -04:00
jacob1
286dd02dad Ignore "Unspecified Error" when searching for saves 2015-10-10 00:32:09 -04:00
jacob1
bc112b54df initialize GoL variables, add sim.gspeed function 2015-10-10 00:03:04 -04:00
cracker64
9a65d60c6e Now with 100% less =( .
Hot FWRK less laggy.
Define more constant floats.
Pump will now work at x=4,y=4.
Revert a DEUT change
2015-10-08 12:48:56 -04:00
cracker64
3263c9437a Jacob's laziness made me do this again.
CELL checks +-1 aren't required.
Moo
2015-10-08 01:48:44 -04:00
jacob1
63843c2bd7 add new minimumVersion setting in saves, can restrict the smallest version of TPT that is able to open the save. Uses major/minor version for this
Also add RESTRICTVERSION macro to help when adding restrictions later
Also show errors when opening broken stamps now too
2015-10-02 21:25:15 -04:00
jacksonmj
1bd861719f Turn "save from newer version" back into an error, until an improved method of checking compatibility can be devised 2015-10-02 21:10:06 +01:00
jacob1
cd3d54d3bd use a ScrollPanel in ConfirmPrompt (supports longer changelogs) 2015-10-01 23:32:17 -04:00
jacob1
91cf20e521 prevent tool buttons from being longer than 7 characters
for i=1,250 do elements.property(i,"Name",(("ALL BASE BELONG TO US "):rep(20)..(" "):rep(120)..string.char(10)):rep(70)) end

Could prevent it from lua, but too much work for no reason. Still allows SPWN2 button to work.
2015-10-01 22:55:32 -04:00
jacob1
55d20f1bb2 Adding a comment updates the comment total / number of pages 2015-10-01 22:26:23 -04:00
jacob1
b184c78cff "Save from a newer version" is now just a warning (OPS format never changes)
Also, actual save errors now prevent you from clicking "Open" (which allowed you to vote and do other stuff even though the save was never loaded)
2015-10-01 21:35:40 -04:00
jacob1
9c44fc641c fix crash with sim.floodWalls(1,1,4,0) 2015-09-29 00:09:41 -04:00