Misc formatting changes

This commit is contained in:
Akkadius 2015-01-24 23:49:29 -06:00
parent 06b8ce6017
commit 60e17bbeaa
3 changed files with 16 additions and 21 deletions

View File

@ -79,10 +79,11 @@ void Database::DBInitVars() {
varcache_max = 0; varcache_max = 0;
varcache_lastupdate = 0; varcache_lastupdate = 0;
} }
/*
Close the connection to the database /*
Close the connection to the database
*/ */
Database::~Database() Database::~Database()
{ {
unsigned int x; unsigned int x;
@ -95,9 +96,9 @@ Database::~Database()
} }
/* /*
Check if there is an account with name "name" and password "password" Check if there is an account with name "name" and password "password"
Return the account id or zero if no account matches. Return the account id or zero if no account matches.
Zero will also be returned if there is a database error. Zero will also be returned if there is a database error.
*/ */
uint32 Database::CheckLogin(const char* name, const char* password, int16* oStatus) { uint32 Database::CheckLogin(const char* name, const char* password, int16* oStatus) {

View File

@ -53,9 +53,9 @@ struct EventLogDetails_Struct {
}; };
struct CharacterEventLog_Struct { struct CharacterEventLog_Struct {
uint32 count; uint32 count;
uint8 eventid; uint8 eventid;
EventLogDetails_Struct eld[255]; EventLogDetails_Struct eld[255];
}; };
struct npcDecayTimes_Struct { struct npcDecayTimes_Struct {
@ -261,17 +261,11 @@ private:
VarCache_Struct** varcache_array; VarCache_Struct** varcache_array;
uint32 varcache_lastupdate; uint32 varcache_lastupdate;
/* Groups, utility methods. */
/*
* Groups, utility methods.
*/
void ClearAllGroupLeaders(); void ClearAllGroupLeaders();
void ClearAllGroups(); void ClearAllGroups();
/* Raid, utility methods. */
/*
* Raid, utility methods.
*/
void ClearAllRaids(); void ClearAllRaids();
void ClearAllRaidDetails(); void ClearAllRaidDetails();
void ClearAllRaidLeaders(); void ClearAllRaidLeaders();