From 1c9537b5e722c5aa5a52000795237c218067859b Mon Sep 17 00:00:00 2001 From: D3nX <30444899+D3nX@users.noreply.github.com> Date: Fri, 13 Jul 2018 21:45:43 +0400 Subject: Add files via upload --- projects/CodeBlocks/REAME.md | 15 +++++ .../CodeBlocks/bin/Debug/raylib_codeblocks_tpl.exe | Bin 0 -> 554674 bytes .../bin/Release/raylib_codeblocks_tpl.exe | Bin 0 -> 450560 bytes projects/CodeBlocks/compiler_bg.png | Bin 0 -> 71748 bytes projects/CodeBlocks/main.c | 62 +++++++++++++++++++++ projects/CodeBlocks/obj/Debug/main.o | Bin 0 -> 2530 bytes projects/CodeBlocks/obj/Release/main.o | Bin 0 -> 1466 bytes projects/CodeBlocks/raylib_codeblocks_tpl.cbp | 54 ++++++++++++++++++ projects/CodeBlocks/raylib_codeblocks_tpl.depend | 6 ++ projects/CodeBlocks/raylib_codeblocks_tpl.layout | 10 ++++ 10 files changed, 147 insertions(+) create mode 100644 projects/CodeBlocks/REAME.md create mode 100644 projects/CodeBlocks/bin/Debug/raylib_codeblocks_tpl.exe create mode 100644 projects/CodeBlocks/bin/Release/raylib_codeblocks_tpl.exe create mode 100644 projects/CodeBlocks/compiler_bg.png create mode 100644 projects/CodeBlocks/main.c create mode 100644 projects/CodeBlocks/obj/Debug/main.o create mode 100644 projects/CodeBlocks/obj/Release/main.o create mode 100644 projects/CodeBlocks/raylib_codeblocks_tpl.cbp create mode 100644 projects/CodeBlocks/raylib_codeblocks_tpl.depend create mode 100644 projects/CodeBlocks/raylib_codeblocks_tpl.layout (limited to 'projects/CodeBlocks') diff --git a/projects/CodeBlocks/REAME.md b/projects/CodeBlocks/REAME.md new file mode 100644 index 00000000..a0e29ab3 --- /dev/null +++ b/projects/CodeBlocks/REAME.md @@ -0,0 +1,15 @@ +# Raylib for Code::Blocks +**By D3nX**
+

+Hey ! There is the template for use with Code::Blocks =) +

