Permalink
Browse files

Apply source code formatting

  • Loading branch information...
codenulls committed Dec 13, 2018
1 parent 4fcaace commit 2194c297fc092366715c76a4d84319c0eb4550b0
Showing with 641 additions and 654 deletions.
  1. +2 −1 Client/game_sa/CExplosionSA.cpp
  2. +0 −1 Client/game_sa/CGameSA.cpp
  3. +1 −1 Client/game_sa/CPlayerPedSA.cpp
  4. +272 −272 Client/game_sa/CPoolsSA.cpp
  5. +12 −11 Client/game_sa/CPoolsSA.h
  6. +3 −3 Client/game_sa/CVehicleSA.cpp
  7. +2 −2 Client/game_sa/CVehicleSA.h
  8. +2 −2 Client/game_sa/CVehicleScannerSA.cpp
  9. +1 −1 Client/game_sa/TaskPhysicalResponseSA.cpp
  10. +2 −2 Client/mods/deathmatch/CVoiceRecorder.cpp
  11. +1 −1 Client/mods/deathmatch/logic/CClientExplosionManager.cpp
  12. +35 −33 Client/mods/deathmatch/logic/CClientGame.cpp
  13. +1 −0 Client/mods/deathmatch/logic/CClientGame.h
  14. +24 −24 Client/mods/deathmatch/logic/CClientPed.cpp
  15. +1 −1 Client/mods/deathmatch/logic/CClientPlayerVoice.h
  16. +1 −1 Client/mods/deathmatch/logic/CClientProjectileManager.cpp
  17. +21 −22 Client/mods/deathmatch/logic/CClientVehicle.cpp
  18. +5 −5 Client/mods/deathmatch/logic/CClientVehicle.h
  19. +1 −1 Client/mods/deathmatch/logic/CClientWeapon.cpp
  20. +1 −2 Client/mods/deathmatch/logic/CElementDeleter.cpp
  21. +5 −5 Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp
  22. +24 −24 Client/multiplayer_sa/CMultiplayerSA.cpp
  23. +9 −9 Client/multiplayer_sa/CMultiplayerSA_1.3.cpp
  24. +1 −1 Client/multiplayer_sa/CMultiplayerSA_CrashFixHacks.cpp
  25. +1 −1 Client/multiplayer_sa/CMultiplayerSA_FixBadAnimId.cpp
  26. +1 −1 Client/multiplayer_sa/CMultiplayerSA_VehicleDamage.cpp
  27. +3 −7 Client/multiplayer_sa/CMultiplayerSA_VehicleWeapons.cpp
  28. +1 −1 Client/multiplayer_sa/CRemoteDataSA.cpp
  29. +3 −3 Client/multiplayer_sa/multiplayer_keysync.cpp
  30. +25 −25 Client/multiplayer_sa/multiplayer_shotsync.cpp
  31. +10 −12 Client/sdk/game/CPools.h
  32. +3 −3 Server/mods/deathmatch/logic/CGame.cpp
  33. +8 −8 Server/mods/deathmatch/logic/CHandlingManager.cpp
  34. +1 −1 Server/mods/deathmatch/logic/CResourceChecker.Data.h
  35. +3 −3 Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp
  36. +22 −31 Shared/mods/deathmatch/logic/luadefs/CLuaFileDefs.cpp
  37. +29 −29 Shared/sdk/CScriptArgReader.h
  38. +104 −104 vendor/bass/basswma.h
@@ -48,7 +48,8 @@ CEntity* CExplosionSA::GetExplosionCreator(void)
SClientEntity<CPedSA>* pPedClientEntity = pools->GetPed((DWORD*)entity->m_pInterface);
if (pPedClientEntity)
{
return pPedClientEntity->pEntity;;
return pPedClientEntity->pEntity;
;
}
break;
}
@@ -862,4 +862,3 @@ CPed* CGameSA::GetPedContext(void)
m_pPedContext = pGame->GetPools()->GetPedFromRef((DWORD)1);
return m_pPedContext;
}

@@ -495,7 +495,7 @@ int GetAnimPose(int iAnim)
__declspec(noinline) int _cdecl OnCPlayerPed_ProcessAnimGroups_Mid(CPlayerPedSAInterface* pPlayerPedSAInterface, int iReqMoveAnim)
{
SClientEntity<CPedSA>* pPedClientEntity = pGame->GetPools()->GetPed((DWORD*)pPlayerPedSAInterface);
CPed* pPed = pPedClientEntity ? pPedClientEntity->pEntity : nullptr;
CPed* pPed = pPedClientEntity ? pPedClientEntity->pEntity : nullptr;

if (pPed)
{
Oops, something went wrong.

0 comments on commit 2194c29

Please sign in to comment.