| 53 | } |
| 54 | |
| 55 | static bool callUpdateFunction(Animation& anim) |
| 56 | { |
| 57 | switch (anim.type) |
| 58 | { |
| 59 | case 0: |
| 60 | return updateSignalAnimation(anim); |
| 61 | case 1: |
| 62 | return updateLevelCrossingAnimation(anim); |
| 63 | case 2: |
| 64 | return false; |
| 65 | case 3: |
| 66 | return updateIndustryAnimation1(anim); |
| 67 | case 4: |
| 68 | return updateIndustryAnimation2(anim); |
| 69 | case 5: |
| 70 | return updateBuildingAnimation1(anim); |
| 71 | case 6: |
| 72 | return updateBuildingAnimation2(anim); |
| 73 | case 7: |
| 74 | return updateAirportStationAnimation(anim); |
| 75 | case 8: |
| 76 | return updateDockStationAnimation(anim); |
| 77 | } |
| 78 | assert(false); |
| 79 | return false; |
| 80 | } |
| 81 | |
| 82 | // 0x004612EC |
| 83 | void update() |
no test coverage detected