aboutsummaryrefslogtreecommitdiff
path: root/tools/rREM
diff options
context:
space:
mode:
authorTeodor Stoenescu <demonu.ro@gmail.com>2016-08-31 09:32:08 +0300
committerTeodor Stoenescu <demonu.ro@gmail.com>2016-08-31 09:32:08 +0300
commit384602e5b59bf67e2e7b5e6dd40bf78c32a5bb21 (patch)
tree149981ded9aa340fa208c8aa913351d3cb3f8067 /tools/rREM
parentd0cf19e03559eb5cd60035d54d4ca7b5991344b8 (diff)
parentbe97583f00997fa918a15d0164190ae6876d0571 (diff)
downloadraylib-384602e5b59bf67e2e7b5e6dd40bf78c32a5bb21.tar.gz
raylib-384602e5b59bf67e2e7b5e6dd40bf78c32a5bb21.zip
Merge remote-tracking branch 'upstream/develop' into develop
Diffstat (limited to 'tools/rREM')
-rw-r--r--tools/rREM/README.txt30
-rw-r--r--tools/rREM/rrem.exebin0 -> 241678 bytes
2 files changed, 30 insertions, 0 deletions
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
--- /dev/null
+++ b/tools/rREM/rrem.exe
Binary files differ