aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/playlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/playlist.h')
-rw-r--r--NorthstarDLL/playlist.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/NorthstarDLL/playlist.h b/NorthstarDLL/playlist.h
index da7de02d..c77b37d9 100644
--- a/NorthstarDLL/playlist.h
+++ b/NorthstarDLL/playlist.h
@@ -1,2 +1,10 @@
#pragma once
-void InitialisePlaylistHooks(HMODULE baseAddress);
+
+// use the R2 namespace for game funcs
+namespace R2
+{
+ extern const char* (*GetCurrentPlaylistName)();
+ extern void (*SetCurrentPlaylist)(const char* pPlaylistName);
+ extern void (*SetPlaylistVarOverride)(const char* pVarName, const char* pValue);
+ extern const char* (*GetCurrentPlaylistVar)(const char* pVarName, bool bUseOverrides);
+} // namespace R2