jacob1
3529f6f468
fix ambient heat not loading in ctrl+c paste, fix pressure resetting to 0 when loading saves without pressure
2017-11-23 22:09:33 -05:00
jacob1
78fb27b354
fix SOAP links not saving/loading properly
2017-11-23 21:53:21 -05:00
jacob1
2ccbec1d05
include tpt-minmax header in Simulation
2017-11-23 15:12:47 -05:00
krawthekrow
62d57cc1de
fix indentation
2017-11-23 00:42:42 -05:00
jacob1
77b6f44c74
fix issue with molten STKM that could break the simulation and cause crashes
2017-09-28 23:12:16 -04:00
LBPHacker
ce58c4aadf
Fix Simulation::Restore decrementing life values
...
Simulation::Restore used to call Simulation::RecalcFreeParticles. The problem with that was that RecalcFreeParticles does more than just what its name suggests: it also decrements life values. Restore shouldn't do that. The solution is to tie decrementing life values to an argument in RecalcFreeParticles. This is also makes to code more future-proof as it lets everyone know that they have to keep their eyes peeled when invoking RecalcFreeParticles.
2017-08-17 00:23:37 -04:00
jacob1
1dd4b00ec6
minor gravity transition fix
2017-08-06 19:41:04 -04:00
jacob1
6fca44fd70
fix newtonian gravity state transitions flashing
2017-08-05 17:53:41 -04:00
jacob1
26f70331de
fix debug thing breaking pressure display in HUD, fixes #494
2017-08-03 23:12:03 -04:00
jacob1
6931f35520
hold shift when saving or loading stamps to not save / load pressure, closes #491
2017-08-03 00:13:06 -04:00
jacob1
99c568f136
ensure air doesn't "leak" out of TTAN containers when loading stamps and saves
2017-08-02 23:49:51 -04:00
jacob1
541417008e
fix FIGH spawning glitch: id:2165807
2017-07-24 21:44:37 -04:00
jacob1
6d141b0722
add new PhotonReflectWavelengths property, add reflection color for POLO
2017-07-16 00:07:32 -04:00
My main account
284e653aa5
Convert another if-elseif block to switch ( #465 )
2017-06-30 20:01:12 -04:00
jacob1
2e4617c956
GAS+CAUS+pressure = RFRG, move HEAC to solids
2017-06-18 23:32:25 -04:00
My main account
5de384cfbc
Fix CRAY creating FILT
2017-06-18 21:49:47 -04:00
iczero
3336209527
Fix STOR modded element processing
...
fixes #460 , again
2017-06-18 09:02:20 -04:00
jacob1
67b87b1dab
palette now used for default elements again, with some fixes
...
palette now used in VIRS, fixes #460
2017-06-18 00:08:41 -04:00
jacob1
1718fe9287
HEAC is now meltable via LIGH, fix HEAC hardness, fixes #441
2017-06-11 21:10:19 -04:00
jacob1
fb2431d99e
replace some if-else with switch statements, code formatting, closes #444
2017-06-11 20:39:23 -04:00
jacob1
1cb3917fcc
Fix comment
2017-06-04 21:33:45 -04:00
jacob1
1fb883a450
replace E181 with SAWD (sawdust), created by hitting WOOD with high velocity particles
2017-06-04 14:50:14 -04:00
jacob1
9bc19d9933
fix elementRecount parenthesis
2017-05-10 00:11:53 -04:00
jacob1
b9c658ae20
elements are only recounted when unpaused, apparently
2017-05-09 21:52:40 -04:00
jacob1
2d7934bca6
fix elementRecount never being reset to false, fixes #417
2017-05-09 21:49:54 -04:00
jacob1
abf60508cd
fix ambient heat being reset when creating saves
2017-05-06 23:57:27 -04:00
jacob1
9b954c7ed5
CRAY(LIGH) defaults to LIGH with .life 30
2017-05-06 19:40:22 -04:00
jacob1
cdc8f64896
fix clang compile warnings, fixes #406
...
also, sim.ambientAirTemp takes floats now
2017-04-27 23:08:06 -04:00
jacob1
c98f63bd89
save ambient heat in saves, if it is enabled
2017-04-24 22:29:45 -04:00
jacob1
ddd326eafd
fix LSNS
2017-04-23 12:51:40 -04:00
jacob1
40972f9434
pressure and air velocity are now saved in saves
2017-04-22 17:06:28 -04:00
jacob1
866289c179
remove duplicate function, fix Simulation::GetParticleType, fixes #402
2017-04-21 20:24:24 -04:00
Nickolay
7078d7e528
Customizable FRAY and INVS ( #390 )
2017-04-20 17:37:09 -04:00
jacob1
076ec711a9
fix photon refraction on windows
2017-04-16 21:41:50 -04:00
jacob1
d3f0896599
Changes by Skylark:
...
Double the preciseness of photon refracting
photon refracting efficiency improvement on GCC
CRMC now slightly scatters photons when reflecting
BGLA now scatters photons
PQRT scatters photons like QRTZ does
C5 frequency doubling, id:2087410
*slight styling changes by jacob1*
2017-04-11 23:15:01 -04:00
Capacitor Set
2d4c195c86
Fix memory leaks
2017-03-19 23:05:39 -04:00
jacob1
8f4e3a56bd
reduce ctrl+z snapshot memory usage
2017-02-09 22:55:05 -05:00
jacob1
85e2516a42
missed movement code fixes from my mod? b7ef4c8f2b95
2016-10-01 00:16:50 -04:00
jacob1
69d28bd7b0
Fix crash with really high speed photons, a check is needed here too
2016-09-24 10:07:53 -04:00
Mark Theng
8de12d616e
fix resume simulation/reload in the middle of subframe debugging ( #330 )
2016-09-04 21:33:33 -04:00
jacob1
6dc1c222bc
catch potential ParseExceptions when loading saves, use bson error handler to prevent exit(-5)
2016-08-14 18:18:59 -04:00
Simon Robertshaw
b8e2113b05
Another experimental element, floats on water, supports other structures
2016-08-07 16:15:30 +01:00
jacksonmj
f6615deed2
Fix uninitialised variable (sim->player(2).rocketBoots)
2016-07-24 20:09:28 +01:00
SopaXorzTaker
17398dd201
RPEL's ctype sets the element it repels
2016-07-17 16:47:43 -04:00
SopaXorzTaker
c85ac21d84
Fix gravity field appearing after ctrl+z even if gravity is off, Fixes #293
2016-06-11 10:29:09 -04:00
jacob1
d63c6012c6
force a stacking check when undoing (id:1997880)
2016-06-11 10:21:25 -04:00
jacob1
15068552b5
really fix the remainders in loop edge mode
2016-03-12 13:54:50 -05:00
jacob1
ccec5fbff4
that .5f should have been ouside the remainder_p
...
also fix random compile warning (error?)
2016-03-12 13:24:59 -05:00
jacob1
d334209027
loop edge mode: allow particles to have velocities greater than the size of the screen
...
Also, added terminal velocity for stickmen
2016-03-12 13:14:34 -05:00
jacob1
f6d82b6f8a
separate t and v argument in create_part, fix LIGH not defaulting to .life of 30 with clones / console
2016-01-11 22:38:42 -05:00
jacob1
adf0fa72df
Actually use .Properties instead of .Falldown for wall blocking
2015-12-30 23:45:05 -05:00
jacob1
c76ec2be43
PHOT going through turned off GPMP turns into GRVT
...
GRVT .tmp depends on the GPMP temp
2015-12-26 01:24:22 -05:00
jacob1
5ba34021bc
jacksonmj: Reduce ETRD lag e7c4b989654e
...
Improvement isn't as good as the EMP one in normal cases, but for intentional lag bomb saves it is much better. Tested it and confirmed it worked just like before this commit. etrd_life0_count is hopefully valid, the accuracy may not be as good as in jacksonmj's fork
2015-12-19 01:39:03 -05:00
jacob1
bb9b35f01d
jacksonmj: EMP lag is hereby banished. eeef50c0fcba
...
EMP destruction loop now happens once per frame instead of once per EMP
particle.
2015-12-18 23:10:28 -05:00
jacob1
f1ea32516d
jacksonmj: Stop using Element.State 618c4b5ce5cd
2015-12-18 01:14:31 -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
9cab6959b6
fix flood fill delete on normal particles also deleting photons
2015-11-30 14:20:37 -05:00
jacob1
7fcc056cb6
fix really fast particles moving through EHOLE
2015-10-15 00:26:57 -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
bc112b54df
initialize GoL variables, add sim.gspeed function
2015-10-10 00:03:04 -04:00
jacob1
9b9555226b
fix compiling in visual studio, fix maybe bug with updates?
2015-09-20 00:59:37 -04:00
jacob1
5433766311
fix ETRD creating plasma as if it were created by the brush (-2)
2015-09-01 12:26:06 -04:00
jacob1
48dbc4182d
Add CRMC from my mod 3dd3fb2f7801 92f0301295f6
2015-08-30 18:29:21 -04:00
jacob1
ed4678c9a8
add deco flood fill, flood fills based on color being close enough
...
flood fill brush is hidden when deco tools are selected like this because it gets in the way. Renderer::vid is compared here so there could definitely be issues, but it works fine when used under normal conditions
2015-08-30 01:38:32 -04:00
jacob1
2ebc522c36
add ERASEALL wall from my mod (erases walls, particles, and signs)
2015-08-30 00:18:06 -04:00
jacob1
37794c01af
.tmp2 for CRAY now sets creation offset (just like DRAY)
...
LIFE info moved into .ctype, no reason to use a whole extra variable for it
2015-08-29 22:02:05 -04:00
jacob1
f95db0278e
really fix coordinates when placing stamps ...
2015-07-07 00:44:06 -04:00
jacob1
8e7e8e0670
some changes to LIGH creation (mostly from lua)
2015-05-11 20:50:10 -04:00
jacob1
b1fc134204
fix crash with high speed photons in loop edge mode
2015-05-10 21:48:09 -04:00
jacob1
aa854557f7
fix WOOD sometimes creating water when burning
2015-05-10 20:55:03 -04:00
jacob1
fc5f3671f1
new function sim.clearRect, plus fix rounding errors breaking ctrl+x
2015-03-12 00:54:27 -04:00
jacksonmj
84f6ede2b8
Fix for commit d71a0d98
: also adjust melting point of BRMT(TUNG) based on TUNG HighTemperature value
2015-03-05 00:14:26 +00:00
jacksonmj
d71a0d98eb
Allow TUNG melting point to be changed from Lua
...
Also set lava LowTemperature threshold to MAX_TEMP, to simplify changing melting points from Lua.
2015-02-23 13:24:27 +00:00
jacob1
03e07945e3
fix lua element update bugs, fixes #244
...
also add new mode for functions run before the normal update function
2015-02-13 14:18:55 -05:00
jacob1
2c0287b71d
PARTICLEDEBUG define which turns on some particle debugging key shortcuts
...
Also fix particle updating bug
2015-02-06 20:33:10 -05:00
jacob1
b1a3c404b6
fix platform / sconscript flag specific warnings, --no-warnings no longer defaults to true
2015-01-16 23:39:42 -05:00
jacob1
efd69b208d
fix a ton more errors in the interface code, including all the -Wreorder ones
2015-01-16 19:58:39 -05:00
jacob1
3a52453561
move more stuff around, remove loop through particles to decrease life and put it in the pmap one instead (like in my mod)
2015-01-11 14:36:40 -05:00
jacob1
577ae3400f
move some stuff around (without changes) in Simulation.cpp, add sim.updateParticles function
2015-01-11 13:17:18 -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
236ff08da9
Fix some problems noted in http://www.viva64.com/en/b/0298/
...
I've left some of the less important items, like SearchView.cpp "'then' statement is equivalent to the 'else' statement", and RequestBroker::Request::~Request, because I don't feel like spending a few days entirely rewriting those files at the moment (which is what I'd end up doing if I started fixing minor problems and refactoring...)
GameSave::readOPS - not changed. At some point we may have to move to a larger type for element IDs (probably two or four bytes), but PT_NUM isn't likely to be raised to the maximum value of that type immediately, so this check will be needed then. There should be an elements[partsData[i]].Enabled check in there too, but it might be a bit difficult - I'm not sure how to access a Simulation object from GameSave::readOPS...
Notes on changes:
Graphics::textsize, Element_FRZW::Element_FRZW - typos
Button::Draw - the extra case was originally used to invert the icon (draw it in black instead of in white) when the button was clicked. However, the icon colour is now automatically set depending on the background colour. (Note similar conditions "if(Enabled) { if(isButtonDown || (isTogglable && toggle)) " near the start of the function - same logic but in a different place, setting icon colour indirectly).
Simulation::transform_save - unused redundant function, everything uses GameSave::Transform which does much the same thing.
PreviewView::NotifySaveChanged - should be height==YRES/2, it's checking whether the preview image is the correct size, and resizing it if it isn't.
Element_FWRK::update - no idea why that line was there, even though it was my commit that originally added it...
2014-12-25 17:09:35 +00:00
cracker64
a115e78952
More element optimizations!
...
ACEL, changed a range check
DRAY, Fixed repetitive checking
GOLD, less rand()
PLNT, removed range checks, less rand()
PROT, used a switch()
VIBR, less rand()
VINE, less rand(), fixed growing along WOOD
VIRS, less rand()
2014-12-06 15:43:11 -05:00
jacob1
6da5b08fd2
fix for fast particles moving through VOID
2014-11-22 13:04:04 -05:00
jacob1
16ce3a68c0
more jacksonmj suggestions: save edgeMode in saves, BVBR absorption fix, life saving fix, DEUT graphics change, PROT fix, SOAP graphics fix
2014-11-21 15:41:22 -05:00
jacob1
e20f6b101b
jacksonmj: "Allow ELEC to pass through GLOW, fixes ELEC->PHOT reaction in GLOW." f162984e22e5 + some parts of "Misc small fixes" 95cf5bd67c2b
2014-11-21 15:41:22 -05:00
jacob1
a182e925fe
some elementpallete fixes + fix SPAWN2 ToolButton
2014-11-20 22:44:02 -05:00
jacob1
6ce2d5fe92
#define MAX_FIGHTERS + some fixes
2014-11-20 22:11:20 -05:00
jacob1
c9cc2a1a6b
more accurate elementCount (part_change_type, pasting stamps, lua), prevent having multiple STKM / SPWN even more
2014-11-20 21:51:45 -05:00
jacob1
6066ae8341
prevent having multiple stickmen on the screen, also add playerst.spawnID
2014-11-20 18:51:33 -05:00
jacob1
a31f4df0a1
fix being unable to draw METL/PSCN/INST ctype on CRAY
2014-11-07 12:28:49 -05:00
jacksonmj
1eeed277a0
Fix initialisation of transitionOccurred
2014-11-06 00:46:15 +00:00
jacksonmj
829e2cca7d
Flatter surface when liquids solidify
2014-11-06 00:32:25 +00:00
jacksonmj
9e7ead9bcc
Change melting point for snow with wrong ctype back to 273.15
2014-11-05 23:32:49 +00:00
jacksonmj
57409b0b41
Change order in which particles are created by the rectangle and brush tools
...
to make liquid movement look less weird in normal gravity
2014-11-01 15:38:39 +00:00
jacksonmj
02e1969ef2
Fix SNOW(WATR) melting temperature
...
Broken by fixing SNOW(SLTW) melting temperature in a78bd78bfc
2014-10-31 16:39:30 +00:00
jacksonmj
f7b53d0231
Prevent fast particles from skipping over DESTROYALL wall
2014-10-27 17:50:58 +00:00
jacob1
12f00db240
loop edge mode from my mod (also works with stickmen)
2014-10-24 00:18:51 -04:00
jacob1
b59ecf2d65
add airblock wall
2014-07-03 14:30:12 -04:00
jacob1
f68fadb3f4
make PHOT only able to move 2 pixels at a time through things again
2014-07-03 12:05:26 -04:00
jacob1
45a051d4ea
New element: DRAY (Duplicator RAY)
...
Replicates a line of particles in front of it, affected by tmp and tmp2, and being sparked by PSCN or INWR
2014-07-03 00:59:41 -04:00
jacob1
4b4eb1a68e
Some changes which make GRVT work better
2014-07-02 23:07:10 -04:00
jacob1
70676aba4a
New element: GRVT (gravitons), energy particle that creates Newtonian Gravity
2014-07-02 23:06:45 -04:00
jacob1
42f5ec9f36
Fix crash with spark flood fill
2014-05-22 11:20:33 -04:00
jacksonmj
5e02073a2f
Fix TNT floodfill crash
2014-05-22 15:27:18 +01:00
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
jacob1
462bb78f3d
fix nx/ny again (values were reversed)
2014-04-26 14:39:40 -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
75034de5a4
fix crash when SOAP gets changed into another element, fixes #186
2014-04-12 15:52:12 -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
mniip
1266307070
stop neut from dragging particles inside energy walls, fixes jacob#18
2014-01-30 22:55:55 +04:00
jacob1
f66679e551
a little reorganization (maybe more later)
2014-01-20 13:52:53 -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
mniip
69c9be0e99
implement generic property value as a union instead of void*
2014-01-16 11:00:47 -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
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
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
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
jacksonmj
035dfa2e04
Fix some compiler warnings
2013-12-14 18:47:28 +00:00
jacob1
45bf0dfcdb
Merge pull request #180 from mniip/warnings
...
Warnings
2013-10-29 19:24:20 -07:00
mniip
bf908bbfbf
Fix various warnings, remove silly useless NO_INLINE system, remove the need for -fkeep-inline-functions
2013-10-30 04:47:07 +04:00
Simon Robertshaw
8b45c8f9e8
Merge remote-tracking branch 'china-richway2/CutGlitch' into develop,
...
closes #176
2013-10-29 21:46:33 +00:00
unknown
12261e263d
fix bug where Ctrl+X don't delete stacked particles
2013-10-23 21:06:19 +08:00
jacob1
dd73a7244f
reduce / prevent PROT in fusion even more
2013-10-20 10:37:28 -04:00
jacob1
d1e75c7a50
make PROT lasers easier to make, adjust velocities needed to make things when smashing PROT together, use FIRE_BLEND for PROT graphics
2013-09-28 20:31:35 -04:00
jacob1
ee093ae3b7
disable PHOT+H2 reaction during fusion
2013-09-14 09:49:19 -04:00
jacob1
e1b26346a1
ensure VIBR always eats PROT
2013-09-13 22:24:50 -04:00
jacob1
ae8e5e5c34
PROT+DEUT causes DEUT implosion (same as with NEUT, just negative pressure)
...
Also PHOT+H2 now also make PROT+ELEC (which will not combine to make more H2)
2013-09-13 22:02:03 -04:00
jacob1
074a2226e1
remove useless and laggy lightning_recreate check
2013-09-11 21:41:54 -04:00
jacob1
332aa25bf6
save pavg[] in saves, for VIRS, PIPE, and STOR
2013-09-11 20:41:43 -04:00
jacksonmj
9eccad80b1
Missing breaks in readOPS
...
Causing some elements to be loaded incorrectly
2013-09-08 18:14:12 +01:00
jacksonmj
2e52e209a6
CRAY: only set decoration colour after passing through FILT
2013-09-08 17:33:12 +01:00
jacksonmj
79edfe9589
Include elements[].Enabled in check for invalid lava ctype
2013-09-08 09:26:31 +01:00
jacob1
7d9fa1bfc7
new element: VIRS (also solid and gas virus states). Cured by SOAP (CURE element was not added)
2013-09-04 00:20:21 -04:00
jacob1
6c4f63be3b
proton collision reaction (might need to be modified). Also some ways to go to/from protons
2013-09-02 21:58:52 -04:00
jacob1
f1145f31f5
new element: PROT (protons) TODO: proton colliders to produce heavier elements
2013-09-01 21:52:38 -04:00
jacob1
2cbee180a1
fix bug where PROP wouldn't set properties of particle id 0
2013-08-29 22:34:50 -04:00
jacob1
d38af2764c
move QRTZ .tmp into .tmp2 and .ctype into .tmp, fixes bug where sparking QRTZ resets .ctype and stops it from growing
2013-08-29 22:18:35 -04:00
jacksonmj
bebe9bd8fd
Add a way for photons to set the colour of FILT (major version bump required)
...
Also add some new FILT modes, and make FILT modes affect BIZR and
BRAY colour in the same way as they affect photon colour. Photons
passing next to DTEC will set the colour of all FILT in a straight
line starting from any FILT adjacent to the DTEC (a bit like an
ARAY beam), and the exact colour of the photon will be used for
FILT interactions instead of the colour based on temperature.
FILT tmp=4: red shift, tmp=5: blue shift. Size of shift determined
by FILT temperature. tmp=6: FILT has no effect on photon colour
(possible before by using invalid tmp modes, but here's a supported
method of doing it. Invalid tmp modes should be automatically replaced
in existing saves).
Also, FILT mode is now described in the HUD.
2013-08-29 17:19:07 +01:00
jacob1
4746474127
fix occasional crash when flood fill deleting
2013-07-29 00:34:43 -04:00
jacob1
beff3db8d2
fix ctrl+x not deleting all signs
2013-07-25 18:23:02 -04:00
jacob1
da7d107f60
remove specific delete for walls, doesn't work very well and it conflicts with specific delete for elements
...
Also prevent wall replace mode, could never do anything because walls already replace everything
2013-07-18 18:54:09 -04:00
jacob1
40285e107a
flood delete will delete walls even if wall delete tool isn't selected
2013-07-18 18:30:24 -04:00
jacob1
6a4cc7e1f7
stickmen element defaults to right selected element if possible, or else still DUST
2013-07-18 17:57:04 -04:00
jacob1
e0d982367b
fix bug where saving and loading elements in saves relied on the name being consistent between versions. The palette should only be used for lua elements
2013-07-15 17:42:43 -04:00
jacob1
0214fcb5ae
particles can't be drawn with the brush inside of walls they don't belong, fix flood fill delete issue
2013-07-13 14:17:21 -04:00
jacob1
864f0e6f45
WIFI lines aren't drawn in persistent mode, and are based on current temp, not tmp, so they work when paused
2013-07-13 12:06:43 -04:00
jacob1
34db317e44
update rules to fix some problems and more closely match the current rules. fixes #126
2013-07-11 23:32:39 -04:00
jacob1
a06202c78f
fixes to wall and particle floodfill. Wall fill ignores particles and always goes to the edges, while particle fill will only ignore walls it can't exist in, and flood particle erase won't check for walls / edges at all
2013-07-11 22:43:36 -04:00
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
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
43540eb7e4
Add back replace mode and specific delete *
...
* only usable by Lua
2013-06-22 22:48:51 -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
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
5ae6b18677
GOLD changes photons to yellow
2013-06-06 16:02:21 -04:00
cracker64
2735a80d28
Fix STKM spawns, fix cases.
2013-05-21 18:19:05 -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
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
7856f727a5
rename TUGN to TUNG (more popular spelling). Broken BRMT smelts back into TUGN
2013-05-13 21:10:45 -04:00
Simon Robertshaw
c2cdec9e62
Togglable lua scripting
2013-05-11 11:52:35 +01:00
Saveliy Skresanov
9893f59657
Fix "blow power" for stick man, disable rocket boots on E-hole.
2013-05-08 23:08:29 +07: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
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
jacob1
2d0ce60afe
fix not being able to draw TUGN under high/low pressure
2013-05-04 20:34:47 -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
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
Simon Robertshaw
8d312ecdfa
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-04-07 12:46:09 +01:00
jacob1
36adc3c516
Fix NEUT not going through INVS
2013-03-25 01:18:47 -03:00
Simon Robertshaw
9abe51526c
Move all GUI source files into gui/
2013-03-22 14:14:17 +00:00
jacob1
3a738846a3
add identifier constants based on the display name to the lua api
2013-03-16 13:23:19 -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
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
6bea8f5235
revert life changes, will be redone later in a faster way
2013-03-03 19:58:53 -05: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
17d79e8d8e
fix crash when drawing particles in invalid coordinates (using console)
2013-03-03 15:38:52 -05:00
jacob1
572d099e29
fix a few more memory errors
2013-02-24 22:09:33 -05:00
jacob1
0939494747
fix problems found with valgrind with shifting stamps and saving
2013-02-24 14:12:48 -05:00
Simon Robertshaw
8dfb1ecf87
ACEL and DCEL use life for strength value
2013-02-24 11:50:10 +00:00
jacob1
6b1e99a731
allow ACEL and DCEL strength to be modified with ctype
2013-02-23 23:45:40 -05:00