mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 13:33:55 -07:00
Clean up game/zones/logic folder.
Took 6 minutes
This commit is contained in:
parent
a474182603
commit
e6820a1c8d
33 changed files with 40 additions and 40 deletions
|
|
@ -104,12 +104,12 @@ set(cockatrice_SOURCES
|
||||||
src/game/player/player_manager.cpp
|
src/game/player/player_manager.cpp
|
||||||
src/game/player/player_target.cpp
|
src/game/player/player_target.cpp
|
||||||
src/game/replay.cpp
|
src/game/replay.cpp
|
||||||
src/game/zones/logic/card_zone_logic.cpp
|
src/game/zones/card_zone_logic.cpp
|
||||||
src/game/zones/logic/hand_zone_logic.cpp
|
src/game/zones/hand_zone_logic.cpp
|
||||||
src/game/zones/logic/pile_zone_logic.cpp
|
src/game/zones/pile_zone_logic.cpp
|
||||||
src/game/zones/logic/stack_zone_logic.cpp
|
src/game/zones/stack_zone_logic.cpp
|
||||||
src/game/zones/logic/table_zone_logic.cpp
|
src/game/zones/table_zone_logic.cpp
|
||||||
src/game/zones/logic/view_zone_logic.cpp
|
src/game/zones/view_zone_logic.cpp
|
||||||
src/game_graphics/zones/card_zone.cpp
|
src/game_graphics/zones/card_zone.cpp
|
||||||
src/game_graphics/zones/hand_zone.cpp
|
src/game_graphics/zones/hand_zone.cpp
|
||||||
src/game_graphics/zones/pile_zone.cpp
|
src/game_graphics/zones/pile_zone.cpp
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
#include "../phase.h"
|
#include "../phase.h"
|
||||||
#include "../player/player.h"
|
#include "../player/player.h"
|
||||||
#include "../player/player_actions.h"
|
#include "../player/player_actions.h"
|
||||||
#include "../zones/logic/view_zone_logic.h"
|
#include "../zones/view_zone_logic.h"
|
||||||
#include "arrow_item.h"
|
#include "arrow_item.h"
|
||||||
#include "card_drag_item.h"
|
#include "card_drag_item.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef CARDITEM_H
|
#ifndef CARDITEM_H
|
||||||
#define CARDITEM_H
|
#define CARDITEM_H
|
||||||
|
|
||||||
#include "../zones/logic/card_zone_logic.h"
|
#include "../zones/card_zone_logic.h"
|
||||||
#include "abstract_card_item.h"
|
#include "abstract_card_item.h"
|
||||||
|
|
||||||
#include <libcockatrice/network/server/remote/game/server_card.h>
|
#include <libcockatrice/network/server/remote/game/server_card.h>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef GAMESCENE_H
|
#ifndef GAMESCENE_H
|
||||||
#define GAMESCENE_H
|
#define GAMESCENE_H
|
||||||
|
|
||||||
#include "zones/logic/card_zone_logic.h"
|
#include "zones/card_zone_logic.h"
|
||||||
|
|
||||||
#include <QGraphicsScene>
|
#include <QGraphicsScene>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
#define MESSAGELOGWIDGET_H
|
#define MESSAGELOGWIDGET_H
|
||||||
|
|
||||||
#include "../../interface/widgets/server/chat_view/chat_view.h"
|
#include "../../interface/widgets/server/chat_view/chat_view.h"
|
||||||
#include "../zones/logic/card_zone_logic.h"
|
#include "../zones/card_zone_logic.h"
|
||||||
|
|
||||||
class AbstractGame;
|
class AbstractGame;
|
||||||
class CardItem;
|
class CardItem;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
#include "../../../client/settings/card_counter_settings.h"
|
#include "../../../client/settings/card_counter_settings.h"
|
||||||
#include "../../../interface/widgets/tabs/tab_game.h"
|
#include "../../../interface/widgets/tabs/tab_game.h"
|
||||||
#include "../../board/card_item.h"
|
#include "../../board/card_item.h"
|
||||||
#include "../../zones/logic/view_zone_logic.h"
|
#include "../../zones/view_zone_logic.h"
|
||||||
#include "../card_menu_action_type.h"
|
#include "../card_menu_action_type.h"
|
||||||
#include "../player.h"
|
#include "../player.h"
|
||||||
#include "../player_actions.h"
|
#include "../player_actions.h"
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@
|
||||||
#include "../../game_graphics/board/abstract_graphics_item.h"
|
#include "../../game_graphics/board/abstract_graphics_item.h"
|
||||||
#include "../../interface/widgets/menus/tearoff_menu.h"
|
#include "../../interface/widgets/menus/tearoff_menu.h"
|
||||||
#include "../interface/deck_loader/loaded_deck.h"
|
#include "../interface/deck_loader/loaded_deck.h"
|
||||||
#include "../zones/logic/hand_zone_logic.h"
|
#include "../zones/hand_zone_logic.h"
|
||||||
#include "../zones/logic/pile_zone_logic.h"
|
#include "../zones/pile_zone_logic.h"
|
||||||
#include "../zones/logic/stack_zone_logic.h"
|
#include "../zones/stack_zone_logic.h"
|
||||||
#include "../zones/logic/table_zone_logic.h"
|
#include "../zones/table_zone_logic.h"
|
||||||
#include "menu/player_menu.h"
|
#include "menu/player_menu.h"
|
||||||
#include "player_area.h"
|
#include "player_area.h"
|
||||||
#include "player_event_handler.h"
|
#include "player_event_handler.h"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
#include "../client/settings/card_counter_settings.h"
|
#include "../client/settings/card_counter_settings.h"
|
||||||
#include "../dialogs/dlg_move_top_cards_until.h"
|
#include "../dialogs/dlg_move_top_cards_until.h"
|
||||||
#include "../dialogs/dlg_roll_dice.h"
|
#include "../dialogs/dlg_roll_dice.h"
|
||||||
#include "../zones/logic/view_zone_logic.h"
|
#include "../zones/view_zone_logic.h"
|
||||||
#include "card_menu_action_type.h"
|
#include "card_menu_action_type.h"
|
||||||
|
|
||||||
#include <libcockatrice/card/database/card_database_manager.h>
|
#include <libcockatrice/card/database/card_database_manager.h>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
#include "card_zone_logic.h"
|
#include "card_zone_logic.h"
|
||||||
|
|
||||||
#include "../../../game_graphics/zones/view_zone.h"
|
#include "../../game_graphics/zones/view_zone.h"
|
||||||
#include "../../board/card_item.h"
|
#include "../board/card_item.h"
|
||||||
#include "../../player/player.h"
|
#include "../player/player.h"
|
||||||
#include "../../player/player_actions.h"
|
#include "../player/player_actions.h"
|
||||||
#include "view_zone_logic.h"
|
#include "view_zone_logic.h"
|
||||||
|
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
#ifndef COCKATRICE_CARD_ZONE_LOGIC_H
|
#ifndef COCKATRICE_CARD_ZONE_LOGIC_H
|
||||||
#define COCKATRICE_CARD_ZONE_LOGIC_H
|
#define COCKATRICE_CARD_ZONE_LOGIC_H
|
||||||
|
|
||||||
#include "../../../client/translation.h"
|
#include "../../client/translation.h"
|
||||||
#include "../../board/card_list.h"
|
#include "../board/card_list.h"
|
||||||
|
|
||||||
#include <QLoggingCategory>
|
#include <QLoggingCategory>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include "hand_zone_logic.h"
|
#include "hand_zone_logic.h"
|
||||||
|
|
||||||
#include "../../board/card_item.h"
|
#include "../board/card_item.h"
|
||||||
#include "card_zone_algorithms.h"
|
#include "card_zone_algorithms.h"
|
||||||
|
|
||||||
HandZoneLogic::HandZoneLogic(Player *_player,
|
HandZoneLogic::HandZoneLogic(Player *_player,
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include "pile_zone_logic.h"
|
#include "pile_zone_logic.h"
|
||||||
|
|
||||||
#include "../../board/card_item.h"
|
#include "../board/card_item.h"
|
||||||
|
|
||||||
PileZoneLogic::PileZoneLogic(Player *_player,
|
PileZoneLogic::PileZoneLogic(Player *_player,
|
||||||
const QString &_name,
|
const QString &_name,
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include "stack_zone_logic.h"
|
#include "stack_zone_logic.h"
|
||||||
|
|
||||||
#include "../../board/card_item.h"
|
#include "../board/card_item.h"
|
||||||
#include "card_zone_algorithms.h"
|
#include "card_zone_algorithms.h"
|
||||||
|
|
||||||
StackZoneLogic::StackZoneLogic(Player *_player,
|
StackZoneLogic::StackZoneLogic(Player *_player,
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include "table_zone_logic.h"
|
#include "table_zone_logic.h"
|
||||||
|
|
||||||
#include "../../board/card_item.h"
|
#include "../board/card_item.h"
|
||||||
|
|
||||||
TableZoneLogic::TableZoneLogic(Player *_player,
|
TableZoneLogic::TableZoneLogic(Player *_player,
|
||||||
const QString &_name,
|
const QString &_name,
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#include "view_zone_logic.h"
|
#include "view_zone_logic.h"
|
||||||
|
|
||||||
#include "../../../client/settings/cache_settings.h"
|
#include "../../client/settings/cache_settings.h"
|
||||||
#include "../../board/card_item.h"
|
#include "../board/card_item.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param _player the player that the cards are revealed to.
|
* @param _player the player that the cards are revealed to.
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef CARDZONE_H
|
#ifndef CARDZONE_H
|
||||||
#define CARDZONE_H
|
#define CARDZONE_H
|
||||||
|
|
||||||
#include "../../game/zones/logic/card_zone_logic.h"
|
#include "../../game/zones/card_zone_logic.h"
|
||||||
#include "../board/abstract_graphics_item.h"
|
#include "../board/abstract_graphics_item.h"
|
||||||
#include "../board/graphics_item_type.h"
|
#include "../board/graphics_item_type.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef HANDZONE_H
|
#ifndef HANDZONE_H
|
||||||
#define HANDZONE_H
|
#define HANDZONE_H
|
||||||
|
|
||||||
#include "../../game/zones/logic/hand_zone_logic.h"
|
#include "../../game/zones/hand_zone_logic.h"
|
||||||
#include "select_zone.h"
|
#include "select_zone.h"
|
||||||
|
|
||||||
class HandZone : public SelectZone
|
class HandZone : public SelectZone
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
#include "../../game/board/card_item.h"
|
#include "../../game/board/card_item.h"
|
||||||
#include "../../game/player/player.h"
|
#include "../../game/player/player.h"
|
||||||
#include "../../game/player/player_actions.h"
|
#include "../../game/player/player_actions.h"
|
||||||
#include "../../game/zones/logic/pile_zone_logic.h"
|
#include "../../game/zones/pile_zone_logic.h"
|
||||||
#include "view_zone.h"
|
#include "view_zone.h"
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef PILEZONE_H
|
#ifndef PILEZONE_H
|
||||||
#define PILEZONE_H
|
#define PILEZONE_H
|
||||||
|
|
||||||
#include "../../game/zones/logic/pile_zone_logic.h"
|
#include "../../game/zones/pile_zone_logic.h"
|
||||||
#include "card_zone.h"
|
#include "card_zone.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include "../../game/card_dimensions.h"
|
#include "../../game/card_dimensions.h"
|
||||||
#include "../../game/player/player.h"
|
#include "../../game/player/player.h"
|
||||||
#include "../../game/player/player_actions.h"
|
#include "../../game/player/player_actions.h"
|
||||||
#include "../../game/zones/logic/stack_zone_logic.h"
|
#include "../../game/zones/stack_zone_logic.h"
|
||||||
#include "../../interface/theme_manager.h"
|
#include "../../interface/theme_manager.h"
|
||||||
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef STACKZONE_H
|
#ifndef STACKZONE_H
|
||||||
#define STACKZONE_H
|
#define STACKZONE_H
|
||||||
|
|
||||||
#include "../../game/zones/logic/stack_zone_logic.h"
|
#include "../../game/zones/stack_zone_logic.h"
|
||||||
#include "select_zone.h"
|
#include "select_zone.h"
|
||||||
|
|
||||||
class StackZone : public SelectZone
|
class StackZone : public SelectZone
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
#include "../../game/player/player.h"
|
#include "../../game/player/player.h"
|
||||||
#include "../../game/player/player_actions.h"
|
#include "../../game/player/player_actions.h"
|
||||||
#include "../../game/z_values.h"
|
#include "../../game/z_values.h"
|
||||||
#include "../../game/zones/logic/table_zone_logic.h"
|
#include "../../game/zones/table_zone_logic.h"
|
||||||
#include "../../interface/theme_manager.h"
|
#include "../../interface/theme_manager.h"
|
||||||
|
|
||||||
#include <QGraphicsScene>
|
#include <QGraphicsScene>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
#define TABLEZONE_H
|
#define TABLEZONE_H
|
||||||
|
|
||||||
#include "../../game/board/abstract_card_item.h"
|
#include "../../game/board/abstract_card_item.h"
|
||||||
#include "../../game/zones/logic/table_zone_logic.h"
|
#include "../../game/zones/table_zone_logic.h"
|
||||||
#include "select_zone.h"
|
#include "select_zone.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
#include "../../game/board/card_item.h"
|
#include "../../game/board/card_item.h"
|
||||||
#include "../../game/player/player.h"
|
#include "../../game/player/player.h"
|
||||||
#include "../../game/player/player_actions.h"
|
#include "../../game/player/player_actions.h"
|
||||||
#include "../../game/zones/logic/view_zone_logic.h"
|
#include "../../game/zones/view_zone_logic.h"
|
||||||
|
|
||||||
#include <QBrush>
|
#include <QBrush>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef ZONEVIEWERZONE_H
|
#ifndef ZONEVIEWERZONE_H
|
||||||
#define ZONEVIEWERZONE_H
|
#define ZONEVIEWERZONE_H
|
||||||
|
|
||||||
#include "../../game/zones/logic/view_zone_logic.h"
|
#include "../../game/zones/view_zone_logic.h"
|
||||||
#include "select_zone.h"
|
#include "select_zone.h"
|
||||||
|
|
||||||
#include <QGraphicsLayoutItem>
|
#include <QGraphicsLayoutItem>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#ifndef ZONEVIEWWIDGET_H
|
#ifndef ZONEVIEWWIDGET_H
|
||||||
#define ZONEVIEWWIDGET_H
|
#define ZONEVIEWWIDGET_H
|
||||||
|
|
||||||
#include "../../game/zones/logic/card_zone_logic.h"
|
#include "../../game/zones/card_zone_logic.h"
|
||||||
|
|
||||||
#include <QCheckBox>
|
#include <QCheckBox>
|
||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "card_zone_algorithms.h"
|
#include "../../cockatrice/src/game/zones/card_zone_algorithms.h"
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue