]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - misc/source/darkplaces-src/r_modules.h
Include the source of the Darkplaces engine too
[voretournament/voretournament.git] / misc / source / darkplaces-src / r_modules.h
diff --git a/misc/source/darkplaces-src/r_modules.h b/misc/source/darkplaces-src/r_modules.h
new file mode 100644 (file)
index 0000000..ad838d1
--- /dev/null
@@ -0,0 +1,15 @@
+
+#ifndef R_MODULES_H
+#define R_MODULES_H
+
+void R_Modules_Init(void);
+void R_RegisterModule(const char *name, void(*start)(void), void(*shutdown)(void), void(*newmap)(void), void(*devicelost)(void), void(*devicerestored)(void));
+void R_Modules_Start(void);
+void R_Modules_Shutdown(void);
+void R_Modules_NewMap(void);
+void R_Modules_Restart(void);
+void R_Modules_DeviceLost(void);
+void R_Modules_DeviceRestored(void);
+
+#endif
+