+First, you will need to download the raylib installer and run it from the raylib website (https://www.raylib.com). +

+Then, download the template, and open the project from Code::Blocks +And before running the template, make sure following set the raylib +compiler for the IDE as show below : +![alt text](link) +
+Finally, you can run the program and enjoy raylib running on Code::Blocks ! +

+Hope it helped you =) \ No newline at end of file diff --git a/projects/CodeBlocks/bin/Debug/raylib_codeblocks_tpl.exe b/projects/CodeBlocks/bin/Debug/raylib_codeblocks_tpl.exe new file mode 100644 index 00000000..45111523 Binary files /dev/null and b/projects/CodeBlocks/bin/Debug/raylib_codeblocks_tpl.exe differ diff --git a/projects/CodeBlocks/bin/Release/raylib_codeblocks_tpl.exe b/projects/CodeBlocks/bin/Release/raylib_codeblocks_tpl.exe new file mode 100644 index 00000000..31a1ae58 Binary files /dev/null and b/projects/CodeBlocks/bin/Release/raylib_codeblocks_tpl.exe differ diff --git a/projects/CodeBlocks/compiler_bg.png b/projects/CodeBlocks/compiler_bg.png new file mode 100644 index 00000000..67f9b7a1 Binary files /dev/null and b/projects/CodeBlocks/compiler_bg.png differ diff --git a/projects/CodeBlocks/main.c b/projects/CodeBlocks/main.c new file mode 100644 index 00000000..e7ab3012 --- /dev/null +++ b/projects/CodeBlocks/main.c @@ -0,0 +1,62 @@ +/*******************************************************************************************-lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm +* +* raylib [core] example - Basic window +* +* Welcome to raylib! +* +* To test examples, just press F6 and execute raylib_compile_execute script +* Note that compiled executable is placed in the same folder as .c file +* +* You can find all basic examples on C:\raylib\raylib\examples folder or +* raylib official webpage: www.raylib.com +* +* Enjoy using raylib. :) +* +* This example has been created using raylib 1.0 (www.raylib.com) +* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) +* +* Copyright (c) 2013-2016 Ramon Santamaria (@raysan5) +* +********************************************************************************************/ + +#include "raylib.h" + +int main() +{ + // Initialization + //-------------------------------------------------------------------------------------- + int screenWidth = 800; + int screenHeight = 450; + + InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window"); + + SetTargetFPS(60); + //-------------------------------------------------------------------------------------- + + // Main game loop + while (!WindowShouldClose()) // Detect window close button or ESC key + { + // Update + //---------------------------------------------------------------------------------- + // TODO: Update your variables here + //---------------------------------------------------------------------------------- + + // Draw + //---------------------------------------------------------------------------------- + BeginDrawing(); + + ClearBackground(RAYWHITE); + + DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY); + + EndDrawing(); + //---------------------------------------------------------------------------------- + } + + // De-Initialization + //-------------------------------------------------------------------------------------- + CloseWindow(); // Close window and OpenGL context + //-------------------------------------------------------------------------------------- + + return 0; +} diff --git a/projects/CodeBlocks/obj/Debug/main.o b/projects/CodeBlocks/obj/Debug/main.o new file mode 100644 index 00000000..29bbb3b3 Binary files /dev/null and b/projects/CodeBlocks/obj/Debug/main.o differ diff --git a/projects/CodeBlocks/obj/Release/main.o b/projects/CodeBlocks/obj/Release/main.o new file mode 100644 index 00000000..9fc5de5f Binary files /dev/null and b/projects/CodeBlocks/obj/Release/main.o differ diff --git a/projects/CodeBlocks/raylib_codeblocks_tpl.cbp b/projects/CodeBlocks/raylib_codeblocks_tpl.cbp new file mode 100644 index 00000000..dcf065ae --- /dev/null +++ b/projects/CodeBlocks/raylib_codeblocks_tpl.cbp @@ -0,0 +1,54 @@ + + + + + + diff --git a/projects/CodeBlocks/raylib_codeblocks_tpl.depend b/projects/CodeBlocks/raylib_codeblocks_tpl.depend new file mode 100644 index 00000000..615d5c23 --- /dev/null +++ b/projects/CodeBlocks/raylib_codeblocks_tpl.depend @@ -0,0 +1,6 @@ +# depslib dependency file v1.0 +1531496075 source:c:\programmation c\raylib_codeblocks_tpl\main.c + "raylib.h" + +1508702984 c:\raylib\raylib\release\include\raylib.h + diff --git a/projects/CodeBlocks/raylib_codeblocks_tpl.layout b/projects/CodeBlocks/raylib_codeblocks_tpl.layout new file mode 100644 index 00000000..f2a627a3 --- /dev/null +++ b/projects/CodeBlocks/raylib_codeblocks_tpl.layout @@ -0,0 +1,10 @@ + + + + + + + + + + -- cgit v1.2.3 From 90d35b2ac4b752778a99328f91b592d8737105af Mon Sep 17 00:00:00 2001 From: D3nX <30444899+D3nX@users.noreply.github.com> Date: Fri, 13 Jul 2018 21:46:13 +0400 Subject: Delete raylib_codeblocks_tpl.exe --- .../CodeBlocks/bin/Debug/raylib_codeblocks_tpl.exe | Bin 554674 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 projects/CodeBlocks/bin/Debug/raylib_codeblocks_tpl.exe (limited to 'projects/CodeBlocks') diff --git a/projects/CodeBlocks/bin/Debug/raylib_codeblocks_tpl.exe b/projects/CodeBlocks/bin/Debug/raylib_codeblocks_tpl.exe deleted file mode 100644 index 45111523..00000000 Binary files a/projects/CodeBlocks/bin/Debug/raylib_codeblocks_tpl.exe and /dev/null differ -- cgit v1.2.3 From 2f3011c4579706ecce02b3726da3078df37efedd Mon Sep 17 00:00:00 2001 From: D3nX <30444899+D3nX@users.noreply.github.com> Date: Fri, 13 Jul 2018 21:46:33 +0400 Subject: Delete raylib_codeblocks_tpl.exe --- .../CodeBlocks/bin/Release/raylib_codeblocks_tpl.exe | Bin 450560 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 projects/CodeBlocks/bin/Release/raylib_codeblocks_tpl.exe (limited to 'projects/CodeBlocks') diff --git a/projects/CodeBlocks/bin/Release/raylib_codeblocks_tpl.exe b/projects/CodeBlocks/bin/Release/raylib_codeblocks_tpl.exe deleted file mode 100644 index 31a1ae58..00000000 Binary files a/projects/CodeBlocks/bin/Release/raylib_codeblocks_tpl.exe and /dev/null differ -- cgit v1.2.3 From 4e367d2db84c999ff8775440aa26b453d887b6ca Mon Sep 17 00:00:00 2001 From: D3nX <30444899+D3nX@users.noreply.github.com> Date: Fri, 13 Jul 2018 21:48:39 +0400 Subject: Update and rename REAME.md to README.md --- projects/CodeBlocks/README.md | 15 +++++++++++++++ projects/CodeBlocks/REAME.md | 15 --------------- 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 projects/CodeBlocks/README.md delete mode 100644 projects/CodeBlocks/REAME.md (limited to 'projects/CodeBlocks') diff --git a/projects/CodeBlocks/README.md b/projects/CodeBlocks/README.md new file mode 100644 index 00000000..ef511d6b --- /dev/null +++ b/projects/CodeBlocks/README.md @@ -0,0 +1,15 @@ +# Raylib for Code::Blocks +**By D3nX**
+

