Prechádzať zdrojové kódy

Renamed and reconfigured file names

Ivan Arkhipov 6 rokov pred
rodič
commit
5030d9cebc
53 zmenil súbory, kde vykonal 144 pridanie a 144 odobranie
  1. 52 52
      client.pro
  2. 0 0
      include/abstractfactory.h
  3. 0 0
      include/cell.h
  4. 0 0
      include/effects/effect.h
  5. 0 0
      include/gui/gui.h
  6. 0 0
      include/gui/gui.ui
  7. 0 0
      include/gui/guiscenemanager.h
  8. 1 1
      include/gui/loadingform.h
  9. 0 0
      include/gui/loadingform.ui
  10. 1 1
      include/gui/mainmenu.h
  11. 0 0
      include/gui/mainmenu.ui
  12. 0 0
      include/gui/scene.h
  13. 2 2
      include/hotseatgame/gamemanager.h
  14. 0 0
      include/hotseatgame/gui/hotseatgame.h
  15. 0 0
      include/hotseatgame/gui/hotseatgame.ui
  16. 1 1
      include/hotseatgame/gui/playervsplayerintro.h
  17. 0 0
      include/hotseatgame/gui/playervsplayerintro.ui
  18. 1 1
      include/hotseatgame/gui/prebattlescene.h
  19. 1 1
      include/hotseatgame/gui/prebattlescene.ui
  20. 1 1
      include/hotseatgame/gui/raceicon.h
  21. 1 1
      include/hotseatgame/gui/recruitmentscene.h
  22. 6 6
      include/hotseatgame/gui/recruitmentscene.ui
  23. 1 1
      include/hotseatgame/gui/uniticon.h
  24. 0 0
      include/hotseatgame/unitsqueue.h
  25. 2 2
      include/player.h
  26. 1 1
      include/playermanager.h
  27. 1 1
      include/race.h
  28. 0 0
      include/racemanager.h
  29. 1 1
      include/units/mage.h
  30. 1 1
      include/units/unit.h
  31. 1 1
      include/units/warrior.h
  32. 2 2
      source/cell.cpp
  33. 2 2
      source/effects/effect.cpp
  34. 2 2
      source/gui/gui.cpp
  35. 10 10
      source/gui/guiscenemanager.cpp
  36. 2 2
      source/gui/loadingform.cpp
  37. 3 3
      source/gui/mainmenu.cpp
  38. 1 1
      source/gui/scene.cpp
  39. 2 2
      source/hotseatgame/gamemanager.cpp
  40. 2 2
      source/hotseatgame/gui/hotseatgame.cpp
  41. 5 5
      source/hotseatgame/gui/playervsplayerintro.cpp
  42. 9 9
      source/hotseatgame/gui/prebattlescene.cpp
  43. 1 1
      source/hotseatgame/gui/raceicon.cpp
  44. 11 11
      source/hotseatgame/gui/recruitmentscene.cpp
  45. 1 1
      source/hotseatgame/gui/uniticon.cpp
  46. 1 1
      source/hotseatgame/unitsqueue.cpp
  47. 1 1
      source/main.cpp
  48. 1 1
      source/playermanager.cpp
  49. 4 4
      source/race.cpp
  50. 2 2
      source/racemanager.cpp
  51. 2 2
      source/units/mage.cpp
  52. 3 3
      source/units/unit.cpp
  53. 2 2
      source/units/warrior.cpp

+ 52 - 52
client.pro

