Skip to content

Commit

Permalink
graphics compile, bun undentified runtime error orrcurs, board doesn't
Browse files Browse the repository at this point in the history
paint/updates
  • Loading branch information
OEtzi007 authored and OEtzi007 committed Mar 3, 2014
1 parent 2f91d9b commit acb6782
Show file tree
Hide file tree
Showing 17 changed files with 93 additions and 1,804 deletions.
2 changes: 1 addition & 1 deletion .cproject
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<folderInfo id="cdt.managedbuild.config.macosx.exe.release.1117538532." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.macosx.exe.release.477499628" name="MacOSX GCC" superClass="cdt.managedbuild.toolchain.gnu.macosx.exe.release">
<targetPlatform id="cdt.managedbuild.target.gnu.platform.macosx.exe.release.1274049628" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.macosx.exe.release"/>
<builder buildPath="${workspace_loc:/TransAmerica}/Release" id="cdt.managedbuild.target.gnu.builder.macosx.exe.release.1789050811" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.macosx.exe.release">
<builder arguments="-f maker" buildPath="${workspace_loc:/TransAmerica}/Release" command="make" id="cdt.managedbuild.target.gnu.builder.macosx.exe.release.1789050811" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.macosx.exe.release">
<outputEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Release"/>
</outputEntries>
Expand Down
26 changes: 11 additions & 15 deletions Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,20 @@
* Author: David
*/

#include"logger/header/SimulationLogger.h"
#include"AI/testKI.h"
#include"game/header/AI.h"
#include"game/header/Simulation.h"
#include<vector>
#include "logger/header/SimulationLogger.h"
#include "AI/testKI.h"
#include "game/header/AI.h"
#include "game/header/Simulation.h"
#include "userinterface/header/uiexec.h"
#include <vector>
#include <QApplication>

int main(int argc, char* argv[]) {
Board* board = new Board;
board->Ausgabe();
std::vector<AI*> players;
players.push_back(new testKI(P_YELLOW));
players.push_back(new testKI(P_BLUE));
players.push_back(new testKI(P_ORANGE));
QApplication a(argc, argv);
UIEXEC uiexec;
uiexec.doTheMagic();

SimulationLogger* simulationLogger = new SimulationLogger(players, *board, 1);
Simulation simulation(simulationLogger);
simulation.run();
return 0;
return a.exec();
}
/*
A---D
Expand Down
1 change: 1 addition & 0 deletions Release/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/AI
/makefile
/objects.mk
/userinterface
108 changes: 0 additions & 108 deletions Release/Main.d

This file was deleted.

Binary file removed Release/Main.o
Binary file not shown.
Loading

0 comments on commit acb6782

Please sign in to comment.