diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2017-01-22 19:09:18 +0300 |
---|---|---|
committer | Jan Klass <kissaki@posteo.de> | 2017-01-29 15:02:58 +0300 |
commit | 474b3700aeef869ca2df37227e9e27aea982e6fe (patch) | |
tree | 8e863342e2ba16fbe8d62aef98ecbc7f03311760 /plugins/borderlands2 | |
parent | 82d385f6bdd6de8d80b3aa28c87947eb0df12d57 (diff) |
plugins: Fix indentation and whitespace
* Use tabs for indentation
* Remove trailing whitespace
* Space indentation for alignment
Diffstat (limited to 'plugins/borderlands2')
-rw-r--r-- | plugins/borderlands2/borderlands2.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/borderlands2/borderlands2.cpp b/plugins/borderlands2/borderlands2.cpp index 912e20d8c..ab4c3400d 100644 --- a/plugins/borderlands2/borderlands2.cpp +++ b/plugins/borderlands2/borderlands2.cpp @@ -5,13 +5,13 @@ /* Copyright (C) 2013, Steve Hill <github@cheesy.sackheads.org> Copyright (C) 2013, Gabriel Risterucci <cleyfaye@gmail.com> - Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com> + Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com> All rights reserved. - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions - are met: + are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. @@ -120,9 +120,9 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi // pos.Y = 3794 // pos.Z = 2930 // The "state" ptr is just a value that reliably alternate between 0 (in main menu) - // and 1 (not in main menu). There is a lot of value that keep reliably changing even + // and 1 (not in main menu). There is a lot of value that keep reliably changing even // across restart, change of characters... - // Note that I couldn't find an address that would do this reliably with the game "pause" + // Note that I couldn't find an address that would do this reliably with the game "pause" // menu, only the main menu (when you initially start the game, or completely exit your // current game) @@ -137,7 +137,7 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi // 1.3.1 if (peekProc(pModule + 0x1E6D048, detected_version) - && VERSION_EQ(detected_version, "WILLOW2-PCSAGE-28-CL697606")) + && VERSION_EQ(detected_version, "WILLOW2-PCSAGE-28-CL697606")) { vects_ptr = pModule + 0x1E792B0; state_ptr = pModule + 0x1E79BC8; @@ -145,7 +145,7 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi } // 1.4.0 else if (peekProc(pModule + 0x1E8D1D8, detected_version) - && VERSION_EQ(detected_version, "WILLOW2-PCSAGE-77-CL711033")) + && VERSION_EQ(detected_version, "WILLOW2-PCSAGE-77-CL711033")) { vects_ptr = pModule + 0x1E993F0; state_ptr = pModule + 0x1E99D08; @@ -153,7 +153,7 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi } // 1.5.0 else if (peekProc(pModule + 0x01E9F338, detected_version) - && VERSION_EQ(detected_version, "WILLOW2-PCLILAC-60-CL721220")) + && VERSION_EQ(detected_version, "WILLOW2-PCLILAC-60-CL721220")) { vects_ptr = pModule + 0x1EAB650; state_ptr = pModule + 0x1EABF68; @@ -161,7 +161,7 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi } // 1.7.0 else if (peekProc(pModule + 0x01ED53A8, detected_version) - && VERSION_EQ(detected_version, "WILLOW2-PCALLIUM-55-CL770068")) + && VERSION_EQ(detected_version, "WILLOW2-PCALLIUM-55-CL770068")) { vects_ptr = pModule + 0x1EE18E0; state_ptr = pModule + 0x1EE21F8; @@ -169,7 +169,7 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi } // 1.8.3 else if (peekProc(pModule + 0x1EE63C8, detected_version) - && VERSION_EQ(detected_version, "WILLOW2-PCCHINA-29-CL827556")) + && VERSION_EQ(detected_version, "WILLOW2-PCCHINA-29-CL827556")) { vects_ptr = pModule + 0x1EF2930; state_ptr = pModule + 0x1EF3248; |