diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-12-02 00:51:02 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-12-02 00:51:02 +0300 |
commit | 0cbf4196610df7c44d5edfe98126a1af42d0e19f (patch) | |
tree | ba3140e390d3c310c078f3eca20e4c5f8bdcc07c /plugins/aoc | |
parent | fdc826139562dad3158305f3692c07e4305dce47 (diff) |
Indent, changelog and submodule update1.2.0beta2
Diffstat (limited to 'plugins/aoc')
-rw-r--r-- | plugins/aoc/aoc.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/aoc/aoc.cpp b/plugins/aoc/aoc.cpp index 2f5b962e0..4136e96ae 100644 --- a/plugins/aoc/aoc.cpp +++ b/plugins/aoc/aoc.cpp @@ -133,15 +133,15 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa sTeam = "Unknown"; break; } - + new_context << "<context>" - << "<game>aoc</game>" - << "<hostport>" << chHostStr << "</hostport>" - << "<team>" << sTeam << "</team>" - << "</context>"; + << "<game>aoc</game>" + << "<hostport>" << chHostStr << "</hostport>" + << "<team>" << sTeam << "</team>" + << "</context>"; context = new_context.str(); -// // - +// // + /* TODO new_identity << "<identity>" << "<name>" << "SAS" << "</name>" @@ -203,11 +203,11 @@ static int trylock() { hostptr = mod_engine + 0x3bf69f; teamptr = mod + 0x71a0a4; - //Gamecheck + //Gamecheck char sMagic[13]; if (!peekProc(mod + 0x7071e8, sMagic, 13) || strncmp("ageofchivalry", sMagic, 13)!=0) return false; - + // Check if we can get meaningful data from it float apos[3], afront[3], atop[3]; float cpos[3], cfront[3], ctop[3]; |