From 7dbb17792afa7e91bf56216dff11022d5d147e31 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sat, 27 Aug 2016 21:05:16 +0200 Subject: Moved tool to folder --- .gitignore | 2 +- tools/README.txt | 30 ------------------------------ tools/rREM/README.txt | 30 ++++++++++++++++++++++++++++++ tools/rREM/rrem.exe | Bin 0 -> 241678 bytes tools/rrem.exe | Bin 241678 -> 0 bytes 5 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 tools/README.txt create mode 100644 tools/rREM/README.txt create mode 100644 tools/rREM/rrem.exe delete mode 100644 tools/rrem.exe diff --git a/.gitignore b/.gitignore index bd9ea5eb..389876f7 100644 --- a/.gitignore +++ b/.gitignore @@ -49,7 +49,7 @@ ipch/ # Ignore compiled binaries *.o *.exe -!tools/rrem.exe +!tools/rREM/rrem.exe # Ignore files build by xcode *.mode*v* diff --git a/tools/README.txt b/tools/README.txt deleted file mode 100644 index 58bc4f0a..00000000 --- a/tools/README.txt +++ /dev/null @@ -1,30 +0,0 @@ -/********************************************************************************************** -* -* rREM - raylib Resource Embedder 1.0.0 (alpha) -* -* Tool to embed resources (images, text, sounds, models...) into a rRES file. -* -* Copyright 2014 Ramon Santamaria. All rights reserved. -* -***********************************************************************************************/ - -rrem creates a .rres resource with embedded files and a .h header to access embedded data - -Usage example: - -1) Create 'resources.rres' and 'resources.h' including 3 files: - - rrem image01.png image02.jpg sound03.wav - -2) In your raylib program, just add at top: - - #include "resources.h" - -3) When a resource is required, just load it using: - - Texture2D mytex = LoadTextureFromRES("resources.rres", RES_image01); - Sound mysound = LoadSoundFromRES("resources.rres", RES_sound03); - -Note that you can check resources id names in resources.h file - -Have fun! :) \ No newline at end of file diff --git a/tools/rREM/README.txt b/tools/rREM/README.txt new file mode 100644 index 00000000..58bc4f0a --- /dev/null +++ b/tools/rREM/README.txt @@ -0,0 +1,30 @@ +/********************************************************************************************** +* +* rREM - raylib Resource Embedder 1.0.0 (alpha) +* +* Tool to embed resources (images, text, sounds, models...) into a rRES file. +* +* Copyright 2014 Ramon Santamaria. All rights reserved. +* +***********************************************************************************************/ + +rrem creates a .rres resource with embedded files and a .h header to access embedded data + +Usage example: + +1) Create 'resources.rres' and 'resources.h' including 3 files: + + rrem image01.png image02.jpg sound03.wav + +2) In your raylib program, just add at top: + + #include "resources.h" + +3) When a resource is required, just load it using: + + Texture2D mytex = LoadTextureFromRES("resources.rres", RES_image01); + Sound mysound = LoadSoundFromRES("resources.rres", RES_sound03); + +Note that you can check resources id names in resources.h file + +Have fun! :) \ No newline at end of file diff --git a/tools/rREM/rrem.exe b/tools/rREM/rrem.exe new file mode 100644 index 00000000..0e816e4b Binary files /dev/null and b/tools/rREM/rrem.exe differ diff --git a/tools/rrem.exe b/tools/rrem.exe deleted file mode 100644 index 0e816e4b..00000000 Binary files a/tools/rrem.exe and /dev/null differ -- cgit v1.2.3