+Hey ! There is the template for use with Code::Blocks =) +

+First, you will need to download the raylib installer and run it from the raylib website (https://www.raylib.com). +

+Then, download the template, and open the project from Code::Blocks +And before running the template, make sure following set the raylib +compiler for the IDE as show below : +![alt text](https://github.com/D3nX/raylib/blob/master/projects/CodeBlocks/compiler_bg.png) +
+Finally, you can run the program and enjoy raylib running on Code::Blocks ! +

+Hope it helped you =) diff --git a/projects/CodeBlocks/REAME.md b/projects/CodeBlocks/REAME.md deleted file mode 100644 index a0e29ab3..00000000 --- a/projects/CodeBlocks/REAME.md +++ /dev/null @@ -1,15 +0,0 @@ -# Raylib for Code::Blocks -**By D3nX**
-

-Hey ! There is the template for use with Code::Blocks =) -

-First, you will need to download the raylib installer and run it from the raylib website (https://www.raylib.com). -

-Then, download the template, and open the project from Code::Blocks -And before running the template, make sure following set the raylib -compiler for the IDE as show below : -![alt text](link) -
-Finally, you can run the program and enjoy raylib running on Code::Blocks ! -

-Hope it helped you =) \ No newline at end of file -- cgit v1.2.3 From f0ac73ef8b4aaf4929fbe58ea7ac4e9a23a71f31 Mon Sep 17 00:00:00 2001 From: D3nX <30444899+D3nX@users.noreply.github.com> Date: Fri, 13 Jul 2018 21:48:53 +0400 Subject: Update README.md --- projects/CodeBlocks/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'projects/CodeBlocks') diff --git a/projects/CodeBlocks/README.md b/projects/CodeBlocks/README.md index ef511d6b..d00b9ceb 100644 --- a/projects/CodeBlocks/README.md +++ b/projects/CodeBlocks/README.md @@ -1,6 +1,6 @@ # Raylib for Code::Blocks **By D3nX**
-

+
Hey ! There is the template for use with Code::Blocks =)

First, you will need to download the raylib installer and run it from the raylib website (https://www.raylib.com). -- cgit v1.2.3