diff options
| author | jacob1 <jfu614@gmail.com> | 2013-05-16 04:55:44 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-05-16 04:55:44 (GMT) |
| commit | ebe145b39ff1bc28912ed9e4ac058aeab0214388 (patch) | |
| tree | 03660d3ff25f1f0ca8ca20ab08e7aa8a38583599 /src/simulation/elements | |
| parent | 81876a93a30ad71018009a60aed9ede0b43533ab (diff) | |
| download | powder-ebe145b39ff1bc28912ed9e4ac058aeab0214388.zip powder-ebe145b39ff1bc28912ed9e4ac058aeab0214388.tar.gz | |
soap lines show in nothing mode, some small changes to arguments for sim api drawing functions
Diffstat (limited to 'src/simulation/elements')
| -rw-r--r-- | src/simulation/elements/BIZR.cpp | 1 | ||||
| -rw-r--r-- | src/simulation/elements/SOAP.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/simulation/elements/BIZR.cpp b/src/simulation/elements/BIZR.cpp index 8b61543..0352c26 100644 --- a/src/simulation/elements/BIZR.cpp +++ b/src/simulation/elements/BIZR.cpp @@ -117,6 +117,7 @@ int Element_BIZR::graphics(GRAPHICS_FUNC_ARGS) *firer = *colr/5 * fabs(cpart->vx)+fabs(cpart->vy); *pixel_mode |= FIRE_ADD; } + *pixel_mode |= PMODE_BLUR; return 0; } diff --git a/src/simulation/elements/SOAP.cpp b/src/simulation/elements/SOAP.cpp index 472dbd7..79434e9 100644 --- a/src/simulation/elements/SOAP.cpp +++ b/src/simulation/elements/SOAP.cpp @@ -246,7 +246,7 @@ int Element_SOAP::update(UPDATE_FUNC_ARGS) int Element_SOAP::graphics(GRAPHICS_FUNC_ARGS) { - *pixel_mode |= EFFECT_LINES; + *pixel_mode |= EFFECT_LINES|PMODE_BLUR; return 1; } |
