|
@@ -12,7 +12,7 @@
|
|
|
#pragma newdecls required
|
|
|
#include <round_end_music>
|
|
|
|
|
|
-#define PLUGIN_VERSION "0.1.0"
|
|
|
+#define PLUGIN_VERSION "0.2.0"
|
|
|
public Plugin myinfo = {
|
|
|
name = "[CSRD] Round End Music",
|
|
|
author = "nosoop",
|
|
@@ -242,6 +242,7 @@ public APLRes AskPluginLoad2(Handle self, bool late, char[] error, int err_max)
|
|
|
|
|
|
CreateNative("REM_RegisterSource", Native_RegisterSource);
|
|
|
CreateNative("REM_AddSong", Native_AddSong);
|
|
|
+ CreateNative("REM_GetActiveSongCount", Native_GetActiveSongCount);
|
|
|
}
|
|
|
|
|
|
public int Native_RegisterSource(Handle hPlugin, int nArgs) {
|
|
@@ -291,4 +292,8 @@ public int Native_AddSong(Handle hPlugin, int nArgs) {
|
|
|
}
|
|
|
}
|
|
|
return false;
|
|
|
+}
|
|
|
+
|
|
|
+public int Native_GetActiveSongCount(Handle hPlugin, int nArgs) {
|
|
|
+ return g_nMaxActiveSongs;
|
|
|
}
|