]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_null.c
R_Mesh_State_Texture and GL_VertexPointer merge once again to become the reborn R_Mes...
[xonotic/darkplaces.git] / cd_null.c
index d5eeec8ad203b42258d8fdcbc46bab7ee587a6dc..e1a3a30034967a1e342185873984d26a8efbdddb 100644 (file)
--- a/cd_null.c
+++ b/cd_null.c
@@ -8,7 +8,7 @@ of the License, or (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 See the GNU General Public License for more details.
 
@@ -19,7 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 #include "quakedef.h"
 
-void CDAudio_Play(byte track, qboolean looping)
+cvar_t cdaudioinitialized = {CVAR_READONLY,"cdaudioinitialized","0"};
+
+void CDAudio_Play(qbyte track, qboolean looping)
 {
 }
 
@@ -46,10 +48,24 @@ void CDAudio_Update(void)
 
 int CDAudio_Init(void)
 {
+       Cvar_RegisterVariable(&cdaudioinitialized);
        return 0;
 }
 
+int CDAudio_Startup(void)
+{
+       return 0;
+}
 
 void CDAudio_Shutdown(void)
 {
-}
\ No newline at end of file
+}
+
+
+void CDAudio_Open(void)
+{
+}
+
+void CDAudio_Close(void)
+{
+}