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_lastupdate = 0;
}
/*
Close the connection to the database
/*
Close the connection to the database
*/
Database::~Database()
{
unsigned int x;
@ -95,9 +96,9 @@ Database::~Database()
}
/*
Check if there is an account with name "name" and password "password"
Return the account id or zero if no account matches.
Zero will also be returned if there is a database error.
Check if there is an account with name "name" and password "password"
Return the account id or zero if no account matches.
Zero will also be returned if there is a database error.
*/
uint32 Database::CheckLogin(const char* name, const char* password, int16* oStatus) {

View File

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

View File

@ -458,11 +458,11 @@ bool Database::CheckDatabaseConversions() {
// }
/*
Automatic Database Upgrade Script
Script: db_update.pl V 1 - the number that world passes to the script will
force the script to check for a newer version to update itself with
db_update.pl ran_from_world - won't bring up a menu if your database versions match
db_update.pl - ran standalone will bring up a menu prompt
Automatic Database Upgrade Script
Script: db_update.pl V 1 - the number that world passes to the script will
force the script to check for a newer version to update itself with
db_update.pl ran_from_world - won't bring up a menu if your database versions match
db_update.pl - ran standalone will bring up a menu prompt
*/
/* Check for a new version of this script, the arg passed