Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2009-01-05 18:15:36 +0300
committerThorvald Natvig <slicer@users.sourceforge.net>2009-01-05 18:15:36 +0300
commitec7f8cb3174fdcba42820c312c7d82d8a6487801 (patch)
treec5606b0248e01e42a367c9d193f7c8562514a150 /plugins/cod4
parent1f33cb821b66815c764740e388916b160c836672 (diff)
Indenting update
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1382 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'plugins/cod4')
-rw-r--r--plugins/cod4/cod4.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/cod4/cod4.cpp b/plugins/cod4/cod4.cpp
index d18c537cd..37d66168c 100644
--- a/plugins/cod4/cod4.cpp
+++ b/plugins/cod4/cod4.cpp
@@ -1,4 +1,4 @@
-#define _USE_MATH_DEFINES
+#define _USE_MATH_DEFINES
#include <stdio.h>
#include <stdlib.h>
@@ -78,18 +78,18 @@ static int fetch(float *pos, float *front, float *top) {
*/
if (state != 4)
return true; // This results in all vectors beeing zero which tells mumble to ignore them.
-
+
ok = peekProc((BYTE *) 0x0072AFD0, pos+2, 4) && //Z
- peekProc((BYTE *) 0x0072AFE0, pos, 4) && //X
- peekProc((BYTE *) 0x0072AFF0, pos+1, 4) && //Y
- peekProc((BYTE *) 0x0072AF3C, &viewHor, 4) && //Hor
- peekProc((BYTE *) 0x0072AF38, &viewVer, 4); //Ver
+ peekProc((BYTE *) 0x0072AFE0, pos, 4) && //X
+ peekProc((BYTE *) 0x0072AFF0, pos+1, 4) && //Y
+ peekProc((BYTE *) 0x0072AF3C, &viewHor, 4) && //Hor
+ peekProc((BYTE *) 0x0072AF38, &viewVer, 4); //Ver
if (! ok)
return false;
// Scale Coordinates
- /*
+ /*
Z-Value is increasing when heading north
decreasing when heading south
X-Value is increasing when heading west