This repository has been archived by the owner on Jan 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from avans-night-byte/release/v0.1
- Loading branch information
Showing
16 changed files
with
80 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule Box2D
updated
24 files
+1 −1 | README.md | |
+0 −4 | include/box2d/b2_common.h | |
+32 −0 | include/box2d/b2_contact.h | |
+23 −0 | include/box2d/b2_fixture.h | |
+1 −0 | include/box2d/b2_gear_joint.h | |
+3 −1 | include/box2d/b2_rope.h | |
+1 −0 | src/dynamics/b2_contact.cpp | |
+2 −1 | src/dynamics/b2_contact_solver.cpp | |
+1 −0 | src/dynamics/b2_contact_solver.h | |
+1 −1 | src/dynamics/b2_distance_joint.cpp | |
+2 −0 | src/dynamics/b2_fixture.cpp | |
+6 −0 | src/dynamics/b2_gear_joint.cpp | |
+1 −1 | src/dynamics/b2_prismatic_joint.cpp | |
+1 −1 | src/dynamics/b2_revolute_joint.cpp | |
+40 −0 | src/rope/b2_rope.cpp | |
+1 −1 | testbed/tests/gear_joint.cpp | |
+8 −1 | testbed/tests/restitution.cpp | |
+3 −3 | testbed/tests/rope.cpp | |
+2 −1 | unit-test/CMakeLists.txt | |
+1 −2 | unit-test/collision_test.cpp | |
+1 −2 | unit-test/hello_world.cpp | |
+106 −0 | unit-test/joint_test.cpp | |
+1 −2 | unit-test/math_test.cpp | |
+2 −2 | unit-test/world_test.cpp |
Submodule SDL
updated
6 files
+4 −0 | CMakeLists.txt | |
+3 −0 | configure | |
+3 −0 | configure.ac | |
+1 −0 | src/cpuinfo/SDL_cpuinfo.c | |
+49 −0 | src/misc/riscos/SDL_sysurl.c | |
+1 −1 | test/Makefile.os2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
# avans-engine | ||
Contains the engine for Avans minor Software Architecture | ||
# Night Byte Engine | ||
|
||
<p align="center"> | ||
<img src="NightByte.png" height="400px;" /> | ||
</p> | ||
|
||
## Run the executable | ||
|
||
Run the latest executable provided in the `builds` folder or download the executable from the [latest release](https://github.com/avans-night-byte/engine/releases). | ||
|
||
At this moment in time the application only returns given input to the console. Please start the executable from your terminal to see the Input functionality. | ||
|
||
## Build and run the project | ||
|
||
There are two ways to build and run the project: Use a provided script file or build manually. The scripts require dependencies to be installed already and are mostly used after setting up your environment. Read the script files for any dependencies you might have to install or use the wiki. | ||
|
||
### Linux | ||
|
||
Run `run.sh` from the root of the project or follow the [instructions on our wiki](https://github.com/avans-night-byte/engine/wiki/Project-Setup-%5BLinux%5D) to build manually. | ||
|
||
### Windows | ||
|
||
Run `run.bat` from the root of the project or follow the [instructions on our wiki](https://github.com/avans-night-byte/engine/wiki/Project-Setup-%5BWindows%5D) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@echo off | ||
|
||
rem This script attempts to build and run the project for Windows. | ||
rem See https://github.com/avans-night-byte/engine/wiki/Project-Setup-%5BWindows%5D for manual setup. | ||
rem Dependencies: make, cmake, gcc/g++, git | ||
|
||
rem 1. Pull/Update gitmodules | ||
git submodule update --init --recursive --remote | ||
|
||
rem 2. Generate a makefile and buildfolder | ||
cmake -S . -B ./build -G "MinGW Makefiles" | ||
cd build | ||
|
||
rem 3. Create a binary | ||
make | ||
cd bin | ||
|
||
rem 4. Run the executable | ||
NightByte.exe | ||
|
||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
#!/bin/bash | ||
# This script attempts to build and run the project for Linux. | ||
# See https://github.com/avans-night-byte/engine/wiki/Project-Setup-%5BLinux%5D for manual setup. | ||
# Dependencies: make, cmake, gcc/g++, git | ||
|
||
# 1. Pull/Update gitmodules | ||
git submodule update --recursive --init --remote | ||
|
||
# 2. Generate a makefile and buildfolder | ||
cmake -S . -B ./build/ | ||
cd build | ||
|
||
# 3. Create a binary | ||
make | ||
cd .. | ||
./build/bin/NightByte | ||
cd bin | ||
|
||
# 4. Run the executable | ||
./NightByte |