------------------------- FX_Init Preps system for use -------------------------
| 102 | // Preps system for use |
| 103 | //------------------------- |
| 104 | int FX_Init( void ) |
| 105 | { |
| 106 | if ( fxInitialized == qfalse ) |
| 107 | { |
| 108 | fxInitialized = qtrue; |
| 109 | |
| 110 | for ( int i = 0; i < MAX_EFFECTS; i++ ) |
| 111 | { |
| 112 | effectList[i].mEffect = 0; |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | FX_Free(); |
| 117 | |
| 118 | mMax = 0; |
| 119 | mMaxTime = 0; |
| 120 | |
| 121 | nextValidEffect = &effectList[0]; |
| 122 | theFxHelper.Init(); |
| 123 | |
| 124 | // ( nothing to see here, go away ) |
| 125 | // |
| 126 | extern void FX_CopeWithAnyLoadedSaveGames(); |
| 127 | FX_CopeWithAnyLoadedSaveGames(); |
| 128 | |
| 129 | return true; |
| 130 | } |
| 131 | |
| 132 | |
| 133 | //------------------------- |
no test coverage detected