Updated database control, character stats are saving
Just for the record, I don't like the way SAVE_CHARACTER is expanded like that.
This commit is contained in:
@@ -29,6 +29,8 @@ struct AccountData {
|
||||
//TODO: password
|
||||
bool blackListed = false;
|
||||
bool whiteListed = true;
|
||||
bool mod = false;
|
||||
bool admin = false;
|
||||
|
||||
int clientIndex;
|
||||
};
|
||||
|
||||
@@ -48,6 +48,7 @@ struct CharacterData {
|
||||
int mapIndex = 0;
|
||||
Vector2 origin = {0.0,0.0};
|
||||
Vector2 motion = {0.0,0.0};
|
||||
Vector2 bounds = {0.0,0.0};
|
||||
|
||||
//base statistics
|
||||
Statistics stats;
|
||||
@@ -69,7 +70,6 @@ struct CharacterData {
|
||||
#ifdef GRAPHICS
|
||||
SpriteSheet sprite;
|
||||
#endif
|
||||
Vector2 bounds = {0.0,0.0};
|
||||
bool inCombat = false;
|
||||
int atbGauge = 0;
|
||||
//TODO: stored command
|
||||
|
||||
Reference in New Issue
Block a user