aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2014-03-16 20:27:58 +0100
committerraysan5 <raysan5@gmail.com>2014-03-16 20:27:58 +0100
commit0a71a92eeb6cd05631c268005758bb9d4066f659 (patch)
treebfa1c17fcce2c38a1d18644e0c1108c9993589bb /tools
parent4127638f92cc451754bd13899b9fc51d802c7136 (diff)
downloadraylib-0a71a92eeb6cd05631c268005758bb9d4066f659.tar.gz
raylib-0a71a92eeb6cd05631c268005758bb9d4066f659.zip
Text formatting
Diffstat (limited to 'tools')
-rw-r--r--tools/README.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/README.txt b/tools/README.txt
index 4c9f6614..58bc4f0a 100644
--- a/tools/README.txt
+++ b/tools/README.txt
@@ -8,29 +8,23 @@
*
***********************************************************************************************/
-
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
-
+ 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! :)
+Have fun! :) \ No newline at end of file