jacksonmj
91e871d0ea
PSTN: allow zero or negative contributions towards movement amount
...
Note that final movement amount < 0 means no movement, it will not reverse the movement direction. This is to keep interpretation of inputs simple - PSCN always extends, other conductors always retract.
2015-02-24 22:48:31 +00:00
jacksonmj
cd71a6dff7
Float rounding strikes again - set destination coords using integers when moving particles with PSTN
...
instead of adding a delta value to the current position, which might not give the correct result. Particles (except solids) were on rare occasions ending up at a point 1 pixel away from where they should be after being pushed by PSTN. This led to stacking, and in the case of save 1732622 after changing BIZS to a liquid, to disintegration of the save.
(TPT++ version of commit 2ad996dfe621887355f8532f1262c306421bc2de in jacksonmj fork)
2015-02-23 13:35:17 +00:00
jacob1
ace9e36cc6
fix ALL the warnings
...
mostly just using more size_t. Also do some formatting around if statements
2015-01-16 22:35:32 -05:00
jacob1
dce874484a
fix all the gcc warnings in the element files (except one in PSTN) + all the unused variable warnings
2015-01-10 22:43:33 -05:00
jacksonmj
fb796c873b
PSTN: allow movement amount to be set by temperature. Requires major version increment.
2014-11-04 15:38:41 +00:00
jacob1
ba43e4d238
revert b17ef7f938
(couldn't figure out better fix for the new PSTN bug), fix annoyance with clicking on save comments changing pages
2013-10-18 16:13:40 -04:00
jacob1
b17ef7f938
fix PSTN bug found in save 1299509 (hopefully won't break anything)
2013-08-29 21:00:31 -04:00
jacob1
c29bfd285d
fix bug where PSTN would write past tempParts and into other things, like corrupting TRON colors and making it all blue
2013-07-10 21:01:34 -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
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
36efb48644
possible piston bug fix for save 1176828
2013-05-04 16:40:04 -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
ff304321c5
new PSTN arms get deco color of the pushing pistons
2013-03-15 21:32:46 -04:00
jacob1
e493cf8a47
fix all tab spacing issues in all the element files
2013-03-13 15:54:34 -04:00
jacob1
f951e5cda9
fix LIFE
2013-03-03 19:07:15 -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
jacob1
cd18515e0a
piston retraction now checks pmap
2013-03-01 23:06:02 -05:00
cracker64
c65081d3ed
Finished first pass-through for all elements.
...
Will get a few more places later.
2013-02-28 00:40:36 -05:00
jacob1
20d8eff7f5
remove uneeded PSTN check, fix PSTN not retracting sometimes, fix PSTN bug where is wouldn't properly tell the difference between PSTN and PSTN arms
2013-02-22 16:50:33 -05:00
jacob1
3da733b027
fix PSTN bugs where FRME would still move even if all of it couldn't, fix PSTN going through walls, fix bug where the PSTN extention may not be created in some glitched cases
2013-02-21 23:35:44 -05:00
Simon Robertshaw
486d26e40b
Allow limited arm size from tmp2
2013-01-26 19:44:05 +00:00
Simon Robertshaw
03fde95719
Fix issue where piston won't push particles at index 0
2013-01-26 18:56:19 +00:00
Simon Robertshaw
631e49b8b7
Piston fix: Adjust colour and prevent piston from pushing too far when there's empty space
2013-01-26 18:04:24 +00:00
Simon Robertshaw
12e3802bf4
Put back default piston size
2013-01-26 17:16:58 +00:00
Simon Robertshaw
3e60181dbe
Piston collapses spaces properly
2013-01-26 17:14:44 +00:00
Simon Robertshaw
7475a49e0b
Fix piston retraction
2013-01-23 19:52:45 +00:00
Simon Robertshaw
6c89c63a44
PSTN: Do not accept current from diagonals, increase distance for spark checks
2013-01-23 19:20:52 +00:00
Simon Robertshaw
0034dd654e
Fix FRME limits
2013-01-23 19:17:11 +00:00
Simon Robertshaw
da12cc6d46
Change to pistons, piston push length is base-1 blocks
2013-01-23 12:38:53 +00:00
Simon Robertshaw
a7aa26fa1a
Added FRME - A solid that keeps its simple structure when pushed by piston
2013-01-23 12:36:31 +00:00
Simon Robertshaw
00cf48b520
Fully functional pistons, retract+extend
2013-01-23 12:06:06 +00:00
Simon Robertshaw
28fdb32bfb
Clean up some unused variables from PSTN.cpp
2013-01-22 22:42:52 +00:00
Simon Robertshaw
9fb3e75f93
PSTN.cpp - Remove unused code
2013-01-20 23:08:50 +00:00
Simon Robertshaw
fde0233ea8
Pistons - WIP, No retraction yet
2013-01-20 23:08:16 +00:00