mirror of
https://github.com/lov3b/Pong.git
synced 2025-06-28 15:50:27 +02:00
BSD-2-Clause
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#include "Game.h"
|
||||
|
||||
Game::Game(SDL_Point screenSize) : SdlWrapper("Pong", screenSize, 60),
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by love on 2024-01-18.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#include "SdlWrapper.h"
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by love on 2024-01-18.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by love on 2024-01-19.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma once
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#include "Vec2d.h"
|
||||
|
||||
Vec2d::Vec2d(float_t hypotenuse) : hypotenuse(hypotenuse) {
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by love on 2024-01-19.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma once
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#include "Ball.h"
|
||||
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
//
|
||||
// Created by love on 2024-01-18.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../Vec2d/Vec2d.h"
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#include "PlayerPaddle.h"
|
||||
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <SDL_rect.h>
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by love on 2024-01-19.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma once
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by Love on 2024-01-29.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#if defined(__LINUX__)
|
||||
#include <filesystem>
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by love on 2024-01-24.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma once
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#include "Game.h"
|
||||
#include <SDL.h>
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#include "OptionScreen.h"
|
||||
#include <chrono>
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by Love on 2024-01-29.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma once
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#include "Score.h"
|
||||
|
||||
Score::Score(SDL_Point *screenSize, uint8_t max_score) : maxScore_(max_score), leftScore(0), rightScore(0),
|
||||
|
@ -1,6 +1,5 @@
|
||||
//
|
||||
// Created by Love on 2024-01-29.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by Love on 2024-01-29.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#include "ScrollOptionScreen.h"
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by Love on 2024-01-29.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma once
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
|
@ -1,6 +1,4 @@
|
||||
//
|
||||
// Created by love on 2024-01-24.
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#pragma once
|
||||
|
||||
|
Reference in New Issue
Block a user