config: updated project config

This commit is contained in:
A.M. Rowsell 2025-08-06 09:29:41 -04:00
commit cc37d834fe
Signed by untrusted user who does not match committer: amr
GPG key ID: E0879EDBDB0CA7B1
3 changed files with 9 additions and 2 deletions

View file

@ -58,7 +58,7 @@ std::vector<Move> Rook::getLegalMoves(const Square &from, const Board &board) co
if (!target) { if (!target) {
moveList.push_back({from, moveList.push_back({from,
targetSquare}); targetSquare});
} else if (target->getColour() != this->getColour()) { } else if (target && target->getColour() != this->getColour()) {
moveList.push_back({from, moveList.push_back({from,
targetSquare}); targetSquare});
break; break;

View file

@ -39,6 +39,10 @@
<itemPath>NeoPixel.cpp</itemPath> <itemPath>NeoPixel.cpp</itemPath>
</logicalFolder> </logicalFolder>
</logicalFolder> </logicalFolder>
<sourceRootList>
<Elem>.</Elem>
<Elem>inc</Elem>
</sourceRootList>
<projectmakefile>Makefile</projectmakefile> <projectmakefile>Makefile</projectmakefile>
<confs> <confs>
<conf name="Debug" type="2"> <conf name="Debug" type="2">

View file

@ -8,7 +8,10 @@
<make-project-type>0</make-project-type> <make-project-type>0</make-project-type>
<sourceEncoding>UTF-8</sourceEncoding> <sourceEncoding>UTF-8</sourceEncoding>
<make-dep-projects/> <make-dep-projects/>
<sourceRootList/> <sourceRootList>
<sourceRootElem>.</sourceRootElem>
<sourceRootElem>inc</sourceRootElem>
</sourceRootList>
<confList> <confList>
<confElem> <confElem>
<name>Debug</name> <name>Debug</name>