diff options
| author | Simon 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) |
| commit | 4a60b97c700c2f1843b7e99313554cb89fb5da4e (patch) | |
| tree | 3b33ef6f74a4e8a4ff5968a81b9c4c429ccaa7c6 /elements/stkm2.cpp | |
| parent | 6273089bf486bf46ad325d72c7290ebb272bd3d8 (diff) | |
| download | powder-4a60b97c700c2f1843b7e99313554cb89fb5da4e.zip powder-4a60b97c700c2f1843b7e99313554cb89fb5da4e.tar.gz | |
Some minor changes
Diffstat (limited to 'elements/stkm2.cpp')
| -rw-r--r-- | elements/stkm2.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/elements/stkm2.cpp b/elements/stkm2.cpp deleted file mode 100644 index 967bea2..0000000 --- a/elements/stkm2.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include "element.h" - -int update_SPAWN2(UPDATE_FUNC_ARGS) { - if (!sim->player2.spwn) - sim->create_part(-1, x, y, PT_STKM2); - - return 0; -} - -int update_STKM2(UPDATE_FUNC_ARGS) { - run_stickman(&sim->player2, UPDATE_FUNC_SUBCALL_ARGS); - return 0; -} - -int graphics_STKM2(GRAPHICS_FUNC_ARGS) -{ - /**pixel_mode = PSPEC_STICKMAN; - if ((int)sim->player2.elem<PT_NUM) - { - *colr = PIXR(ptypes[sim->player2.elem].pcolors); - *colg = PIXG(ptypes[sim->player2.elem].pcolors); - *colb = PIXB(ptypes[sim->player2.elem].pcolors); - } - else*/ - { - *colr = *colg = *colb = 255; - } - return 1; -} |
