Skip to content

Commit

Permalink
Add license headers to source files as per GPL-3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tsjensen committed Aug 28, 2023
1 parent 2de5e39 commit 664f7ac
Show file tree
Hide file tree
Showing 48 changed files with 623 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
#
# CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
# Copyright (C) 2012-2023 Thomas Jensen
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
# License, version 3, as published by the Free Software Foundation.
# 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 <http://www.gnu.org/licenses/>.
#

/resources/i18n/*.ftl linguist-language=INI

/docker/.vimrc text eol=lf
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
#
# CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
# Copyright (C) 2012-2023 Thomas Jensen
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
# License, version 3, as published by the Free Software Foundation.
# 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 <http://www.gnu.org/licenses/>.
#

/.idea/
/build/
/.gradle/
Expand Down
13 changes: 13 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
#
# CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
# Copyright (C) 2012-2023 Thomas Jensen
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
# License, version 3, as published by the Free Software Foundation.
# 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 <http://www.gnu.org/licenses/>.
#

FROM node:8-buster

COPY .vimrc /root
Expand Down
13 changes: 13 additions & 0 deletions src/sass/_card-clickable.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// A card that turns blue on hover and is clickable.
div.card-button {
background: none;
Expand Down
13 changes: 13 additions & 0 deletions src/sass/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Variables
//
Expand Down
13 changes: 13 additions & 0 deletions src/sass/cards.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// CSS specific to the 'cards' page (cards.html).
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/cards/_cardinfo.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Card Info Modal
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/cards/_civcards.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Civilization Cards and their states
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/cards/_fundsbar.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Footer (== Funds Bar)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/cards/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Navbar on 'cards' page
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/civbuddy.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// CSS needed by all pages. Includes Bootstrap and Bootswatch Darkly.
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/error.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// CSS specific to the 'error' page (error.html).
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/funds.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// CSS specific to the 'funds' page.
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/games.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// CSS specific to the 'games' page (index.html).
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/players.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// CSS specific to the 'players' page (players.html).
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/shared/_icons.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Icon sizing and spacing
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/shared/_modal.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Modal Dialogs
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/shared/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Navbar Common
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/sass/shared/_util.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Miscellaneous Fixes
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
13 changes: 13 additions & 0 deletions src/ts/cards/activities.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

import { Activity, Page } from '../framework/framework';
import { CardData, State, StateUtil } from '../framework/model';
import { runActivityInternal } from '../main';
Expand Down
13 changes: 13 additions & 0 deletions src/ts/cards/calc.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* CivBuddy - A calculator app for players of Francis Tresham's original Civilization board game (1980)
* Copyright (C) 2012-2023 Thomas Jensen
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License, version 3, as published by the Free Software Foundation.
* 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 <http://www.gnu.org/licenses/>.
*/

import { CardData, Situation, State, StateUtil } from '../framework/model';
import { Card, CardJson, Language, Rules } from '../rules/rules';

Expand Down
Loading

0 comments on commit 664f7ac

Please sign in to comment.