diff options
| author | raysan5 <raysan5@gmail.com> | 2014-01-23 12:36:18 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2014-01-23 12:36:18 +0100 |
| commit | 2cf5fa77658af7f5e72245e798db6b3a3f256371 (patch) | |
| tree | 8c47e3ed0d5c711e39fc9e45e898459a5eae9d86 /tools | |
| parent | 762befb967f984f1529af6ff390b34347c6934a1 (diff) | |
| download | raylib-1.0.4.tar.gz raylib-1.0.4.zip | |
Updated raylib to version 1.0.41.0.4
Lots of changes added, check CHANGELOG for detailed description
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/README.txt | 36 | ||||
| -rw-r--r-- | tools/rrem.exe | bin | 0 -> 241166 bytes |
2 files changed, 36 insertions, 0 deletions
diff --git a/tools/README.txt b/tools/README.txt new file mode 100644 index 00000000..4c9f6614 --- /dev/null +++ b/tools/README.txt @@ -0,0 +1,36 @@ +/********************************************************************************************** +* +* 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! :) diff --git a/tools/rrem.exe b/tools/rrem.exe Binary files differnew file mode 100644 index 00000000..1d058bf4 --- /dev/null +++ b/tools/rrem.exe |
