From 4e62b4d5cb2d68774a45688089b89c57825c7e0b Mon Sep 17 00:00:00 2001 From: Charadon Date: Sun, 5 Jun 2022 21:04:36 -0400 Subject: Premake5 support --- src/ball.c | 1 - src/flatpak_launch.sh | 4 ++++ src/launch.sh | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100755 src/flatpak_launch.sh delete mode 100755 src/launch.sh (limited to 'src') diff --git a/src/ball.c b/src/ball.c index 4fc1eb4..35e0651 100644 --- a/src/ball.c +++ b/src/ball.c @@ -1,4 +1,3 @@ -#include "raylib.h" #include "pong.h" void ball(Rectangle *Player, Rectangle *Enemy, struct Balls *Ball, int *PlayerScore, int *EnemyScore) { diff --git a/src/flatpak_launch.sh b/src/flatpak_launch.sh new file mode 100755 index 0000000..1312ef3 --- /dev/null +++ b/src/flatpak_launch.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# This file is only for flatpak. +DIRECTORY="$(dirname $0)" +cd $DIRECTORY/../Pong && ./pong $@ \ No newline at end of file diff --git a/src/launch.sh b/src/launch.sh deleted file mode 100755 index 1312ef3..0000000 --- a/src/launch.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# This file is only for flatpak. -DIRECTORY="$(dirname $0)" -cd $DIRECTORY/../Pong && ./pong $@ \ No newline at end of file -- cgit 1.4.1-2-gfad0