| 153 | |
| 154 | |
| 155 | void CScriptObjectSystem::InitializeTemplate(IScriptSystem *pSS) |
| 156 | { |
| 157 | _ScriptableEx<CScriptObjectSystem>::InitializeTemplate(pSS); |
| 158 | |
| 159 | m_pScriptTimeTable = pSS->CreateObject(); |
| 160 | |
| 161 | REG_FUNC(CScriptObjectSystem,CreateDownload); |
| 162 | REG_FUNC(CScriptObjectSystem,LoadFont); |
| 163 | REG_FUNC(CScriptObjectSystem,ExecuteCommand); |
| 164 | REG_FUNC(CScriptObjectSystem,LogToConsole); |
| 165 | REG_FUNC(CScriptObjectSystem,LogAlways); |
| 166 | REG_FUNC(CScriptObjectSystem,ClearConsole); |
| 167 | REG_FUNC(CScriptObjectSystem,GetConsoleKeyName); |
| 168 | REG_FUNC(CScriptObjectSystem,Log); |
| 169 | REG_FUNC(CScriptObjectSystem,Warning); |
| 170 | REG_FUNC(CScriptObjectSystem,Error); |
| 171 | REG_FUNC(CScriptObjectSystem,GetCurrTime); |
| 172 | REG_FUNC(CScriptObjectSystem,GetCurrAsyncTime); |
| 173 | REG_FUNC(CScriptObjectSystem,GetFrameTime); |
| 174 | REG_FUNC(CScriptObjectSystem,GetLocalOSTime); |
| 175 | //REG_FUNC(CScriptObjectSystem,PostMessage); |
| 176 | REG_FUNC(CScriptObjectSystem,DrawLabelImage); |
| 177 | REG_FUNC(CScriptObjectSystem,GetEntity);//<<FIXME>> move to server |
| 178 | REG_FUNC(CScriptObjectSystem,GetEntities);//<<FIXME>> move to server |
| 179 | REG_FUNC(CScriptObjectSystem,GetEntitiesInRadius); |
| 180 | REG_FUNC(CScriptObjectSystem,GetTeamMembers); |
| 181 | //REG_FUNC(CScriptObjectSystem,GetMyPlayer); |
| 182 | REG_FUNC(CScriptObjectSystem,GetEntityByName);//<<FIXME>> remove |
| 183 | REG_FUNC(CScriptObjectSystem,LoadAnimatedTexture); |
| 184 | REG_FUNC(CScriptObjectSystem,LoadTexture); |
| 185 | REG_FUNC(CScriptObjectSystem,LoadObject); |
| 186 | REG_FUNC(CScriptObjectSystem,DrawSprite); |
| 187 | REG_FUNC(CScriptObjectSystem,DeformTerrain); |
| 188 | //REG_FUNC(CScriptObjectSystem,SetSurfacePairParameters); |
| 189 | REG_FUNC(CScriptObjectSystem,ScreenToTexture); |
| 190 | REG_FUNC(CScriptObjectSystem,LoadImage); |
| 191 | REG_FUNC(CScriptObjectSystem,FreeImage); |
| 192 | // REG_FUNC(CScriptObjectSystem,UnloadImage); |
| 193 | REG_FUNC(CScriptObjectSystem,DrawLine); |
| 194 | REG_FUNC(CScriptObjectSystem,Draw2DLine); |
| 195 | REG_FUNC(CScriptObjectSystem,DrawImage); |
| 196 | REG_FUNC(CScriptObjectSystem,DrawImageColor); |
| 197 | REG_FUNC(CScriptObjectSystem,DrawImageCoords); |
| 198 | REG_FUNC(CScriptObjectSystem,DrawImageColorCoords); |
| 199 | REG_FUNC(CScriptObjectSystem,DrawTriStrip); |
| 200 | REG_FUNC(CScriptObjectSystem,SetWorldColorRatio); |
| 201 | REG_FUNC(CScriptObjectSystem,SetGammaDelta); |
| 202 | REG_FUNC(CScriptObjectSystem,DrawRectShader); |
| 203 | REG_FUNC(CScriptObjectSystem,SetScreenShader); |
| 204 | |
| 205 | REG_FUNC(CScriptObjectSystem,ShowConsole); |
| 206 | |
| 207 | // tiago: added |
| 208 | REG_FUNC(CScriptObjectSystem,SetScreenFx); |
| 209 | REG_FUNC(CScriptObjectSystem,SetScreenFxParamInt); |
| 210 | REG_FUNC(CScriptObjectSystem,SetScreenFxParamFloat); |
| 211 | REG_FUNC(CScriptObjectSystem,GetScreenFx); |
| 212 | REG_FUNC(CScriptObjectSystem,GetScreenFxParamInt); |
nothing calls this directly
no test coverage detected