--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-18 11:36:19 -06:00
2384 changed files with 9729 additions and 969 deletions
+1
View File
@@ -80,3 +80,4 @@ void AuthCrypt::GenerateKey(uint8 *key, BigNumber *bn)
hash.Finalize();
memcpy(key, hash.GetDigest(), SHA_DIGEST_LENGTH);
}
+1
View File
@@ -51,3 +51,4 @@ class AuthCrypt
bool _initialized;
};
#endif
+1
View File
@@ -207,3 +207,4 @@ const char *BigNumber::AsDecStr()
{
return BN_bn2dec(_bn);
}
+1
View File
@@ -94,3 +94,4 @@ class BigNumber
uint8 *_array;
};
#endif
+1
View File
@@ -56,3 +56,4 @@ void HmacHash::Finalize()
HMAC_Final(&m_ctx, m_digest, &length);
ASSERT(length == SHA_DIGEST_LENGTH)
}
+1
View File
@@ -46,3 +46,4 @@ class HmacHash
uint8 m_digest[SHA_DIGEST_LENGTH];
};
#endif
+1
View File
@@ -65,3 +65,4 @@ void Sha1Hash::Finalize(void)
{
SHA1_Final(mDigest, &mC);
}
+1
View File
@@ -51,3 +51,4 @@ class Sha1Hash
uint8 mDigest[SHA_DIGEST_LENGTH];
};
#endif
+1
View File
@@ -89,3 +89,4 @@ extern "C"
} /* end extern "C" */
#endif
#endif /* md5_INCLUDED */
+1
View File
@@ -65,3 +65,4 @@ int Base::GetRefCount ()
{
return RefCount;
}
+1
View File
@@ -52,3 +52,4 @@ class Base
};
#endif // __BASE_H__
+1
View File
@@ -505,3 +505,4 @@ template <typename K, typename V> ByteBuffer &operator>>(ByteBuffer &b, std::map
return b;
}
#endif
+1
View File
@@ -40,3 +40,4 @@ LocaleConstant GetLocaleByName(const std::string& name)
return LOCALE_enUS; // including enGB case
}
+1
View File
@@ -208,3 +208,4 @@ LocaleConstant GetLocaleByName(const std::string& name);
#endif
#endif
+1
View File
@@ -174,3 +174,4 @@ float Config::GetFloatDefault(const char* name, const float def)
float val;
return (GetFloat(name, &val) ? val : def);
}
+1
View File
@@ -58,3 +58,4 @@ class TRINITY_DLL_SPEC Config
#define sConfig Trinity::Singleton<Config>::Instance()
#endif
+1
View File
@@ -27,3 +27,4 @@
#include "Config.h"
#endif
@@ -586,3 +586,4 @@ void DOTCONFDocument::setRequiredOptionNames(const char ** requiredOptionNames)
++requiredOptionNames;
}
}
+1
View File
@@ -108,3 +108,4 @@ public:
};
#endif
+1
View File
@@ -98,3 +98,4 @@ char * AsyncDNSMemPool::strdup(const char *str)
{
return ::strcpy((char*)this->alloc(strlen(str)+1), str);
}
+1
View File
@@ -44,3 +44,4 @@ public:
};
#endif
+1
View File
@@ -321,3 +321,4 @@ enum SummonFlags
};
*/
#endif
+1
View File
@@ -709,3 +709,4 @@ uint32 const* GetTalentTabPages(uint32 cls)
TRINITY_DLL_SPEC DBCStorage <SoundEntriesEntry> const* GetSoundEntriesStore() { return &sSoundEntriesStore; }
TRINITY_DLL_SPEC DBCStorage <SpellEntry> const* GetSpellStore() { return &sSpellStore; }
TRINITY_DLL_SPEC DBCStorage <SpellRangeEntry> const* GetSpellRangeStore() { return &sSpellRangeStore; }
+1
View File
@@ -221,3 +221,4 @@ TRINITY_DLL_SPEC DBCStorage <SoundEntriesEntry> const* GetSoundEntriesStore();
TRINITY_DLL_SPEC DBCStorage <SpellEntry> const* GetSpellStore();
TRINITY_DLL_SPEC DBCStorage <SpellRangeEntry> const* GetSpellRangeStore();
#endif
+1
View File
@@ -1578,3 +1578,4 @@ typedef std::vector<TaxiPathNodeList> TaxiPathNodesByPath;
#define TaxiMaskSize 12
typedef uint32 TaxiMask[TaxiMaskSize];
#endif
+1
View File
@@ -171,3 +171,4 @@ bool Database::DirectPExecute(const char * format,...)
return DirectExecute(szQuery);
}
+1
View File
@@ -135,3 +135,4 @@ class TRINITY_DLL_SPEC Database
std::string m_logsDir;
};
#endif
+1
View File
@@ -56,3 +56,4 @@ extern DatabaseType CharacterDatabase;
extern DatabaseType LoginDatabase;
#endif
+1
View File
@@ -205,3 +205,4 @@ Database::DelayQueryHolder(Class *object, void (Class::*method)(QueryResult*, Sq
#undef ASYNC_QUERY_BODY
#undef ASYNC_PQUERY_BODY
#undef ASYNC_DELAYHOLDER_BODY
+1
View File
@@ -408,3 +408,4 @@ void DatabaseMysql::HaltDelayThread()
m_threadBody = NULL;
}
#endif
+1
View File
@@ -77,3 +77,4 @@ class TRINITY_DLL_SPEC DatabaseMysql : public Database
};
#endif
#endif
+1
View File
@@ -345,3 +345,4 @@ void DatabasePostgre::HaltDelayThread()
m_threadBody = NULL;
}
#endif
+1
View File
@@ -75,3 +75,4 @@ class DatabasePostgre : public Database
bool _TransactionCmd(const char *sql);
};
#endif
+1
View File
@@ -101,3 +101,4 @@ bool DatabaseSqlite::Execute(const char *sql)
return true;
}
#endif
+1
View File
@@ -43,3 +43,4 @@ class DatabaseSqlite : public Database
};
#endif
#endif
+1
View File
@@ -65,3 +65,4 @@ void Field::SetValue(const char *value)
else
mValue = NULL;
}
+1
View File
@@ -75,3 +75,4 @@ class Field
enum DataTypes mType;
};
#endif
+1
View File
@@ -30,3 +30,4 @@ class MySQLDelayThread : public SqlDelayThread
void Stop() { SqlDelayThread::Stop(); }
};
#endif //__MYSQLDELAYTHREAD_H
+1
View File
@@ -30,3 +30,4 @@ class PGSQLDelayThread : public SqlDelayThread
void Stop() { SqlDelayThread::Stop(); }
};
#endif //__PGSQLDELAYTHREAD_H
+1
View File
@@ -64,3 +64,4 @@ class TRINITY_DLL_SPEC QueryResult
FieldNames mFieldNames;
};
#endif
+1
View File
@@ -110,3 +110,4 @@ enum Field::DataTypes QueryResultMysql::ConvertNativeType(enum_field_types mysql
}
}
#endif
+1
View File
@@ -48,3 +48,4 @@ class QueryResultMysql : public QueryResult
};
#endif
#endif
@@ -139,3 +139,4 @@ enum Field::DataTypes QueryResultPostgre::ConvertNativeType(Oid pOid ) const
return Field::DB_TYPE_UNKNOWN;
}
#endif
+1
View File
@@ -48,3 +48,4 @@ class QueryResultPostgre : public QueryResult
uint32 mTableIndex;
};
#endif
@@ -96,3 +96,4 @@ enum Field::DataTypes QueryResultSqlite::ConvertNativeType(const char* sqliteTyp
return Field::DB_TYPE_UNKNOWN;
}
#endif
+1
View File
@@ -43,3 +43,4 @@ class QueryResultSqlite : public QueryResult
};
#endif
#endif
+1
View File
@@ -81,3 +81,4 @@ void SQLStorage::Load()
SQLStorageLoader loader;
loader.Load(*this);
}
+1
View File
@@ -114,3 +114,4 @@ struct SQLStorageLoader : public SQLStorageLoaderBase<SQLStorageLoader>
};
#endif
+1
View File
@@ -212,3 +212,4 @@ void SQLStorageLoaderBase<T>::Load(SQLStorage &store)
store.MaxEntry = maxi;
store.data = _data;
}
+1
View File
@@ -55,3 +55,4 @@ void SqlDelayThread::Stop()
{
m_running = false;
}
+1
View File
@@ -48,3 +48,4 @@ class SqlDelayThread : public ZThread::Runnable
virtual void run(); ///< Main Thread loop
};
#endif //__SQLDELAYTHREAD_H
+1
View File
@@ -199,3 +199,4 @@ void SqlQueryHolderEx::Execute(Database *db)
/// sync with the caller thread
m_queue->add(m_callback);
}
+1
View File
@@ -121,3 +121,4 @@ class SqlQueryHolderEx : public SqlOperation
void Execute(Database *db);
};
#endif //__SQLOPERATIONS_H
+1
View File
@@ -243,3 +243,4 @@ char* DBCFile::AutoProduceStrings(const char* format, char* dataTable)
return stringPool;
}
+1
View File
@@ -107,3 +107,4 @@ class DBCFile
unsigned char *stringTable;
};
#endif
+1
View File
@@ -29,3 +29,4 @@
#define ASSERT WPAssert
#endif
+1
View File
@@ -796,3 +796,4 @@ void error_db_log(const char * str, ...)
Trinity::Singleton<Log>::Instance().outErrorDb(buf);
}
+1
View File
@@ -165,3 +165,4 @@ void TRINITY_DLL_SPEC debug_log(const char * str, ...) ATTR_PRINTF(1,2);
void TRINITY_DLL_SPEC error_log(const char * str, ...) ATTR_PRINTF(1,2);
void TRINITY_DLL_SPEC error_db_log(const char * str, ...) ATTR_PRINTF(1,2);
#endif
+1
View File
@@ -203,3 +203,4 @@ MMutex *MMutex::Create ()
return mutex;
}
#endif
+1
View File
@@ -60,3 +60,4 @@ class MMutex : public Base
virtual void Unlock ();
};
#endif // MTHREAD_H
+1
View File
@@ -157,3 +157,4 @@ void PacketLog::WorldHexDump(WorldPacket* data, uint32 socket, bool direction)
HexDump((char *)data->contents(), data->size(), "world.log");
}
+1
View File
@@ -46,3 +46,4 @@ class PacketLog
#define sPacketLog Trinity::Singleton<PacketLog>::Instance()
#endif
+1
View File
@@ -80,3 +80,4 @@ void barGoLink::step( void )
rec_pos = n;
}
}
+1
View File
@@ -40,3 +40,4 @@ class TRINITY_DLL_SPEC barGoLink
~barGoLink();
};
#endif
+1
View File
@@ -260,3 +260,4 @@ bool WinServiceRun()
return true;
}
#endif
+1
View File
@@ -28,3 +28,4 @@ bool WinServiceRun();
#endif // _WIN32_SERVICE_
#endif // WIN32
+1
View File
@@ -52,3 +52,4 @@
#define DEFAULT_REALMSERVER_PORT 3724
#define DEFAULT_SOCKET_SELECT_TIME 10000
#endif
+1
View File
@@ -96,3 +96,4 @@ struct TimeTrackerSmall
};
#endif
+1
View File
@@ -425,3 +425,4 @@ bool Utf8FitTo(const std::string& str, std::wstring search)
return true;
}
-1
View File
@@ -544,4 +544,3 @@ public:
return (part[el]);
};
};
#endif
+1
View File
@@ -1013,3 +1013,4 @@ int __cdecl WheatyExceptionReport::_tprintf(const TCHAR * format, ...)
return retValue;
}
+1
View File
@@ -115,3 +115,4 @@ class WheatyExceptionReport
extern WheatyExceptionReport g_WheatyExceptionReport; // global instance of class
#endif //WheatyExceptionReport
+1
View File
@@ -51,3 +51,4 @@ class WorldPacket : public ByteBuffer
uint16 m_opcode;
};
#endif
+1
View File
@@ -1618,3 +1618,4 @@ public:
+1
View File
@@ -95,3 +95,4 @@ namespace VMAP
}
} // VMAP
+1
View File
@@ -99,3 +99,4 @@ namespace VMAP
}
#endif /*BASEMODEL_H_*/
+1
View File
@@ -187,3 +187,4 @@ namespace VMAP
//=================================================================
}
+1
View File
@@ -144,3 +144,4 @@ namespace VMAP
};
}
#endif /*_COORDMODELMAPPING_H_*/
+1
View File
@@ -125,3 +125,4 @@ namespace VMAP
}
//========================================================
}
+1
View File
@@ -116,3 +116,4 @@ namespace VMAP
}
#endif
+1
View File
@@ -99,3 +99,4 @@ namespace VMAP
}
#endif
@@ -35,3 +35,4 @@ namespace VMAP
}
}
+1
View File
@@ -49,3 +49,4 @@ namespace VMAP
//=======================================================
}
#endif
+1
View File
@@ -375,3 +375,4 @@ namespace VMAP
}
//=================================================================
} // VMAP
+1
View File
@@ -108,3 +108,4 @@ namespace VMAP
void getBounds(const ModelContainer* pMc, G3D::AABox& pAABox);
}
#endif
+1
View File
@@ -48,3 +48,4 @@ namespace VMAP
};
}
#endif
+1
View File
@@ -148,3 +148,4 @@ namespace VMAP
}
#endif
+1
View File
@@ -134,3 +134,4 @@ namespace VMAP
};
}
#endif
+1
View File
@@ -248,3 +248,4 @@ namespace VMAP
//==========================================================
}
+1
View File
@@ -102,3 +102,4 @@ namespace VMAP
//====================================
} // VMAP
#endif
+1
View File
@@ -570,3 +570,4 @@ namespace VMAP
//==========================================
} // VMAP
+1
View File
@@ -93,3 +93,4 @@ namespace VMAP
//===============================================
} // VMAP
#endif /*_TILEASSEMBLER_H_*/
+1
View File
@@ -37,3 +37,4 @@ namespace VMAP
//=================================================================
//=================================================================
}
+1
View File
@@ -223,3 +223,4 @@ namespace VMAP
};
}
#endif
+1
View File
@@ -37,3 +37,4 @@ namespace VMAP
//======================================
}
#endif
+1
View File
@@ -110,3 +110,4 @@ namespace VMAP
}
}
}
+1
View File
@@ -43,3 +43,4 @@ namespace VMAP
}
#endif
+1
View File
@@ -774,3 +774,4 @@ namespace VMAP
//=========================================================
//=========================================================
}
+1
View File
@@ -173,3 +173,4 @@ namespace VMAP
};
}
#endif
+1
View File
@@ -150,3 +150,4 @@ namespace VMAP
};
}
#endif