@@ -64,7 +64,7 @@ win32 {
 }
 
 unix {
-    guiRes.commands += rcc -binary $$PWD/res/hotseatgame/game_ui.qrc.qrc -o $$DESTDIR/res/game_ui_data.gtr $$escape_expand(\n\t) \
+    guiRes.commands += rcc -binary $$PWD/res/hotseatgame/game_ui.qrc -o $$DESTDIR/res/game_ui_data.gtr $$escape_expand(\n\t) \
                        rcc -binary $$PWD/res/hotseatgame/units.qrc -o $$DESTDIR/res/unit_data.gtr $$escape_expand(\n\t) \
                        rcc -binary $$PWD/res/hotseatgame/effects.qrc -o $$DESTDIR/res/effect_data.gtr $$escape_expand(\n\t) \
                        rcc -binary $$PWD/res/hotseatgame/spells.qrc -o $$DESTDIR/res/spell_data.gtr
@@ -76,61 +76,61 @@ PRE_TARGETDEPS += BuildResources
 # ================================================== #
 SOURCES += \
     source/main.cpp \
-    source/Cell.cpp \
-    source/gui/Scene.cpp \
-    source/gui/GuiSceneManager.cpp \
-    source/gui/GUI.cpp \
-    source/gui/MainMenu.cpp \
-    source/gui/LoadingForm.cpp \
-    source/units/Mage.cpp \
-    source/units/Unit.cpp \
-    source/units/Warrior.cpp \
-    source/PlayerManager.cpp \
-    source/Race.cpp \
-    source/RaceManager.cpp \
-    source/hotseatgame/GameManager.cpp \
-    source/hotseatgame/UnitsQueue.cpp \
-    source/hotseatgame/gui/PlayerVsPlayerIntro.cpp \
-    source/hotseatgame/gui/PreBattleScene.cpp \
-    source/hotseatgame/gui/RaceIcon.cpp \
-    source/hotseatgame/gui/RecruitmentScene.cpp \
-    source/hotseatgame/gui/UnitIcon.cpp \
-    source/hotseatgame/gui/HotSeatGame.cpp \
-    source/effects/Effect.cpp
+    source/effects/effect.cpp \
+    source/gui/gui.cpp \
+    source/gui/guiscenemanager.cpp \
+    source/gui/loadingform.cpp \
+    source/gui/mainmenu.cpp \
+    source/gui/scene.cpp \
+    source/hotseatgame/gui/hotseatgame.cpp \
+    source/hotseatgame/gui/playervsplayerintro.cpp \
+    source/hotseatgame/gui/prebattlescene.cpp \
+    source/hotseatgame/gui/raceicon.cpp \
+    source/hotseatgame/gui/recruitmentscene.cpp \
+    source/hotseatgame/gui/uniticon.cpp \
+    source/hotseatgame/gamemanager.cpp \
+    source/hotseatgame/unitsqueue.cpp \
+    source/units/mage.cpp \
+    source/units/unit.cpp \
+    source/units/warrior.cpp \
+    source/cell.cpp \
+    source/playermanager.cpp \
+    source/race.cpp \
+    source/racemanager.cpp
 
 HEADERS += \
-    include/Cell.h \
-    include/Player.h \
-    include/PlayerManager.h \
-    include/Race.h \
-    include/RaceManager.h \
-    include/AbstractFactory.h \
-    include/units/Mage.h \
-    include/units/Unit.h \
-    include/units/Warrior.h \
-    include/gui/GUI.h \
-    include/gui/GuiSceneManager.h \
-    include/gui/MainMenu.h \
-    include/gui/Scene.h \
-    include/gui/LoadingForm.h \
-    include/hotseatgame/GameManager.h \
-    include/hotseatgame/UnitsQueue.h \
-    include/hotseatgame/gui/PlayerVsPlayerIntro.h \
-    include/hotseatgame/gui/PreBattleScene.h \
-    include/hotseatgame/gui/RaceIcon.h \
-    include/hotseatgame/gui/RecruitmentScene.h \
-    include/hotseatgame/gui/UnitIcon.h \
-    include/hotseatgame/gui/HotSeatGame.h \
-    include/effects/Effect.h
+    include/effects/effect.h \
+    include/gui/gui.h \
+    include/gui/guiscenemanager.h \
+    include/gui/loadingform.h \
+    include/gui/mainmenu.h \
+    include/gui/scene.h \
+    include/hotseatgame/gui/hotseatgame.h \
+    include/hotseatgame/gui/playervsplayerintro.h \
+    include/hotseatgame/gui/prebattlescene.h \
+    include/hotseatgame/gui/raceicon.h \
+    include/hotseatgame/gui/recruitmentscene.h \
+    include/hotseatgame/gui/uniticon.h \
+    include/hotseatgame/gamemanager.h \
+    include/hotseatgame/unitsqueue.h \
+    include/units/mage.h \
+    include/units/unit.h \
+    include/units/warrior.h \
+    include/abstractfactory.h \
+    include/cell.h \
+    include/player.h \
+    include/playermanager.h \
+    include/race.h \
+    include/racemanager.h
 
 FORMS += \
-    include/gui/GUI.ui \
-    include/gui/MainMenu.ui \
-    include/hotseatgame/gui/PlayerVsPlayerIntro.ui \
-    include/hotseatgame/gui/PreBattleScene.ui \
-    include/hotseatgame/gui/RecruitmentScene.ui \
-    include/hotseatgame/gui/HotSeatGame.ui \
-    include/gui/LoadingForm.ui
+    include/gui/gui.ui \
+    include/gui/loadingform.ui \
+    include/gui/mainmenu.ui \
+    include/hotseatgame/gui/hotseatgame.ui \
+    include/hotseatgame/gui/playervsplayerintro.ui \
+    include/hotseatgame/gui/prebattlescene.ui \
+    include/hotseatgame/gui/recruitmentscene.ui
 
 RESOURCES += \
      res/GUI.qrc

+ 0 - 0
include/AbstractFactory.h → include/abstractfactory.h


+ 0 - 0
include/Cell.h → include/cell.h


+ 0 - 0
include/effects/Effect.h → include/effects/effect.h


+ 0 - 0
include/gui/GUI.h → include/gui/gui.h


+ 0 - 0
include/gui/GUI.ui → include/gui/gui.ui


+ 0 - 0
include/gui/GuiSceneManager.h → include/gui/guiscenemanager.h


+ 1 - 1
include/gui/LoadingForm.h → include/gui/loadingform.h

@@ -1,7 +1,7 @@
 #ifndef LOADINGFORM_H
 #define LOADINGFORM_H
 
-#include "Scene.h"
+#include "scene.h"
 
 namespace Ui {
 class LoadingForm;

+ 0 - 0
include/gui/LoadingForm.ui → include/gui/loadingform.ui


+ 1 - 1
include/gui/MainMenu.h → include/gui/mainmenu.h

@@ -1,7 +1,7 @@
 #ifndef MAINMENU_H
 #define MAINMENU_H
 
-#include "gui/Scene.h"
+#include "gui/scene.h"
 
 #include <QWidget>
 

+ 0 - 0
include/gui/MainMenu.ui → include/gui/mainmenu.ui


+ 0 - 0
include/gui/Scene.h → include/gui/scene.h


+ 2 - 2
include/hotseatgame/GameManager.h → include/hotseatgame/gamemanager.h

@@ -1,6 +1,6 @@
 #include <vector>
-#include <hotseatgame/UnitsQueue.h>
-#include <PlayerManager.h>
+#include <hotseatgame/unitsqueue.h>
+#include <playermanager.h>
 
 
 class Cell;

+ 0 - 0
include/hotseatgame/gui/HotSeatGame.h → include/hotseatgame/gui/hotseatgame.h


+ 0 - 0
include/hotseatgame/gui/HotSeatGame.ui → include/hotseatgame/gui/hotseatgame.ui


+ 1 - 1
include/hotseatgame/gui/PlayerVsPlayerIntro.h → include/hotseatgame/gui/playervsplayerintro.h

@@ -1,7 +1,7 @@
 #ifndef PLAYERVSPLAYERINTRO_H
 #define PLAYERVSPLAYERINTRO_H
 
-#include "gui/Scene.h"
+#include "gui/scene.h"
 
 #include <QWidget>
 

+ 0 - 0
include/hotseatgame/gui/PlayerVsPlayerIntro.ui → include/hotseatgame/gui/playervsplayerintro.ui


+ 1 - 1
include/hotseatgame/gui/PreBattleScene.h → include/hotseatgame/gui/prebattlescene.h

@@ -3,7 +3,7 @@
 
 #include <QWidget>
 
-#include "gui/Scene.h"
+#include "gui/scene.h"
 
 #include <vector>
 

+ 1 - 1
include/hotseatgame/gui/PreBattleScene.ui → include/hotseatgame/gui/prebattlescene.ui

@@ -163,7 +163,7 @@
   <customwidget>
    <class>RaceIcon</class>
    <extends>QLabel</extends>
-   <header>gui/raceicon.h</header>
+   <header location="global">hotseatgame/gui/raceicon.h</header>
   </customwidget>
  </customwidgets>
  <resources/>

+ 1 - 1
include/hotseatgame/gui/RaceIcon.h → include/hotseatgame/gui/raceicon.h

@@ -1,7 +1,7 @@
 #ifndef RACEICON_H
 #define RACEICON_H
 
-#include "Race.h"
+#include "race.h"
 
 #include <QObject>
 #include <QWidget>

+ 1 - 1
include/hotseatgame/gui/RecruitmentScene.h → include/hotseatgame/gui/recruitmentscene.h

@@ -1,7 +1,7 @@
 #ifndef RECRUITMENTSCENE_H
 #define RECRUITMENTSCENE_H
 
-#include "gui/Scene.h"
+#include "gui/scene.h"
 
 #include <QWidget>
 

+ 6 - 6
include/hotseatgame/gui/RecruitmentScene.ui → include/hotseatgame/gui/recruitmentscene.ui

@@ -425,6 +425,11 @@
   <zorder>unit_spec_widget_</zorder>
  </widget>
  <customwidgets>
+  <customwidget>
+   <class>RaceIcon</class>
+   <extends>QLabel</extends>
+   <header location="global">hotseatgame/gui/raceicon.h</header>
+  </customwidget>
   <customwidget>
    <class>Scene</class>
    <extends>QWidget</extends>
@@ -434,7 +439,7 @@
   <customwidget>
    <class>UnitIcon</class>
    <extends>QLabel</extends>
-   <header>gui/uniticon.h</header>
+   <header location="global">hotseatgame/gui/uniticon.h</header>
    <slots>
     <signal>clicked()</signal>
     <signal>doubleclicked()</signal>
@@ -442,11 +447,6 @@
     <signal>unhovered()</signal>
    </slots>
   </customwidget>
-  <customwidget>
-   <class>RaceIcon</class>
-   <extends>QLabel</extends>
-   <header>gui/raceicon.h</header>
-  </customwidget>
  </customwidgets>
  <resources/>
  <connections/>

+ 1 - 1
include/hotseatgame/gui/UnitIcon.h → include/hotseatgame/gui/uniticon.h

@@ -1,7 +1,7 @@
 #ifndef UNITICON_H
 #define UNITICON_H
 
-#include "units/Unit.h"
+#include "units/unit.h"
 
 #include <QObject>
 #include <QWidget>

+ 0 - 0
include/hotseatgame/UnitsQueue.h → include/hotseatgame/unitsqueue.h


+ 2 - 2
include/Player.h → include/player.h

@@ -1,8 +1,8 @@
 #ifndef INCLUDEPLAYER_H
 #define INCLUDEPLAYER_H
 
-#include "units/Unit.h"
-#include "RaceManager.h"
+#include "units/unit.h"
+#include "racemanager.h"
 
 #include <QObject>
 #include <QDebug>

+ 1 - 1
include/PlayerManager.h → include/playermanager.h

@@ -1,7 +1,7 @@
 #ifndef INCLUDEPLAYERMANAGER_H
 #define INCLUDEPLAYERMANAGER_H
 
-#include <Player.h>
+#include <player.h>
 
 #include <QObject>
 

+ 1 - 1
include/Race.h → include/race.h

@@ -7,7 +7,7 @@
 
 #include <vector>
 
-#include "AbstractFactory.h"
+#include "abstractfactory.h"
 
 class Unit;
 

+ 0 - 0
include/RaceManager.h → include/racemanager.h


+ 1 - 1
include/units/Mage.h → include/units/mage.h

@@ -1,7 +1,7 @@
 #ifndef UNITS_MAGE_H
 #define UNITS_MAGE_H
 
-#include "units/Unit.h"
+#include "units/unit.h"
 
 #include <QObject>
 

+ 1 - 1
include/units/Unit.h → include/units/unit.h

@@ -1,6 +1,6 @@
 #pragma once
 
-#include "AbstractFactory.h"
+#include "abstractfactory.h"
 #include <QObject>
 #include <QString>
 #include <QImage>

+ 1 - 1
include/units/Warrior.h → include/units/warrior.h

@@ -1,7 +1,7 @@
 #ifndef UNITS_WARRIOR_H
 #define UNITS_WARRIOR_H
 
-#include "units/Unit.h"
+#include "units/unit.h"
 
 #include <QObject>
 #include <QString>

+ 2 - 2
source/Cell.cpp → source/cell.cpp

@@ -1,8 +1,8 @@
 /*
  * I love Qt
  */
-#include "Cell.h"
-#include "units/Unit.h"
+#include "cell.h"
+#include "units/unit.h"
 #include <string>
 #include <queue>
 #include <vector>

+ 2 - 2
source/effects/Effect.cpp → source/effects/effect.cpp

@@ -1,8 +1,8 @@
 //
 // Created by IgorBat on 21.04.2018.
 //
-#include "AbstractFactory.h"
-#include "effects/Effect.h"
+#include "abstractfactory.h"
+#include "effects/effect.h"
 
 #include <iostream>
 #include <algorithm>

+ 2 - 2
source/gui/GUI.cpp → source/gui/gui.cpp

@@ -1,5 +1,5 @@
-#include <gui/GUI.h>
-#include <ui_GUI.h>
+#include <gui/gui.h>
+#include <ui_gui.h>
 #include <QDebug>
 
 GUI::GUI(QWidget *parent) :

+ 10 - 10
source/gui/GuiSceneManager.cpp → source/gui/guiscenemanager.cpp

@@ -1,11 +1,11 @@
-#include "gui/GuiSceneManager.h"
-#include "gui/GUI.h"
-#include "gui/MainMenu.h"
+#include "gui/guiscenemanager.h"
+#include "gui/gui.h"
+#include "gui/mainmenu.h"
 
-#include "hotseatgame/gui/RecruitmentScene.h"
-#include "hotseatgame/gui/PlayerVsPlayerIntro.h"
-#include "hotseatgame/gui/PreBattleScene.h"
-#include "hotseatgame/gui/HotSeatGame.h"
+#include "hotseatgame/gui/recruitmentscene.h"
+#include "hotseatgame/gui/playervsplayerintro.h"
+#include "hotseatgame/gui/prebattlescene.h"
+#include "hotseatgame/gui/hotseatgame.h"
 
 #include <QResource>
 #include <QApplication>
@@ -16,13 +16,13 @@ GuiSceneManager::GuiSceneManager(QObject *parent) : QObject(parent) {
     gui_->show();
     current_scene_ = "none";
 
-    QResource::registerResource(QApplication::applicationDirPath() + "/res/gui_data.gtr");
+    QResource::registerResource(QApplication::applicationDirPath() + "/res/game_ui_data.gtr");
     QResource::registerResource(QApplication::applicationDirPath() + "/res/unit_data.gtr");
     QResource::registerResource(QApplication::applicationDirPath() + "/res/spell_data.gtr");
     QResource::registerResource(QApplication::applicationDirPath() + "/res/effect_data.gtr");
 
-    QFontDatabase::addApplicationFont(":/../assets/fonts/barocco-initial.ttf");
-    QFontDatabase::addApplicationFont(":/../assets/fonts/viking-cyr.ttf");
+    QFontDatabase::addApplicationFont(":/assets/fonts/barocco-initial.ttf");
+    QFontDatabase::addApplicationFont(":/assets/fonts/viking-cyr.ttf");
 
     registerScene("main_menu", new MainMenu(gui_->mainContentScene()));
     registerScene("pvp_intro", new PlayerVsPlayerIntro(gui_->mainContentScene()));

+ 2 - 2
source/gui/LoadingForm.cpp → source/gui/loadingform.cpp

@@ -1,5 +1,5 @@
-#include "gui/LoadingForm.h"
-#include "ui_LoadingForm.h"
+#include "gui/loadingform.h"
+#include "ui_loadingform.h"
 
 LoadingForm::LoadingForm(QWidget *parent) :
     Scene(parent),

+ 3 - 3
source/gui/MainMenu.cpp → source/gui/mainmenu.cpp

@@ -1,6 +1,6 @@
-#include "gui/MainMenu.h"
-#include "gui/GuiSceneManager.h"
-#include "ui_MainMenu.h"
+#include "gui/mainmenu.h"
+#include "gui/guiscenemanager.h"
+#include "ui_mainmenu.h"
 
 #include <QString>
 #include <QApplication>

+ 1 - 1
source/gui/Scene.cpp → source/gui/scene.cpp

@@ -1,4 +1,4 @@
-#include "gui/Scene.h"
+#include "gui/scene.h"
 
 Scene::Scene(QWidget *parent) : QWidget(parent)
 {

+ 2 - 2
source/hotseatgame/GameManager.cpp → source/hotseatgame/gamemanager.cpp

@@ -1,8 +1,8 @@
 /*
 * Someone tells, that Qt can to build this
 */
-#include "include/hotseatgame/GameManager.h"
-#include "Cell.h"
+#include "include/hotseatgame/gamemanager.h"
+#include "cell.h"
 #include <iostream>
 
 GameManager::GameManager(QObject *parent) : QObject(parent)

+ 2 - 2
source/hotseatgame/gui/HotSeatGame.cpp → source/hotseatgame/gui/hotseatgame.cpp

@@ -1,5 +1,5 @@
-#include "hotseatgame/gui/HotSeatGame.h"
-#include "ui_HotSeatGame.h"
+#include "hotseatgame/gui/hotseatgame.h"
+#include "ui_hotseatgame.h"
 #include "gui/guiscenemanager.h"
 
 #include <QDebug>

+ 5 - 5
source/hotseatgame/gui/PlayerVsPlayerIntro.cpp → source/hotseatgame/gui/playervsplayerintro.cpp

@@ -1,9 +1,9 @@
-#include "hotseatgame/gui/PlayerVsPlayerIntro.h"
-#include "gui/GuiSceneManager.h"
-#include "PlayerManager.h"
-#include "gui/Scene.h"
+#include "hotseatgame/gui/playervsplayerintro.h"
+#include "gui/guiscenemanager.h"
+#include "playermanager.h"
+#include "gui/scene.h"
 
-#include "ui_PlayerVsPlayerIntro.h"
+#include "ui_playervsplayerintro.h"
 
 PlayerVsPlayerIntro::PlayerVsPlayerIntro(QWidget *parent) :
     Scene(parent),

+ 9 - 9
source/hotseatgame/gui/PreBattleScene.cpp → source/hotseatgame/gui/prebattlescene.cpp

@@ -1,15 +1,15 @@
 
-#include "hotseatgame/gui/PreBattleScene.h"
+#include "hotseatgame/gui/prebattlescene.h"
 
-#include "Player.h"
-#include "PlayerManager.h"
-#include "Race.h"
-#include "RaceManager.h"
+#include "player.h"
+#include "playermanager.h"
+#include "race.h"
+#include "racemanager.h"
 
-#include "hotseatgame/gui/RaceIcon.h"
-#include "hotseatgame/gui/UnitIcon.h"
-#include "gui/GuiSceneManager.h"
-#include "ui_PreBattleScene.h"
+#include "hotseatgame/gui/raceicon.h"
+#include "hotseatgame/gui/uniticon.h"
+#include "gui/guiscenemanager.h"
+#include "ui_prebattlescene.h"
 
 #include <QMessageBox>
 

+ 1 - 1
source/hotseatgame/gui/RaceIcon.cpp → source/hotseatgame/gui/raceicon.cpp

@@ -1,4 +1,4 @@
-#include <hotseatgame/gui/RaceIcon.h>
+#include <hotseatgame/gui/raceicon.h>
 #include <QDebug>
 #include <QTime>
 #include <QEvent>

+ 11 - 11
source/hotseatgame/gui/RecruitmentScene.cpp → source/hotseatgame/gui/recruitmentscene.cpp

@@ -1,14 +1,14 @@
-#include <hotseatgame/gui/RecruitmentScene.h>
-#include <hotseatgame/gui/UnitIcon.h>
-#include <hotseatgame/gui/RaceIcon.h>
-#include <gui/GuiSceneManager.h>
-#include <gui/Scene.h>
-#include <PlayerManager.h>
-#include <Player.h>
-#include <RaceManager.h>
-#include <Race.h>
-
-#include <ui_RecruitmentScene.h>
+#include <hotseatgame/gui/recruitmentscene.h>
+#include <hotseatgame/gui/uniticon.h>
+#include <hotseatgame/gui/raceicon.h>
+#include <gui/guiscenemanager.h>
+#include <gui/scene.h>
+#include <playermanager.h>
+#include <player.h>
+#include <racemanager.h>
+#include <race.h>
+
+#include <ui_recruitmentscene.h>
 #include <QHBoxLayout>
 #include <QString>
 #include <QStringList>

+ 1 - 1
source/hotseatgame/gui/UnitIcon.cpp → source/hotseatgame/gui/uniticon.cpp

@@ -1,4 +1,4 @@
-#include <hotseatgame/gui/UnitIcon.h>
+#include <hotseatgame/gui/uniticon.h>
 #include <QDebug>
 #include <QTime>
 #include <QBitmap>

+ 1 - 1
source/hotseatgame/UnitsQueue.cpp → source/hotseatgame/unitsqueue.cpp

@@ -1,4 +1,4 @@
-#include <hotseatgame/UnitsQueue.h>
+#include <hotseatgame/unitsqueue.h>
 #include <vector>
 #include <string>
 

+ 1 - 1
source/main.cpp

@@ -1,4 +1,4 @@
-#include <gui/GuiSceneManager.h>
+#include <gui/guiscenemanager.h>
 
 #include <QApplication>
 #include <QDesktopWidget>

+ 1 - 1
source/PlayerManager.cpp → source/playermanager.cpp

@@ -1,4 +1,4 @@
-#include "PlayerManager.h"
+#include "playermanager.h"
 #include <cassert>
 
 PlayerManager::PlayerManager(QObject *parent) : QObject(parent)

+ 4 - 4
source/Race.cpp → source/race.cpp

@@ -1,7 +1,7 @@
-#include "Race.h"
-#include "units/Unit.h"
-#include "units/Warrior.h"
-#include "units/Mage.h"
+#include "race.h"
+#include "units/unit.h"
+#include "units/warrior.h"
+#include "units/mage.h"
 
 #include <QFile>
 #include <QTextStream>

+ 2 - 2
source/RaceManager.cpp → source/racemanager.cpp

@@ -1,5 +1,5 @@
-#include "RaceManager.h"
-#include "Race.h"
+#include "racemanager.h"
+#include "race.h"
 
 #include <QFile>
 #include <QDebug>

+ 2 - 2
source/units/Mage.cpp → source/units/mage.cpp

@@ -1,5 +1,5 @@
-#include "units/Mage.h"
-#include "units/Unit.h"
+#include "units/mage.h"
+#include "units/unit.h"
 
 Mage::Mage(QString parameters) : Unit(parameters)
 {

+ 3 - 3
source/units/Unit.cpp → source/units/unit.cpp

@@ -1,6 +1,6 @@
-#include "AbstractFactory.h"
-#include "units/Unit.h"
-#include "Cell.h"
+#include "abstractfactory.h"
+#include "units/unit.h"
+#include "cell.h"
 #include "effects/effect.h"
 
 #include <iostream>

+ 2 - 2
source/units/Warrior.cpp → source/units/warrior.cpp

@@ -1,5 +1,5 @@
-#include "units/Warrior.h"
-#include "units/Unit.h"
+#include "units/warrior.h"
+#include "units/unit.h"
 #include <cassert>
 
 Warrior::Warrior(QString parameters) : Unit(parameters)