about summary refs log tree commit diff stats
path: root/LICENSE
blob: aa0a3abe98b24ac0fc1e123610ff1542a6fd56bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
MIT/X Consortium License

(C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>

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.
╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ =============================================================================== Description: This is a pong clone made in C using raylib as the main back bone of the code. My goal with this project is: 1. Support as many platforms as possible. At the current time these are: - Linux - NetBSD - FreeBSD - Windows - OpenBSD - Mac OSX (File loading issue???) The following platforms are not support, with the reasons why they aren't yet: - DragonflyBSD (Haven't gotten around to it yet.) - Haiku (SDL2_Threads not working properly.) - Hurd (I'll fuckin do it for the memes, mark my words...) - OpenIndiana (Premake5 doesn't link properly.) 2. Make a fun, simple game. 3. Improve my coding skills. If you have any criticism of my code, go ahead and leave an issue! Pointing out mistakes is the only way I can learn. =============================================================================== Build: Unix/POSIX: 1. Install the following dependencies: - Raylib - For Graphics Drawing - GLFW3 - Raylib dependency - SDL2 - SDL2_mixer dependency - SDL2_mixer - For sound - premake5 - To generate build files - pkgconf (not pkg-config) - Mesa 2. Run `premake5 check_deps` to make sure you have all dependencies. 3. Run `premake5 gmake2` 4. Run `make` or `gmake` 5. Run `premake5 install` to install it to the prefix. Flatpak: 1. Run `premake5 gmake2` 2. Run `flatpak-builder --user --force-clean --install --repo=flatpak_repo build-dir net.iotib.Pong.yml` 3. Generate a distributable file using: `flatpak build-bundle flatpak_repo net.iotib.Pong.flatpak net.iotib.Pong <version>` 4. Once installed, you can run it using `flatpak run net.iotib.Pong` Windows: 1. Install msys2 (https://www.msys2.org/) 2. Follow the instructions from the unix section. Mac OSX: NOTE: There's a potential file loading issue. 1. Install homebrew (https://brew.sh/) 2. Follow the instructions from the unix section. ===============================================================================