aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libraries
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-28 15:51:47 +1000
committerDavid Walter Seikel2014-05-28 15:51:47 +1000
commit98170010ee92c807650bd529216612532975c14e (patch)
tree7f7030cdc9d4b3f65329603d4f79be2405aa9f6e /src/libraries
parentOops part two. (diff)
downloadSledjHamr-98170010ee92c807650bd529216612532975c14e.zip
SledjHamr-98170010ee92c807650bd529216612532975c14e.tar.gz
SledjHamr-98170010ee92c807650bd529216612532975c14e.tar.bz2
SledjHamr-98170010ee92c807650bd529216612532975c14e.tar.xz
The UUID faking code is common enough to stick it in a macro.
Diffstat (limited to 'src/libraries')
-rw-r--r--src/libraries/love.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libraries/love.h b/src/libraries/love.h
index cbd4c80..cf23f3c 100644
--- a/src/libraries/love.h
+++ b/src/libraries/love.h
@@ -83,6 +83,7 @@ love needs
83 83
84#include "Runnr.h" 84#include "Runnr.h"
85 85
86#define FAKE_UUID "%08lx-%04lx-%04lx-%04lx-%012lx", random(), random() % 0xFFFF, random() % 0xFFFF, random() % 0xFFFF, random()
86 87
87typedef struct _vec4 88typedef struct _vec4
88{ 89{