projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added support for opening URLs for global animation event actions
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index bde987901f8b4181c824ae673faa4cde114aea90..67c870083e2d4ee6456d0900a6e36c432a56a474 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-9954,6
+9954,16
@@
void ChangeViewportPropertiesIfNeeded(void)
}
}
}
}
+void OpenURL(char *url)
+{
+ SDL_OpenURL(url);
+}
+
+void OpenURLFromHash(SetupFileHash *hash, int hash_key)
+{
+ OpenURL(getHashEntry(hash, int2str(hash_key, 0)));
+}
+
// ============================================================================
// tests
// ============================================================================
// tests