Mercurial > mm7
comparison mm7_5.cpp @ 871:710cf848ad24
Particle engine made working.
author | Nomad |
---|---|
date | Mon, 01 Apr 2013 13:39:19 +0200 |
parents | d061180f2b42 |
children | 2db21a810d48 |
comparison
equal
deleted
inserted
replaced
838:d061180f2b42 | 871:710cf848ad24 |
---|---|
3958 else | 3958 else |
3959 result = 16192.0; | 3959 result = 16192.0; |
3960 return result; | 3960 return result; |
3961 } | 3961 } |
3962 | 3962 |
3963 //----- (0043643E) -------------------------------------------------------- | |
3964 double __cdecl GetPickDepth() | |
3965 { | |
3966 double result; // st7@2 | |
3967 | |
3968 if ( uCurrentlyLoadedLevelType == LEVEL_Outdoor) | |
3969 result = (double)pOutdoorCamera->uPickDepth; | |
3970 else | |
3971 result = 16192.0; | |
3972 return result; | |
3973 } | |
3974 | |
3975 //----- (0043648F) -------------------------------------------------------- | 3963 //----- (0043648F) -------------------------------------------------------- |
3976 void Vec3_short__to_RenderVertexSoft(RenderVertexSoft *_this, Vec3_short_ *a2) | 3964 void Vec3_short__to_RenderVertexSoft(RenderVertexSoft *_this, Vec3_short_ *a2) |
3977 { | 3965 { |
3978 _this->flt_2C = 0.0; | 3966 _this->flt_2C = 0.0; |
3979 | 3967 |
6279 goto LABEL_11; | 6267 goto LABEL_11; |
6280 } | 6268 } |
6281 //LABEL_15: | 6269 //LABEL_15: |
6282 pSex = 1; | 6270 pSex = 1; |
6283 return pSex;*/ | 6271 return pSex;*/ |
6284 for (uint i = 1; i <= 4; pPlayers[i]) | 6272 for (uint i = 1; i <= 4; ++i) |
6285 { | 6273 { |
6286 pRace = pPlayers[i]->GetRace(); | 6274 pRace = pPlayers[i]->GetRace(); |
6287 pSex = pPlayers[i]->GetSexByVoice(); | 6275 pSex = pPlayers[i]->GetSexByVoice(); |
6288 if (pRace == 0 || pRace == 1 || pRace == 2 || pSex == 0 ) | 6276 if (pRace == 0 || pRace == 1 || pRace == 2 || pSex == 0 ) |
6289 return 1; | 6277 return 1; |