| 150 | } |
| 151 | |
| 152 | void zPlatform_Setup(zPlatform* ent, xScene* sc) |
| 153 | { |
| 154 | zEntSetup((zEnt*)ent); |
| 155 | sEmitTremble = zParEmitterFind("PAREMIT_PLAT_TREMBLE"); |
| 156 | sEmitBreakaway = zParEmitterFind("PAREMIT_PLAT_BREAKAWAY"); |
| 157 | if (ent->subType == ZPLATFORM_SUBTYPE_PADDLE) |
| 158 | { |
| 159 | ent->tmr = 1e-9f; |
| 160 | ent->state = 2; |
| 161 | ent->ctr = ent->passet->paddle.startOrient; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | void zPlatform_Save(zPlatform* ent, xSerial* s) |
| 166 | { |
no test coverage detected