summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorvictorfisac <[email protected]>2017-03-06 22:57:33 +0100
committervictorfisac <[email protected]>2017-03-06 22:57:33 +0100
commitc964559bc966292a7d70f00559ea80c224aab96d (patch)
treecf4ab9db7dc77f30bba3f3f2280c774fce4bdd7e /examples
parentf88a94341891b1969ba58dd7ab88e6b3c69cabf2 (diff)
downloadraylib-c964559bc966292a7d70f00559ea80c224aab96d.tar.gz
raylib-c964559bc966292a7d70f00559ea80c224aab96d.zip
Update physac source and examples with new changes
Diffstat (limited to 'examples')
-rw-r--r--examples/physics_demo.c7
-rw-r--r--examples/physics_friction.c7
-rw-r--r--examples/physics_movement.c7
-rw-r--r--examples/physics_restitution.c7
-rw-r--r--examples/physics_shatter.c7
5 files changed, 25 insertions, 10 deletions
diff --git a/examples/physics_demo.c b/examples/physics_demo.c
index de8d515e..b12ac708 100644
--- a/examples/physics_demo.c
+++ b/examples/physics_demo.c
@@ -3,9 +3,12 @@
* Physac - Physics demo
*
* NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations.
-* The file pthreadGC2.dll is required to run the program; you can find it in 'src\external'
*
-* Copyright (c) 2016 Victor Fisac
+* Use the following code to compile (-static -lpthread):
+* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread
+* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition
+*
+* Copyright (c) 2017 Victor Fisac
*
********************************************************************************************/
diff --git a/examples/physics_friction.c b/examples/physics_friction.c
index a4baad53..db1b5f4c 100644
--- a/examples/physics_friction.c
+++ b/examples/physics_friction.c
@@ -3,9 +3,12 @@
* Physac - Physics friction
*
* NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations.
-* The file pthreadGC2.dll is required to run the program; you can find it in 'src\external'
*
-* Copyright (c) 2016 Victor Fisac
+* Use the following code to compile (-static -lpthread):
+* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread
+* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition
+*
+* Copyright (c) 2017 Victor Fisac
*
********************************************************************************************/
diff --git a/examples/physics_movement.c b/examples/physics_movement.c
index ee97845f..3345404d 100644
--- a/examples/physics_movement.c
+++ b/examples/physics_movement.c
@@ -3,9 +3,12 @@
* Physac - Physics movement
*
* NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations.
-* The file pthreadGC2.dll is required to run the program; you can find it in 'src\external'
*
-* Copyright (c) 2016 Victor Fisac
+* Use the following code to compile (-static -lpthread):
+* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread
+* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition
+*
+* Copyright (c) 2017 Victor Fisac
*
********************************************************************************************/
diff --git a/examples/physics_restitution.c b/examples/physics_restitution.c
index 378f6f24..534d125e 100644
--- a/examples/physics_restitution.c
+++ b/examples/physics_restitution.c
@@ -3,9 +3,12 @@
* Physac - Physics restitution
*
* NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations.
-* The file pthreadGC2.dll is required to run the program; you can find it in 'src\external'
*
-* Copyright (c) 2016 Victor Fisac
+* Use the following code to compile (-static -lpthread):
+* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread
+* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition
+*
+* Copyright (c) 2017 Victor Fisac
*
********************************************************************************************/
diff --git a/examples/physics_shatter.c b/examples/physics_shatter.c
index 637a163e..fac90714 100644
--- a/examples/physics_shatter.c
+++ b/examples/physics_shatter.c
@@ -3,9 +3,12 @@
* Physac - Body shatter
*
* NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations.
-* The file pthreadGC2.dll is required to run the program; you can find it in 'src\external'
*
-* Copyright (c) 2016 Victor Fisac
+* Use the following code to compile (-static -lpthread):
+* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread
+* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition
+*
+* Copyright (c) 2017 Victor Fisac
*
********************************************************************************************/