Commit Graph

580 Commits

Author SHA1 Message Date
jacob1
081c58990e fix floodfill and prop floodfil with photons 2013-07-10 17:59:16 -04:00
jacob1
3203e597b9 fix piston bugs, fix crashes, don't use bluescreens when compiled with debug mode in visual studio 2013-07-10 16:59:10 -04:00
Saveliy Skresanov
6e7a5488b5 Fixed the bug with SPWN not creating when redoing (Ctrl-Z). 2013-07-09 23:39:48 +07:00
Saveliy Skresanov
ac66ce3b3c Fix the bug where stickmen were shooting LIGH only in one direction. 2013-07-07 11:52:08 +07:00
jacob1
e8b0e31656 Merge pull request #143 from mniip/foo
fix PSTN coloring
2013-07-02 13:49:19 -07:00
jacob1
519d220101 save more settings in powder.pref like ngrav_enable, aheat_enable, pretty powders, and debug hud. Also save ambient heat in saves, and add a warning in the intro text in betas that you can't save publically 2013-07-02 15:09:00 -04:00
mniip
b8c218c89b shouldn't use PIXR/G/B/PACK there, would break if using a non-standard bit scheme 2013-06-28 15:02:50 +04:00
jacob1
c1320d2007 fix sim.loadStamp return value, remove VINE_MODE 2013-06-27 12:10:55 -04:00
jacob1
776b2f6607 fix version tagging in saves 2013-06-24 00:02:00 -04:00
jacob1
76ce2de1ce change some wall descriptions a little 2013-06-23 20:40:19 -04:00
jacob1
43540eb7e4 Add back replace mode and specific delete *
* only usable by Lua
2013-06-22 22:48:51 -04:00
jacob1
625766028d fix NEUT not setting off DEUT directly under it (save 1236560) 2013-06-22 12:39:44 -04:00
jacob1
66f250b29d fix PTCT melting temperature, seems to have been broken in 525f87fd6b , fixes #108 2013-06-20 23:01:41 -04:00
jacob1
f0f2c43277 CFLM is a gas ... not a liquid. Fixes #116 2013-06-20 22:42:21 -04:00
jacob1
3aac957e50 HUD displays the correct name of LIFE particles in the HUD, show mouse position in HUD on the edges of the screen 2013-06-20 20:29:20 -04:00
jacob1
06fb97bc40 fix BRMT always acting like it was created from TUGN 2013-06-20 00:10:24 -04:00
Saveliy Skresanov
03f2590967 Lower rounding errors in BIZR code and make it change color both on vertical and horizontal movement. 2013-06-12 20:14:34 +07:00
jacob1
b699bb176f Add two new properties for CLNE-like elements
the thing CLNE does, drawing upon it will set ctype; and what BCLN  does to CLNE - disables #1). Made use of the two new properties
2013-06-10 10:51:55 -04:00
jacob1
a6ee8e2af1 fix NEUT created from DEUT explosions sometimes having the deco color of previous particles. Also allow the deco editor to color energy particles instead 2013-06-09 11:15:24 -04:00
jacob1
8f72ee829f PHOT can go through PBCN and BCLN, fixes differences in PHOT cloning found in save id:1213267
also some renaming / reorganizing in init_can_move
2013-06-07 12:45:36 -04:00
jacob1
e146ae50ab some minor changes to tools 2013-06-06 23:28:07 -04:00
jacob1
76b92952b1 adjust tool strengths a little, to make them a little faster 2013-06-06 22:19:51 -04:00
jacob1
5ae6b18677 GOLD changes photons to yellow 2013-06-06 16:02:21 -04:00
jacob1
8d7ab7f5e2 allow creating WIND lines from lua 2013-06-01 21:57:03 -04:00
jacob1
80380bbaa3 even more lua simulation api functions 2013-05-30 22:28:42 -04:00
cracker64
2735a80d28 Fix STKM spawns, fix cases. 2013-05-21 18:19:05 -04:00
cracker64
e1d8585871 Jacob can't into switches 2013-05-21 17:54:37 -03:00
jacob1
6fec955f41 TPT: Stop STKM being able to jump on the bottom of the screen 509b84b4f 2013-05-20 16:50:49 -04:00
jacob1
35f84a0942 Merge remote-tracking branch 'origin/master' 2013-05-20 11:27:18 -04:00
jacob1
826b966668 reduce rand() chances to 5x the old values in elements that were changed to 3x3 loop checks instead of 5x5. Also some other fixes I found when looking at what had been changed. 2013-05-20 11:26:51 -04:00
jacob1
d29b001d82 Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git 2013-05-19 22:59:42 -04:00
jacksonmj
45f057957b Fix description: METL does not break under pressure 2013-05-19 21:46:55 +01:00
jacob1
5b1389621f minor fixes to descriptions (again) 2013-05-18 23:12:37 -04:00
jacob1
981f6984c2 Merge branch 'HEAD' of git@github.com:FacialTurd/The-Powder-Toy.git 2013-05-17 12:44:25 -04:00
jacob1
cbd402d8cb fix CFLM making VIBR unable to explode 2013-05-17 12:44:18 -04:00
jacob1
7b6ded50dc rename GRAV back to PGRV, fix formatting in generator, remove useless file 2013-05-16 20:04:39 -04:00
jacob1
027649e858 lua simulation api functions for drawing with tools / deco 2013-05-16 19:33:30 -04:00
jacob1
6f8e2c0345 remove unneeded / duplicate constants, fix SPC_AIR/other tools so it won't conflict with lua elements (the 11th one won't work right now) 2013-05-16 17:01:33 -04:00
jacob1
751da54183 make making VIBR from molten TTAN+EXOT a little easier (molten VIBR slowly kills EXOT) 2013-05-16 15:09:17 -04:00
jacob1
ebe145b39f soap lines show in nothing mode, some small changes to arguments for sim api drawing functions 2013-05-16 00:55:44 -04:00
jacob1
81876a93a3 redo some brush drawing stuff to remove useless checks, and to allow for replace mode in the future 2013-05-16 00:20:07 -04:00
jacob1
18ddb7a155 some more description changes 2013-05-13 22:12:03 -04:00
jacob1
7856f727a5 rename TUGN to TUNG (more popular spelling). Broken BRMT smelts back into TUGN 2013-05-13 21:10:45 -04:00
mniip
4d9b9b17d7 D: 2013-05-11 15:08:32 +04:00
Simon Robertshaw
c2cdec9e62 Togglable lua scripting 2013-05-11 11:52:35 +01:00
jacob1
67e1213905 fix tpt.message_box, fix compiling error 2013-05-09 18:52:13 -04:00
Saveliy Skresanov
f35f221554 Rocket boots for fighters. 2013-05-08 23:36:04 +07:00
Saveliy Skresanov
c6930ddc5f Merge remote-tracking branch 'upstream/master' 2013-05-08 23:10:01 +07:00
Saveliy Skresanov
9893f59657 Fix "blow power" for stick man, disable rocket boots on E-hole. 2013-05-08 23:08:29 +07:00
jacob1
645bcb1bcd Merge remote-tracking branch 'origin/master' 2013-05-08 10:29:33 -04:00
jacob1
c0b4592839 fix PSCN BRAY (tmp = 2) not stopping normal BRAY from going through
also some other random things
2013-05-08 10:29:10 -04:00
jacksonmj
89a0603b53 Rocket boots for stickman, because why not
Pass through gravity wall to activate, fan wall to deactivate.
Accelerate with left/up/right keys. Plasma is spawned when accelerating,
and STKM is immune to plasma but not other hot elements when rocket
boots are enabled. Hold left+right to slow down quickly.
STKM spawn element is retained and can still be created while using
rocket boots, but it may be difficult to do anything useful with the
spawn element whilst spewing hot plasma everywhere.
2013-05-08 15:12:28 +01:00
cracker64
45c321f1b3 Fix ARAY better, instead of relying on conduction check to stop on BRAY, which we know doesn't conduct. 2013-05-08 07:48:54 -04:00
jacksonmj
20c261826d STKM - fix jumping in the x direction in different gravity modes 2013-05-07 15:01:24 +01:00
cracker64
2f8574f62b gol2 array is static size, adding new GoL won't increase memory usage. 2013-05-06 13:30:03 -04:00
cracker64
77102f4bba Optimize GoL a bit, haven't changed gol2 yet. 2013-05-05 18:10:13 -04:00
Simon Robertshaw
afbef49db2 Fix temperature sensor 2013-05-05 14:30:04 +01:00
jacob1
2d0ce60afe fix not being able to draw TUGN under high/low pressure 2013-05-04 20:34:47 -04:00
jacob1
cb5ca55fc2 New Element: Pressure sensor 2013-05-04 20:28:28 -04:00
jacob1
08f05d69c1 move some elements around 2013-05-04 19:50:11 -04:00
jacob1
36efb48644 possible piston bug fix for save 1176828 2013-05-04 16:40:04 -04:00
jacksonmj
79a75c4441 Fix solidification temperature of molten TUGN
Previously it was 973 K, not the same as the melting point of TUGN
2013-05-04 17:19:25 +01:00
Simon Robertshaw
ed9710c33d Tungsten breaks under pressure changes 2013-05-04 14:44:16 +01:00
Simon Robertshaw
cab667001d Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-05-04 14:42:23 +01:00
jacob1
0b2e8a412e fix some descriptions 2013-05-03 23:19:16 -04:00
jacob1
c68e4b1393 change descriptions of many elements to be more consistent, contain more info, and be more helpful. 2013-05-03 22:42:36 -04:00
jacob1
3018c597c4 make GOLD sparkle slightly, and it kills NEUT 2013-05-03 19:47:09 -04:00
Simon Robertshaw
dd0f5f5efb New element: Tungsten, very high melting point 2013-05-03 22:33:39 +01:00
jacksonmj
2eaed9c9d4 Correct gold melting point 2013-04-30 23:10:07 +01:00
jacksonmj
526e93204a INST flood fill change so that vertical conduction is only prevented for 1px wire crossings. Needs thorough testing
Fixes #129 , and prevents INST diodes when using a 2px vertical crossing a
1px horizontal.
2013-04-30 22:34:06 +01:00
jacksonmj
9bc939d422 Less dependence on particle order for GOLD fast electricity conduction 2013-04-27 13:55:41 +01:00
Simon Robertshaw
828569415f BREAKING NEWS: Hell has frozen over
New element, GOLD, a corrosion resistant metal that can conduct electricity faster, molten GOLD will turn into molten VIBR on contact with EXOT
2013-04-27 11:38:20 +01:00
Julian Meyer
649e5f2042 Add --nofft option to compile without FFTW3
This should help Mac users who were having trouble compiling.
2013-04-10 00:20:36 +01:00
Simon Robertshaw
8d312ecdfa Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2013-04-07 12:46:09 +01:00
cracker64
f7dd658a30 SPRK from SWCH should check both cases. 2013-03-27 12:34:03 -03:00
jacob1
010f7790eb Fix CRAY bug that deletes particle 0 2013-03-25 12:36:04 -03:00
jacob1
36adc3c516 Fix NEUT not going through INVS 2013-03-25 01:18:47 -03:00
Simon Robertshaw
9b5b85f9b0 Merge branch 'reorganisation' of github.com:FacialTurd/The-Powder-Toy 2013-03-24 12:24:17 +00:00
jacob1
c50e12df28 CFLM defusses VIBR, a few speed improvements to VIBR 2013-03-23 10:53:49 -04:00
Simon Robertshaw
9abe51526c Move all GUI source files into gui/ 2013-03-22 14:14:17 +00:00
jacob1
d357fcdc36 add back bounds check to DTEC/TSNS where needed, change VIBR back to 5x5 loop checks
a better way to change it to 3x3 may have to be found that has the same ratios, other elements like WATRs have their rates changed too
2013-03-17 12:21:45 -04:00
jacob1
3a738846a3 add identifier constants based on the display name to the lua api 2013-03-16 13:23:19 -04:00
Saveliy Skresanov
d76650f7e6 Remove unnecessary code in legacy part. 2013-03-16 23:16:08 +07:00
Saveliy Skresanov
43974d8537 Narrowed loops for all elements in the first list.
Probabilities might be messed up a bit, I'm not sure.
2013-03-16 23:03:02 +07:00
jacob1
ff304321c5 new PSTN arms get deco color of the pushing pistons 2013-03-15 21:32:46 -04:00
Simon Robertshaw
73b6ff4efb Use VideoBuffer in place of thumbnail 2013-03-15 12:59:55 +00:00
jacob1
10e104f3f5 change BOUNDS_CHECK define to just be true, it isn't needed since an element can never update when it's closer than 3 pixels away from the edges of a save. 2013-03-13 15:56:40 -04:00
jacob1
e493cf8a47 fix all tab spacing issues in all the element files 2013-03-13 15:54:34 -04:00
cracker64
319ffb7e77 Change some old NEUTPENETRATE to NEUTPASS, NEUT should only displace GOO, WOOD, and PLNT. 2013-03-11 17:34:49 -04:00
jacob1
e6f6eedd13 fix empty signs being created when shifting them out of bounds, draw parts of images when it goes partway off the top of the screen. 2013-03-09 16:50:36 -05:00
jacob1
a411fda7de fix CRAY(SPRK) difference 2013-03-06 21:13:42 -05:00
jacob1
9316054ab2 fix CRAY(SPRK) bugs (?) 2013-03-06 14:23:26 -05:00
jacob1
037618e6f8 remove auto generated comments from all files, fix some missing tabs, remove unused variables from config.h 2013-03-06 12:05:59 -05:00
jacob1
0f5b4a9ec8 fix pressing esc in login prompt logging you out, fix possible sign bug crash 2013-03-04 14:57:40 -05:00
jacob1
6bea8f5235 revert life changes, will be redone later in a faster way 2013-03-03 19:58:53 -05:00
jacob1
55f090b4d2 Merge remote-tracking branch 'origin/master' 2013-03-03 19:08:05 -05:00
jacob1
f951e5cda9 fix LIFE 2013-03-03 19:07:15 -05:00
cracker64
de6bb6a960 Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git 2013-03-03 17:08:36 -05:00
jacob1
8b83ae9f95 PSTN ctype sets the element that stops it, FRME with a tmp of one is non-sticky (doesn't pull) 2013-03-03 16:36:37 -05:00
cracker64
2be0b22211 Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git 2013-03-03 16:32:11 -05:00