Scheduling
| 62 | |
| 63 | // Scheduling |
| 64 | void zNPCSleepy_Timestep(F32 dt) |
| 65 | { |
| 66 | static S8 init; |
| 67 | static F32 tmr_cycle; |
| 68 | |
| 69 | if (init == 0) |
| 70 | { |
| 71 | init = 1; |
| 72 | tmr_cycle = 0.0f; |
| 73 | } |
| 74 | |
| 75 | F32 dVar1 = NPCC_TmrCycle(&tmr_cycle, 0.01666667f, 2.63f); |
| 76 | zNPCSleepy::hyt_NightLightCurrent = 4.0f; |
| 77 | zNPCSleepy::hyt_NightLightCurrent += (0.35f * isin(PI * dVar1)); |
| 78 | } |
| 79 | |
| 80 | void zNPCFodBzzt_DoTheHokeyPokey(F32 dt); |
| 81 | void ZNPC_Destroy_Robot(xFactoryInst* inst); |
no test coverage detected