summaryrefslogtreecommitdiff
path: root/elements/isz.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-17 20:46:06 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-17 20:46:06 (GMT)
commit4a60b97c700c2f1843b7e99313554cb89fb5da4e (patch)
tree3b33ef6f74a4e8a4ff5968a81b9c4c429ccaa7c6 /elements/isz.cpp
parent6273089bf486bf46ad325d72c7290ebb272bd3d8 (diff)
downloadpowder-4a60b97c700c2f1843b7e99313554cb89fb5da4e.zip
powder-4a60b97c700c2f1843b7e99313554cb89fb5da4e.tar.gz
Some minor changes
Diffstat (limited to 'elements/isz.cpp')
-rw-r--r--elements/isz.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/elements/isz.cpp b/elements/isz.cpp
deleted file mode 100644
index 25446d2..0000000
--- a/elements/isz.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "element.h"
-
-int update_ISZ(UPDATE_FUNC_ARGS) { // for both ISZS and ISOZ
- float rr, rrr;
- if (1>rand()%200 && ((int)(-4.0f*(sim->pv[y/CELL][x/CELL])))>(rand()%1000))
- {
- sim->create_part(i, x, y, PT_PHOT);
- rr = (rand()%228+128)/127.0f;
- rrr = (rand()%360)*3.14159f/180.0f;
- parts[i].vx = rr*cosf(rrr);
- parts[i].vy = rr*sinf(rrr);
- }
- return 0;
-}