diff --git a/.gitignore b/.gitignore index d895019..4ee4647 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,4 @@ *~ /steam_appid.txt /*.so -/breakhack.run +/breakhack*.run diff --git a/.vimrc b/.vimrc index d78c658..b520fda 100644 --- a/.vimrc +++ b/.vimrc @@ -1,7 +1,7 @@ nnoremap :Make nnoremap :Make lint test -nnoremap :Termdebug _build/breakhack -nnoremap :ter ++close env LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./ ./_build/breakhack +nnoremap :Termdebug _build/debug/breakhack +nnoremap :ter ++close env LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./ ./_build/debug/breakhack packadd termdebug let g:termdebug_wide = 1 diff --git a/Makefile b/Makefile index d7869b3..d371b6b 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,25 @@ all: - @make -sC _build + @make -sC _build/debug + @make -sC _build/release .PHONY: all clean: - @make clean -sC _build + @make clean -sC _build/debug + @make clean -sC _build/release .PHONY: clean test: - @make test -sC _build + @make test -sC _build/debug .PHONY: test run: $(all) - @./_build/breakhack + @./_build/debug/breakhack .PHONY: run lint: - @make lint -sC _build + @make lint -sC _build/debug .PHONY: lint package: - @make package -sC _build + @make package -sC _build/release .PHONY: package diff --git a/README.md b/README.md index a0d7d16..86bf4fe 100644 --- a/README.md +++ b/README.md @@ -25,12 +25,25 @@ are graciously taken from the web. More info in the README in the assets folder. Download ------- +-------- This game is available in the [steam store](https://store.steampowered.com/app/931040/BreakHack/) (release Okt 2018). If you enjoy the game and want a properly installed, signed copy of the game with achievements and global highscores you are most welcome to purchase it there. If you feel like getting a free copy you can download and compile from here. +Issues +------ +I'd prefer if issues could be handled here on github. Either check the list if your particular problem is reported +otherwise create a new issue. Support questions can be submitted as issues as well, I haven't figured out how I want to +work with support yet since I haven't received any questions. + +License +------- +BreakHack is released under two different licenses. + +- The source code is released under [GPLv3](https://github.com/LiquidityC/breakhack/blob/master/LICENSE.txt) +- The Steam release is released under the [Steam subscriber agreement](https://store.steampowered.com/subscriber_agreement/) + Compile ------- Apart from basic compile tools (*GCC/Clang, Make*) you'll also need to install **lua, sdl2, sdl2-image, sdl2-ttf, sdl2-mixer** (If on a debian based dist you need to install the *dev* packages). diff --git a/steamworks_c_wrapper/src/CSteamLeaderboard.cpp b/steamworks_c_wrapper/src/CSteamLeaderboard.cpp index 80f8a31..b871ac1 100644 --- a/steamworks_c_wrapper/src/CSteamLeaderboard.cpp +++ b/steamworks_c_wrapper/src/CSteamLeaderboard.cpp @@ -1,3 +1,21 @@ +/* + * BreakHack - A dungeone crawler RPG + * Copyright (C) 2018 Linus Probert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include "CSteamLeaderboard.h" diff --git a/steamworks_c_wrapper/src/CSteamLeaderboard.h b/steamworks_c_wrapper/src/CSteamLeaderboard.h index 3766bad..8097c6e 100644 --- a/steamworks_c_wrapper/src/CSteamLeaderboard.h +++ b/steamworks_c_wrapper/src/CSteamLeaderboard.h @@ -1,3 +1,21 @@ +/* + * BreakHack - A dungeone crawler RPG + * Copyright (C) 2018 Linus Probert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #pragma once #include diff --git a/steamworks_c_wrapper/src/CallbackHandler.cpp b/steamworks_c_wrapper/src/CallbackHandler.cpp index 7d1ea04..4230487 100644 --- a/steamworks_c_wrapper/src/CallbackHandler.cpp +++ b/steamworks_c_wrapper/src/CallbackHandler.cpp @@ -1,3 +1,21 @@ +/* + * BreakHack - A dungeone crawler RPG + * Copyright (C) 2018 Linus Probert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include "CallbackHandler.h" CallbackHandler::CallbackHandler(int64 appId) : diff --git a/steamworks_c_wrapper/src/CallbackHandler.h b/steamworks_c_wrapper/src/CallbackHandler.h index 1cb8ebc..80fc063 100644 --- a/steamworks_c_wrapper/src/CallbackHandler.h +++ b/steamworks_c_wrapper/src/CallbackHandler.h @@ -1,3 +1,21 @@ +/* + * BreakHack - A dungeone crawler RPG + * Copyright (C) 2018 Linus Probert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #pragma once #include diff --git a/steamworks_c_wrapper/src/steamworks_c_wrapper.cpp b/steamworks_c_wrapper/src/steamworks_c_wrapper.cpp index f413b78..e8acf1c 100644 --- a/steamworks_c_wrapper/src/steamworks_c_wrapper.cpp +++ b/steamworks_c_wrapper/src/steamworks_c_wrapper.cpp @@ -1,3 +1,21 @@ +/* + * BreakHack - A dungeone crawler RPG + * Copyright (C) 2018 Linus Probert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include extern "C" { diff --git a/steamworks_c_wrapper/src/steamworks_c_wrapper.h b/steamworks_c_wrapper/src/steamworks_c_wrapper.h index be00cf0..acebea2 100644 --- a/steamworks_c_wrapper/src/steamworks_c_wrapper.h +++ b/steamworks_c_wrapper/src/steamworks_c_wrapper.h @@ -1,3 +1,21 @@ +/* + * BreakHack - A dungeone crawler RPG + * Copyright (C) 2018 Linus Probert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #pragma once #include