Initial board setup and created enums for pieces
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"atomic": "cpp"
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
cmake_minimum_required (VERSION 3.8)
|
||||
|
||||
# Add source to this project's executable.
|
||||
add_executable (FC-Chess "main.cpp" "fc-chess.cpp")
|
||||
add_executable (FC-Chess "main.cpp" "fc-chess.cpp" "graphics.cpp")
|
||||
|
||||
if (CMAKE_VERSION VERSION_GREATER 3.12)
|
||||
set_property(TARGET FC-Chess PROPERTY CXX_STANDARD 20)
|
||||
|
||||
@@ -1,6 +1,42 @@
|
||||
#include "fc-chess.h"
|
||||
|
||||
void FCC::Game::mainLoop()
|
||||
void FCC::Chess::mainLoop()
|
||||
{
|
||||
std::cout << "test" << std::endl;
|
||||
FCC::ChessTUI tui;
|
||||
|
||||
// preparing board: colors
|
||||
for (int8_t i = 0; i < 8; i++) {
|
||||
for (int j = 0; i < 2; i++) {
|
||||
posColor[i][j] = (uint8_t)(PiecesColors::BLACK);
|
||||
}
|
||||
for (int j = 6; i < 8; i++) {
|
||||
posColor[i][j] = (uint8_t)(PiecesColors::WHITE);
|
||||
}
|
||||
for (int j = 2; i < 7; i++) {
|
||||
posColor[i][j] = (uint8_t)(PiecesColors::NONE);
|
||||
}
|
||||
}
|
||||
// preparing board: pieces
|
||||
for (int8_t i = 0; i < 8; i++) {
|
||||
posPieces[1][i] = (uint8_t)(Pieces::PAWN);
|
||||
posPieces[6][i] = (uint8_t)(Pieces::PAWN);
|
||||
}
|
||||
for (int8_t i = 0; i < 2; i++) {
|
||||
posPieces[i][0] = (uint8_t)(Pieces::ROOK);
|
||||
posPieces[i][7] = (uint8_t)(Pieces::ROOK);
|
||||
posPieces[i][1] = (uint8_t)(Pieces::KNIGHT);
|
||||
posPieces[i][6] = (uint8_t)(Pieces::KNIGHT);
|
||||
posPieces[i][2] = (uint8_t)(Pieces::BISHOP);
|
||||
posPieces[i][5] = (uint8_t)(Pieces::BISHOP);
|
||||
posPieces[i][3] = (uint8_t)(Pieces::KING);
|
||||
posPieces[i][4] = (uint8_t)(Pieces::QUEEN);
|
||||
}
|
||||
|
||||
// main loop
|
||||
while(!gameEnded) {
|
||||
|
||||
tui.mainLoop();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1,11 +1,40 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
|
||||
#include "graphics.h"
|
||||
|
||||
namespace FCC
|
||||
{
|
||||
class Game
|
||||
// vars
|
||||
enum class Pieces {
|
||||
NONE,
|
||||
PAWN,
|
||||
ROOK,
|
||||
BISHOP,
|
||||
KNIGHT,
|
||||
QUEEN,
|
||||
KING
|
||||
};
|
||||
enum class PiecesColors {
|
||||
NONE,
|
||||
BLACK = 10,
|
||||
WHITE = 20
|
||||
};
|
||||
|
||||
// classes and funcs
|
||||
class Chess
|
||||
{
|
||||
public:
|
||||
// constructor and destructor
|
||||
Chess() = default;
|
||||
~Chess() = default;
|
||||
|
||||
// vars
|
||||
uint8_t posPieces[8][8], posColor[8][8], posPossible[8][8];
|
||||
|
||||
// funcs
|
||||
void mainLoop();
|
||||
private:
|
||||
bool gameEnded;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
#include "graphics.h"
|
||||
|
||||
void FCC::ChessTUI::mainLoop() {
|
||||
|
||||
}
|
||||
|
||||
void FCC::ChessTUI::testLoop() {
|
||||
std::cout << "\u2654";
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
|
||||
#include "FC-Chess.h"
|
||||
|
||||
namespace FCC
|
||||
{
|
||||
class ChessTUI
|
||||
{
|
||||
public:
|
||||
void mainLoop();
|
||||
void testLoop();
|
||||
};
|
||||
}
|
||||
@@ -3,11 +3,15 @@
|
||||
|
||||
#include "fc-chess.h"
|
||||
|
||||
using namespace std;
|
||||
//using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
FCC::Game gm;
|
||||
FCC::Chess gm;
|
||||
gm.mainLoop();
|
||||
|
||||
FCC::ChessTUI test;
|
||||
test.testLoop();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
+5
-5
@@ -39,7 +39,7 @@
|
||||
}
|
||||
],
|
||||
"type" : "INTERNAL",
|
||||
"value" : "d:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug"
|
||||
"value" : "c:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug"
|
||||
},
|
||||
{
|
||||
"name" : "CMAKE_CACHE_MAJOR_VERSION",
|
||||
@@ -515,7 +515,7 @@
|
||||
}
|
||||
],
|
||||
"type" : "INTERNAL",
|
||||
"value" : "D:/Files/Documents/GitHub/FC-Chess/FC-Chess"
|
||||
"value" : "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess"
|
||||
},
|
||||
{
|
||||
"name" : "CMAKE_INSTALL_PREFIX",
|
||||
@@ -527,7 +527,7 @@
|
||||
}
|
||||
],
|
||||
"type" : "PATH",
|
||||
"value" : "D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/install/x64-debug"
|
||||
"value" : "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/install/x64-debug"
|
||||
},
|
||||
{
|
||||
"name" : "CMAKE_LINKER",
|
||||
@@ -1063,7 +1063,7 @@
|
||||
}
|
||||
],
|
||||
"type" : "STATIC",
|
||||
"value" : "D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug"
|
||||
"value" : "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug"
|
||||
},
|
||||
{
|
||||
"name" : "FC-Chess_IS_TOP_LEVEL",
|
||||
@@ -1087,7 +1087,7 @@
|
||||
}
|
||||
],
|
||||
"type" : "STATIC",
|
||||
"value" : "D:/Files/Documents/GitHub/FC-Chess/FC-Chess"
|
||||
"value" : "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess"
|
||||
}
|
||||
],
|
||||
"kind" : "cache",
|
||||
+2
-2
@@ -720,8 +720,8 @@
|
||||
"kind" : "cmakeFiles",
|
||||
"paths" :
|
||||
{
|
||||
"build" : "D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug",
|
||||
"source" : "D:/Files/Documents/GitHub/FC-Chess/FC-Chess"
|
||||
"build" : "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug",
|
||||
"source" : "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess"
|
||||
},
|
||||
"version" :
|
||||
{
|
||||
+3
-3
@@ -55,7 +55,7 @@
|
||||
{
|
||||
"directoryIndex" : 1,
|
||||
"id" : "FC-Chess::@314738accb03fcc8cafb",
|
||||
"jsonFile" : "target-FC-Chess-Debug-2c684a82381827f8011e.json",
|
||||
"jsonFile" : "target-FC-Chess-Debug-ad4d37c3396bbf2545b4.json",
|
||||
"name" : "FC-Chess",
|
||||
"projectIndex" : 0
|
||||
}
|
||||
@@ -65,8 +65,8 @@
|
||||
"kind" : "codemodel",
|
||||
"paths" :
|
||||
{
|
||||
"build" : "D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug",
|
||||
"source" : "D:/Files/Documents/GitHub/FC-Chess/FC-Chess"
|
||||
"build" : "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug",
|
||||
"source" : "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess"
|
||||
},
|
||||
"version" :
|
||||
{
|
||||
+6
-6
@@ -26,7 +26,7 @@
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"jsonFile" : "codemodel-v2-5456e29dbb4dfe3a6f57.json",
|
||||
"jsonFile" : "codemodel-v2-aa32d4dbdd5dde823259.json",
|
||||
"kind" : "codemodel",
|
||||
"version" :
|
||||
{
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cache-v2-fde3af63a9a3a8dfafdb.json",
|
||||
"jsonFile" : "cache-v2-c79b2379307bddcc286b.json",
|
||||
"kind" : "cache",
|
||||
"version" :
|
||||
{
|
||||
@@ -44,7 +44,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cmakeFiles-v1-298425cd30f82a30a5d5.json",
|
||||
"jsonFile" : "cmakeFiles-v1-50fe7d13b203d3efa289.json",
|
||||
"kind" : "cmakeFiles",
|
||||
"version" :
|
||||
{
|
||||
@@ -90,7 +90,7 @@
|
||||
"responses" :
|
||||
[
|
||||
{
|
||||
"jsonFile" : "cache-v2-fde3af63a9a3a8dfafdb.json",
|
||||
"jsonFile" : "cache-v2-c79b2379307bddcc286b.json",
|
||||
"kind" : "cache",
|
||||
"version" :
|
||||
{
|
||||
@@ -99,7 +99,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cmakeFiles-v1-298425cd30f82a30a5d5.json",
|
||||
"jsonFile" : "cmakeFiles-v1-50fe7d13b203d3efa289.json",
|
||||
"kind" : "cmakeFiles",
|
||||
"version" :
|
||||
{
|
||||
@@ -108,7 +108,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "codemodel-v2-5456e29dbb4dfe3a6f57.json",
|
||||
"jsonFile" : "codemodel-v2-aa32d4dbdd5dde823259.json",
|
||||
"kind" : "codemodel",
|
||||
"version" :
|
||||
{
|
||||
+11
-3
@@ -63,7 +63,8 @@
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0,
|
||||
1
|
||||
1,
|
||||
2
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -101,7 +102,8 @@
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0,
|
||||
1
|
||||
1,
|
||||
2
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -116,7 +118,13 @@
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "FC-Chess/fc-chess.cpp",
|
||||
"path" : "FC-Chess/FC-Chess.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "FC-Chess/graphics.cpp",
|
||||
"sourceGroupIndex" : 0
|
||||
}
|
||||
],
|
||||
Binary file not shown.
@@ -1,4 +1,9 @@
|
||||
# ninja log v5
|
||||
0 491 6811741436989060 FC-Chess/CMakeFiles/FC-Chess.dir/main.cpp.obj 79ac24bf236c1df0
|
||||
2 496 6811741437029065 FC-Chess/CMakeFiles/FC-Chess.dir/fc-chess.cpp.obj 90b915f85686613b
|
||||
496 941 6811741441030672 FC-Chess/FC-Chess.exe e6f1f1d5afad7a00
|
||||
1 1125 6815911745643934 FC-Chess/CMakeFiles/FC-Chess.dir/main.cpp.obj 42093eb89a1b523b
|
||||
7 1128 6815911745643934 FC-Chess/CMakeFiles/FC-Chess.dir/FC-Chess.cpp.obj 6426bc77d1582334
|
||||
13 1131 6815911745716140 FC-Chess/CMakeFiles/FC-Chess.dir/graphics.cpp.obj 1f81da9c8896838a
|
||||
1132 1473 6815911749026323 FC-Chess/FC-Chess.exe eb95614c7078b318
|
||||
1 737 6815913934815994 FC-Chess/CMakeFiles/FC-Chess.dir/graphics.cpp.obj 1f81da9c8896838a
|
||||
739 946 6815913936547088 FC-Chess/FC-Chess.exe eb95614c7078b318
|
||||
1 713 6815914578393460 FC-Chess/CMakeFiles/FC-Chess.dir/graphics.cpp.obj 1f81da9c8896838a
|
||||
713 890 6815914579808087 FC-Chess/FC-Chess.exe eb95614c7078b318
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# This is the CMakeCache file.
|
||||
# For build in directory: d:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug
|
||||
# For build in directory: c:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug
|
||||
# It was generated by CMake: C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe
|
||||
# You can edit this file to change values found and used by cmake.
|
||||
# If you do not want to change any of the values, simply exit the editor.
|
||||
@@ -81,7 +81,7 @@ CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
||||
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_INSTALL_PREFIX:PATH=D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/install/x64-debug
|
||||
CMAKE_INSTALL_PREFIX:PATH=C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/install/x64-debug
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx64/x64/link.exe
|
||||
@@ -193,13 +193,13 @@ CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||
|
||||
//Value Computed by CMake
|
||||
FC-Chess_BINARY_DIR:STATIC=D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug
|
||||
FC-Chess_BINARY_DIR:STATIC=C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug
|
||||
|
||||
//Value Computed by CMake
|
||||
FC-Chess_IS_TOP_LEVEL:STATIC=ON
|
||||
|
||||
//Value Computed by CMake
|
||||
FC-Chess_SOURCE_DIR:STATIC=D:/Files/Documents/GitHub/FC-Chess/FC-Chess
|
||||
FC-Chess_SOURCE_DIR:STATIC=C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess
|
||||
|
||||
|
||||
########################
|
||||
@@ -209,7 +209,7 @@ FC-Chess_SOURCE_DIR:STATIC=D:/Files/Documents/GitHub/FC-Chess/FC-Chess
|
||||
//ADVANCED property for variable: CMAKE_AR
|
||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||
//This is the directory where this CMakeCache.txt was created
|
||||
CMAKE_CACHEFILE_DIR:INTERNAL=d:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug
|
||||
CMAKE_CACHEFILE_DIR:INTERNAL=c:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug
|
||||
//Major version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||
//Minor version of cmake used to create the current loaded cache
|
||||
@@ -276,7 +276,7 @@ CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||
//Source directory with the top level CMakeLists.txt file for this
|
||||
// project
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=D:/Files/Documents/GitHub/FC-Chess/FC-Chess
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess
|
||||
//ADVANCED property for variable: CMAKE_LINKER
|
||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/CMakeFiles/edit_cache.dir
|
||||
D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/CMakeFiles/rebuild_cache.dir
|
||||
D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess/CMakeFiles/FC-Chess.dir
|
||||
D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess/CMakeFiles/edit_cache.dir
|
||||
D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess/CMakeFiles/rebuild_cache.dir
|
||||
C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/CMakeFiles/edit_cache.dir
|
||||
C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/CMakeFiles/rebuild_cache.dir
|
||||
C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess/CMakeFiles/FC-Chess.dir
|
||||
C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess/CMakeFiles/edit_cache.dir
|
||||
C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess/CMakeFiles/rebuild_cache.dir
|
||||
|
||||
@@ -30,7 +30,7 @@ rule CUSTOM_COMMAND
|
||||
|
||||
rule CXX_COMPILER__FC-Chess_Debug
|
||||
deps = msvc
|
||||
command = C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe /nologo /TP $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in
|
||||
command = C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe /nologo /TP $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in
|
||||
description = Building CXX object $out
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ rule CXX_COMPILER__FC-Chess_Debug
|
||||
# Rule for linking CXX executable.
|
||||
|
||||
rule CXX_EXECUTABLE_LINKER__FC-Chess_Debug
|
||||
command = cmd.exe /C "$PRE_LINK && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=$OBJECT_DIR --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests $MANIFESTS -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\link.exe /nologo $in /out:$TARGET_FILE /implib:$TARGET_IMPLIB /pdb:$TARGET_PDB /version:0.0 $LINK_FLAGS $LINK_PATH $LINK_LIBRARIES && $POST_BUILD"
|
||||
command = cmd.exe /C "$PRE_LINK && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=$OBJECT_DIR --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests $MANIFESTS -- C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\link.exe /nologo $in /out:$TARGET_FILE /implib:$TARGET_IMPLIB /pdb:$TARGET_PDB /version:0.0 $LINK_FLAGS $LINK_PATH $LINK_LIBRARIES && $POST_BUILD"
|
||||
description = Linking CXX executable $TARGET_FILE
|
||||
restat = $RESTAT
|
||||
|
||||
@@ -47,7 +47,7 @@ rule CXX_EXECUTABLE_LINKER__FC-Chess_Debug
|
||||
# Rule for re-running cmake.
|
||||
|
||||
rule RERUN_CMAKE
|
||||
command = "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SD:\Files\Documents\GitHub\FC-Chess\FC-Chess -BD:\Files\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug
|
||||
command = "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SC:\Users\user\Documents\GitHub\FC-Chess\FC-Chess -BC:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug
|
||||
description = Re-running CMake...
|
||||
generator = 1
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#pragma code_page(65001)
|
||||
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ "D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess/CMakeFiles/FC-Chess.dir/embed.manifest"
|
||||
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess/CMakeFiles/FC-Chess.dir/embed.manifest"
|
||||
Binary file not shown.
@@ -1,8 +1,8 @@
|
||||
# Install script for directory: D:/Files/Documents/GitHub/FC-Chess/FC-Chess/FC-Chess
|
||||
# Install script for directory: C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/FC-Chess
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/install/x64-debug")
|
||||
set(CMAKE_INSTALL_PREFIX "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/install/x64-debug")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
|
||||
@@ -39,13 +39,13 @@ include CMakeFiles\rules.ninja
|
||||
#############################################
|
||||
# Logical path to working directory; prefix for absolute paths.
|
||||
|
||||
cmake_ninja_workdir = D$:\Files\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug\
|
||||
cmake_ninja_workdir = C$:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug\
|
||||
|
||||
#############################################
|
||||
# Utility command for edit_cache
|
||||
|
||||
build CMakeFiles\edit_cache.util: CUSTOM_COMMAND
|
||||
COMMAND = cmd.exe /C "cd /D D:\Files\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available.""
|
||||
COMMAND = cmd.exe /C "cd /D C:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available.""
|
||||
DESC = No interactive CMake dialog available...
|
||||
restat = 1
|
||||
|
||||
@@ -56,7 +56,7 @@ build edit_cache: phony CMakeFiles\edit_cache.util
|
||||
# Utility command for rebuild_cache
|
||||
|
||||
build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND
|
||||
COMMAND = cmd.exe /C "cd /D D:\Files\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SD:\Files\Documents\GitHub\FC-Chess\FC-Chess -BD:\Files\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug"
|
||||
COMMAND = cmd.exe /C "cd /D C:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SC:\Users\user\Documents\GitHub\FC-Chess\FC-Chess -BC:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug"
|
||||
DESC = Running CMake to regenerate build system...
|
||||
pool = console
|
||||
restat = 1
|
||||
@@ -65,7 +65,7 @@ build rebuild_cache: phony CMakeFiles\rebuild_cache.util
|
||||
|
||||
# =============================================================================
|
||||
# Write statements declared in CMakeLists.txt:
|
||||
# D:/Files/Documents/GitHub/FC-Chess/FC-Chess/CMakeLists.txt
|
||||
# C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/CMakeLists.txt
|
||||
# =============================================================================
|
||||
|
||||
# =============================================================================
|
||||
@@ -77,14 +77,21 @@ build rebuild_cache: phony CMakeFiles\rebuild_cache.util
|
||||
|
||||
build cmake_object_order_depends_target_FC-Chess: phony || FC-Chess\CMakeFiles\FC-Chess.dir
|
||||
|
||||
build FC-Chess\CMakeFiles\FC-Chess.dir\main.cpp.obj: CXX_COMPILER__FC-Chess_Debug D$:\Files\Documents\GitHub\FC-Chess\FC-Chess\FC-Chess\main.cpp || cmake_object_order_depends_target_FC-Chess
|
||||
build FC-Chess\CMakeFiles\FC-Chess.dir\main.cpp.obj: CXX_COMPILER__FC-Chess_Debug C$:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\FC-Chess\main.cpp || cmake_object_order_depends_target_FC-Chess
|
||||
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++20
|
||||
OBJECT_DIR = FC-Chess\CMakeFiles\FC-Chess.dir
|
||||
OBJECT_FILE_DIR = FC-Chess\CMakeFiles\FC-Chess.dir
|
||||
TARGET_COMPILE_PDB = FC-Chess\CMakeFiles\FC-Chess.dir\
|
||||
TARGET_PDB = FC-Chess\FC-Chess.pdb
|
||||
|
||||
build FC-Chess\CMakeFiles\FC-Chess.dir\fc-chess.cpp.obj: CXX_COMPILER__FC-Chess_Debug D$:\Files\Documents\GitHub\FC-Chess\FC-Chess\FC-Chess\fc-chess.cpp || cmake_object_order_depends_target_FC-Chess
|
||||
build FC-Chess\CMakeFiles\FC-Chess.dir\FC-Chess.cpp.obj: CXX_COMPILER__FC-Chess_Debug C$:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\FC-Chess\FC-Chess.cpp || cmake_object_order_depends_target_FC-Chess
|
||||
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++20
|
||||
OBJECT_DIR = FC-Chess\CMakeFiles\FC-Chess.dir
|
||||
OBJECT_FILE_DIR = FC-Chess\CMakeFiles\FC-Chess.dir
|
||||
TARGET_COMPILE_PDB = FC-Chess\CMakeFiles\FC-Chess.dir\
|
||||
TARGET_PDB = FC-Chess\FC-Chess.pdb
|
||||
|
||||
build FC-Chess\CMakeFiles\FC-Chess.dir\graphics.cpp.obj: CXX_COMPILER__FC-Chess_Debug C$:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\FC-Chess\graphics.cpp || cmake_object_order_depends_target_FC-Chess
|
||||
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++20
|
||||
OBJECT_DIR = FC-Chess\CMakeFiles\FC-Chess.dir
|
||||
OBJECT_FILE_DIR = FC-Chess\CMakeFiles\FC-Chess.dir
|
||||
@@ -99,7 +106,7 @@ build FC-Chess\CMakeFiles\FC-Chess.dir\fc-chess.cpp.obj: CXX_COMPILER__FC-Chess_
|
||||
#############################################
|
||||
# Link the executable FC-Chess\FC-Chess.exe
|
||||
|
||||
build FC-Chess\FC-Chess.exe: CXX_EXECUTABLE_LINKER__FC-Chess_Debug FC-Chess\CMakeFiles\FC-Chess.dir\main.cpp.obj FC-Chess\CMakeFiles\FC-Chess.dir\fc-chess.cpp.obj
|
||||
build FC-Chess\FC-Chess.exe: CXX_EXECUTABLE_LINKER__FC-Chess_Debug FC-Chess\CMakeFiles\FC-Chess.dir\main.cpp.obj FC-Chess\CMakeFiles\FC-Chess.dir\FC-Chess.cpp.obj FC-Chess\CMakeFiles\FC-Chess.dir\graphics.cpp.obj
|
||||
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1
|
||||
LINK_FLAGS = /machine:x64 /debug /INCREMENTAL /subsystem:console
|
||||
LINK_LIBRARIES = kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
|
||||
@@ -116,7 +123,7 @@ build FC-Chess\FC-Chess.exe: CXX_EXECUTABLE_LINKER__FC-Chess_Debug FC-Chess\CMak
|
||||
# Utility command for edit_cache
|
||||
|
||||
build FC-Chess\CMakeFiles\edit_cache.util: CUSTOM_COMMAND
|
||||
COMMAND = cmd.exe /C "cd /D D:\Files\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug\FC-Chess && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available.""
|
||||
COMMAND = cmd.exe /C "cd /D C:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug\FC-Chess && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available.""
|
||||
DESC = No interactive CMake dialog available...
|
||||
restat = 1
|
||||
|
||||
@@ -127,7 +134,7 @@ build FC-Chess\edit_cache: phony FC-Chess\CMakeFiles\edit_cache.util
|
||||
# Utility command for rebuild_cache
|
||||
|
||||
build FC-Chess\CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND
|
||||
COMMAND = cmd.exe /C "cd /D D:\Files\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug\FC-Chess && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SD:\Files\Documents\GitHub\FC-Chess\FC-Chess -BD:\Files\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug"
|
||||
COMMAND = cmd.exe /C "cd /D C:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug\FC-Chess && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SC:\Users\user\Documents\GitHub\FC-Chess\FC-Chess -BC:\Users\user\Documents\GitHub\FC-Chess\FC-Chess\out\build\x64-debug"
|
||||
DESC = Running CMake to regenerate build system...
|
||||
pool = console
|
||||
restat = 1
|
||||
@@ -147,14 +154,14 @@ build FC-Chess.exe: phony FC-Chess\FC-Chess.exe
|
||||
# =============================================================================
|
||||
|
||||
#############################################
|
||||
# Folder: D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug
|
||||
# Folder: C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug
|
||||
|
||||
build all: phony FC-Chess\all
|
||||
|
||||
# =============================================================================
|
||||
|
||||
#############################################
|
||||
# Folder: D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess
|
||||
# Folder: C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess
|
||||
|
||||
build FC-Chess\all: phony FC-Chess\FC-Chess.exe
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Install script for directory: D:/Files/Documents/GitHub/FC-Chess/FC-Chess
|
||||
# Install script for directory: C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/install/x64-debug")
|
||||
set(CMAKE_INSTALL_PREFIX "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/install/x64-debug")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
@@ -34,7 +34,7 @@ endif()
|
||||
|
||||
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||
# Include the install script for each subdirectory.
|
||||
include("D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess/cmake_install.cmake")
|
||||
include("C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/FC-Chess/cmake_install.cmake")
|
||||
|
||||
endif()
|
||||
|
||||
@@ -46,5 +46,5 @@ endif()
|
||||
|
||||
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
||||
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
||||
file(WRITE "D:/Files/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/${CMAKE_INSTALL_MANIFEST}"
|
||||
file(WRITE "C:/Users/user/Documents/GitHub/FC-Chess/FC-Chess/out/build/x64-debug/${CMAKE_INSTALL_MANIFEST}"
|
||||
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# To Do List
|
||||
## What features/functions do I need?
|
||||
* save (autosave)
|
||||
* load
|
||||
* 2x 2D arrays: possible moves and positions
|
||||
* check if move is allowed (vertical, etc.)
|
||||
* check if another piece or rule blocks movement
|
||||
* "special" rules
|
||||
* switch between players
|
||||
* check if position is out of boundaries
|
||||
* TUI using ASCII
|
||||
*
|
||||
Reference in New Issue
Block a user