mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-17 20:41:33 -07:00
Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212)
--------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> Co-authored-by: ebbit1q <ebbit1q@gmail.com>
This commit is contained in:
parent
be1403c920
commit
1ef07309d6
605 changed files with 3812 additions and 3408 deletions
|
|
@ -1,11 +1,9 @@
|
|||
#include "dlg_manage_sets.h"
|
||||
|
||||
#include "../client/network/sets_model.h"
|
||||
#include "../database/card_database_manager.h"
|
||||
#include "../deck/custom_line_edit.h"
|
||||
#include "../interface/card_picture_loader/card_picture_loader.h"
|
||||
#include "../main.h"
|
||||
#include "../picture_loader/picture_loader.h"
|
||||
#include "../settings/cache_settings.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QCheckBox>
|
||||
|
|
@ -22,6 +20,8 @@
|
|||
#include <QToolBar>
|
||||
#include <QTreeView>
|
||||
#include <algorithm>
|
||||
#include <libcockatrice/card/card_database/card_database_manager.h>
|
||||
#include <libcockatrice/settings/cache_settings.h>
|
||||
|
||||
#define SORT_RESET -1
|
||||
|
||||
|
|
@ -251,7 +251,7 @@ void WndSets::actSave()
|
|||
{
|
||||
model->save(CardDatabaseManager::getInstance());
|
||||
SettingsCache::instance().setIncludeRebalancedCards(includeRebalancedCards);
|
||||
PictureLoader::clearPixmapCache();
|
||||
CardPictureLoader::clearPixmapCache();
|
||||
close();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue