mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-17 04:27:45 -07:00
Refactor: move last token info into struct (#5808)
* add override * refactor token info into struct * correct default destroy value
This commit is contained in:
parent
0bd53d6dc7
commit
56bbd8a172
4 changed files with 45 additions and 56 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define PLAYER_H
|
||||
|
||||
#include "../../client/tearoff_menu.h"
|
||||
#include "../../dialogs/dlg_create_token.h"
|
||||
#include "../board/abstract_graphics_item.h"
|
||||
#include "../cards/card_database.h"
|
||||
#include "../filters/filter_string.h"
|
||||
|
|
@ -291,9 +292,10 @@ private:
|
|||
int defaultNumberTopCardsToPlaceBelow = 1;
|
||||
int defaultNumberBottomCards = 1;
|
||||
int defaultNumberDieRoll = 20;
|
||||
QString lastTokenName, lastTokenColor, lastTokenPT, lastTokenAnnotation;
|
||||
bool lastTokenDestroy;
|
||||
|
||||
TokenInfo lastTokenInfo;
|
||||
int lastTokenTableRow;
|
||||
|
||||
ServerInfo_User *userInfo;
|
||||
int id;
|
||||
bool active;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue