From 3819294f575c3b5c50db5fa3b5103c55a41cd31a Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Mon, 19 Feb 2024 20:44:33 -0500 Subject: [PATCH] Bug fixes and fixing build system to be more reliable --- .vscode/c_cpp_properties.json | 23 --------------- .vscode/launch.json | 28 ------------------ .vscode/settings.json | 5 ---- .vscode/tasks.json | 32 --------------------- CMakeLists.txt | 21 ++++++++++++++ Rsconscript.rb | 12 -------- rscons | 46 ------------------------------ src/chess_board.cpp | 14 ++++----- src/chess_board.h | 2 +- src/game.cpp | 3 +- src/pieces.cpp | 12 -------- src/pieces.hpp | 19 ------------ src/user_interface_abstraction.cpp | 1 - 13 files changed, 29 insertions(+), 189 deletions(-) delete mode 100644 .vscode/c_cpp_properties.json delete mode 100644 .vscode/launch.json delete mode 100644 .vscode/settings.json delete mode 100644 .vscode/tasks.json create mode 100644 CMakeLists.txt delete mode 100644 Rsconscript.rb delete mode 100644 rscons delete mode 100644 src/pieces.cpp delete mode 100644 src/pieces.hpp diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json deleted file mode 100644 index d1072ff..0000000 --- a/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "configurations": [ - { - "name": "Win32", - "includePath": [ - "${workspaceFolder}/**", - "C:\\Users\\Daniel\\Documents\\Projects\\i686-w64-mingw32\\include\\SDL2" - - ], - "defines": [ - "_DEBUG", - "UNICODE", - "_UNICODE" - ], - "windowsSdkVersion": "10.0.14393.0", - "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe", - "cStandard": "c11", - "cppStandard": "c++17", - "intelliSenseMode": "msvc-x64" - } - ], - "version": 4 -} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 690049e..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "(gdb) Launch", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/Chess.exe", - "args": [], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": false, - "MIMode": "gdb", - "miDebuggerPath": "C:\\Program Files (x86)\\mingw-w64\\i686-7.2.0-posix-dwarf-rt_v5-rev1\\mingw32\\bin\\gdb.exe", - "setupCommands": [ - { - "description": "Enable pretty-printing for gdb", - "text": "-enable-pretty-printing", - "ignoreFailures": true - } - ] - } - ] -} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 82cf1bb..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "files.associations": { - "stack": "cpp" - } -} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 4a84209..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "type": "shell", - "label": "Build Ouptup", - "command": "g++", - "args": [ - "*.cpp", - "-IC:\\Users\\Daniel\\Documents\\Projects\\i686-w64-mingw32\\include\\SDL2", - "-LC:\\Users\\Daniel\\Documents\\Projects\\i686-w64-mingw32\\lib", - "-w", - "-Wl,-subsystem,windows", - "-lmingw32", - "-lSDL2main", - "-lSDL2", - "-static-libstdc++", - "-o", - "Chess" - ], - "problemMatcher": [ - "$gcc" - ], - "group": { - "kind": "build", - "isDefault": true - } - }, - ] -} \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..69de0cc --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,21 @@ +cmake_minimum_required(VERSION 3.8) + +set(This Chess) +project(${This} C CXX) + +enable_language(CXX) +# set(SDL2_INCLUDE_DIR /usr/include/SDL2) +# set(SDL2_LIBRARY /usr/lib/x86_64-linux-gnu/libSDL2.so) +# list(APPEND CMAKE_MODULE_PATH SDL2_INCLUDE_DIR) +# list(APPEND CMAKE_MODULE_PATH SDL2_LIBRARY) +#list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/sdl2) +find_package(SDL2 REQUIRED) + + +file(GLOB FILES + src/*.cpp) + +add_executable(${This} ${FILES}) +include_directories(${SDL2_INCLUDE_DIRS}) +target_link_libraries(${This} ${SDL2_LIBRARIES}) + diff --git a/Rsconscript.rb b/Rsconscript.rb deleted file mode 100644 index 93c5272..0000000 --- a/Rsconscript.rb +++ /dev/null @@ -1,12 +0,0 @@ -task "configure" do - check_cxx_compiler "g++" - check_lib "SDL2" - check_lib "SDL2main" -end - -task "build" do - env do |env| - env.Program("Chess", glob("src/*.cpp")) - end - -end \ No newline at end of file diff --git a/rscons b/rscons deleted file mode 100644 index 2bdaa13..0000000 --- a/rscons +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env ruby - -# Copyright (c) 2013-2022 Josh Holtrop -# -# MIT License -# -# Permission is hereby granted, free of charge, to any person obtaining -# a copy of this software and associated documentation files (the -# "Software"), to deal in the Software without restriction, including -# without limitation the rights to use, copy, modify, merge, publish, -# distribute, sublicense, and/or sell copies of the Software, and to -# permit persons to whom the Software is furnished to do so, subject to -# the following conditions: -# -# The above copyright notice and this permission notice shall be -# included in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -script = File.join(File.dirname(__FILE__), ".rscons-3.0.2-c49c635f1e4166223367979510498b28.rb") -unless File.exists?(script) - if File.read(__FILE__, mode: "rb") =~ /^#==>(.*)/ - require "zlib" - require "base64" - encoded_compressed = $1 - unescaped_compressed = Base64.decode64(encoded_compressed) - inflated = Zlib::Inflate.inflate(unescaped_compressed) - File.open(script, "wb") do |fh| - fh.write(inflated) - end - else - raise "Could not decompress." - end -end -load script -if __FILE__ == $0 - Rscons::Cli.new.run(ARGV) -end -#==>eJztfWt3GzeS6Pf8inbbiUmZouzMndlzGCuSLMmJ9sqWryRnPUszHIpsSj0mu7ndpGStzP3tF1V4VQHoJuVHbnbP9ZyJ2HgUgEKhUCgUqh4+2FqUxdZFmm0l2XVULC5uvyuS/1ikRRLFWTLfuprPZ7FNGqWXSTmPv5vmo8UkiU7LYZ6V30WR+t7LylR8RdFwMijL6PnzqEwmY0yJotPDs8PzaDuK3yfdp9NYpY6ScXRTpPOkkeataGOalOXgMmmqXJGf94f5JC9ERdlaezCbTdLhYJ7mWVvkDkSbsoipk45NtXaWTnZMBgOn6u6Ihm1zSTYyv/PFHLobh+ASkMNFUSTZ3HYTxkmbTEqBu1FlvhpyOxkMrwT86NP0E8nFVqfttOwPdhpn8yLNLpssO4omaZaUAvC0XQrMzBvx+yxuRZvPguWwmf5NOr/qp9ko+YgtQk4rSj85FbBtyIseMDywfD58UZCNN1BHIvbJOgVd1K6qQWfPaw4G4uWGaohBpdFzha4y/c8k2oyerTl4d3K9XlQXWEVHaw0S5n6NQbopyaR0cTMclEk0dRJvrpIs6ogp+ImmuhSOK/ynvzybul2R1S+LJMl+Wln9x4rqt8lkkt/8tKr6XyqqX0wWCe19RfX/VVF9KpZqNh/8tKL6XyuqD28H2Rqt/62i+s2V4JSrUfcvVWPPJyM6eaHqz6onDqrTyauoXjVxUJ1OXkX1yokT1enkVVSvmjioTievonrV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kDjLogh9cVosEhGSEmvnVYC7wmmjY0cWt1kjDzzyb3MosuHo12IAPDQraF/Usek7AdedNCs7z5IglYHAcapFTIgrL6DIFKtGqwkF2awsAz1DAoYMaKe3oXEBV0DRwAvU7ud6mCcRSAr4BT1Nw7yWB0qF1G7JbkoIU27A60CJ8QA/p+RbLvQR6oUKZpX5ISEZGbznJL2Xz4px+neaLUkeXF3l4wGyM8kQNNBfTjLkITe0YssEraBAkMtuQ5E4RJNZD45CEGAawMiVHbb82qyXD0FOAUi1vNTCSe2RWjd56w+LZUrVQRPsnxyen0ArKLtv4aZqR8gyIWFFDyFQtjGPeilAoUhDOoa6NpIzDNWwCB2tivJZk7DDk0hlz9MIQM8JCapbcCVfKgDIkJDJJb5IZbe6dw/ZUcrYmKAnoG+GJH7fR1eA6cSBBsKdcUcs1chcpEGGl00UWqe/JLRAzkOJgUSaa1KBRNNK0a1wOS5PVosR1KlkCGJzrF6fYoJanPGLRMtSa9AK7hd1PtKpaiD79PiyNfh+sbR+BrKVFsv1JCsdH3D73Tn/5rYk1/i9wyLs0 diff --git a/src/chess_board.cpp b/src/chess_board.cpp index 778fae1..119f3c3 100644 --- a/src/chess_board.cpp +++ b/src/chess_board.cpp @@ -1,9 +1,7 @@ #include "chess_board.h" #include "stdio.h" -#include #include -#include "pieces.hpp" -#include + static uint8_t Board_State[12][8] = {{0}}; @@ -78,12 +76,12 @@ bool square_is_safe(uint8_t row, uint8_t column) int8_t temp = row + (White_Turn ? -1 : 1); /* first check if pawns can take us */ - if ((White_Turn ? PAWN_BLACK : PAWN_WHITE) == Board_State[temp][column - 1u]) + if ((column > 0) && ((White_Turn ? PAWN_BLACK : PAWN_WHITE) == Board_State[temp][column - 1u])) { //can be eaten by a pawn, not safe. return false; } - if ((White_Turn ? PAWN_BLACK : PAWN_WHITE) == Board_State[temp][column + 1u]) + if ((column < 7) && ((White_Turn ? PAWN_BLACK : PAWN_WHITE) == Board_State[temp][column + 1u])) { //can be eaten by a pawn, not safe. return false; @@ -662,11 +660,11 @@ bool Check_If_Player_Can_Move(bool white) { if((white_team(Board_State[row][column]) == white)) { - SDL_Log("move: Row:%d, Col:%d", row, column); + // SDL_Log("move: Row:%d, Col:%d", row, column); if(Mark_Potential_Moves(Board_State[row][column], column, row)) { - SDL_Log("Player Can still move: Row:%d, Col:%d", row, column); + // SDL_Log("Player Can still move: Row:%d, Col:%d", row, column); clear_lights(); return true; } @@ -675,7 +673,7 @@ bool Check_If_Player_Can_Move(bool white) } clear_lights(); - SDL_Log("Player cant move"); + // SDL_Log("Player cant move"); return false; } diff --git a/src/chess_board.h b/src/chess_board.h index 85f13eb..052ac0f 100644 --- a/src/chess_board.h +++ b/src/chess_board.h @@ -1,4 +1,4 @@ -#include +#include "stdint.h" #define LIGHT_OFF 0u #define POTENTIAL_MOVE 1u diff --git a/src/game.cpp b/src/game.cpp index a47854d..e5926f2 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -49,7 +49,6 @@ int begin_game(SDL_Renderer *renderer, SDL_Window *win) ui_click(renderer, event.button.x, event.button.y); end_time = clock(); - SDL_RenderPresent(renderer); clock_t t = end_time - start_time; SDL_Log("No. of clicks %ld clicks (%f seconds) to process the incoming click.\n", t, ((float)t) / CLOCKS_PER_SEC); } @@ -107,4 +106,4 @@ int begin_game(SDL_Renderer *renderer, SDL_Window *win) //g++ main.cpp -o blah `sdl2-config --cflags --libs` /* g++ main.cpp -IC:\Users\Daniel\Documents\Projects\i686-w64-mingw32\include\SDL2 -LC:\Users\Daniel\Documents\Projects\i686-w64-mingw32\lib -w -Wl,-subsystem,windows -lmingw32 -lSDL2main -lSDL2 -o SDLMain -*/ \ No newline at end of file +*/ diff --git a/src/pieces.cpp b/src/pieces.cpp deleted file mode 100644 index ce43bbe..0000000 --- a/src/pieces.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "pieces.hpp" - -pieces::pieces(uint8_t row, uint8_t column) -{ - my_position.row = row; - my_position.column = column; -} - -pieces::~pieces() -{ - -} diff --git a/src/pieces.hpp b/src/pieces.hpp deleted file mode 100644 index 96d487e..0000000 --- a/src/pieces.hpp +++ /dev/null @@ -1,19 +0,0 @@ -#include - -#define UNINIT 0xFFu - -struct position -{ - uint8_t row; - uint8_t column; -}; - -class pieces -{ -private: - position my_position; - -public: - pieces(uint8_t row, uint8_t column); - ~pieces(); -}; \ No newline at end of file diff --git a/src/user_interface_abstraction.cpp b/src/user_interface_abstraction.cpp index 810bebe..18156de 100644 --- a/src/user_interface_abstraction.cpp +++ b/src/user_interface_abstraction.cpp @@ -1,6 +1,5 @@ #include "user_interface_abstraction.h" #include "chess_board.h" -#include #include #define MARGIN 300