Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / gameengine / GamePlayer / ghost / GPG_ghost.cpp
index fb2e1c7..2433c58 100644 (file)
@@ -61,16 +61,12 @@ extern "C"
 #include "BKE_report.h"        
 #include "BLI_blenlib.h"
 #include "DNA_scene_types.h"
-#include "DNA_userdef_types.h"
 #include "BLO_readfile.h"
 #include "BLO_readblenfile.h"
 #include "IMB_imbuf.h"
        
        int GHOST_HACK_getFirstFile(char buf[]);
        
-extern char bprogname[];       /* holds a copy of argv[0], from creator.c */
-extern char btempdir[];                /* use this to store a valid temp directory */
-
 #ifdef __cplusplus
 }
 #endif // __cplusplus
@@ -391,13 +387,6 @@ int main(int argc, char** argv)
                }
        }
 #endif
-       // XXX add the ability to change this values to the command line parsing.
-       U.mixbufsize = 2048;
-       U.audiodevice = 2;
-       U.audiorate = 44100;
-       U.audioformat = 0x24;
-       U.audiochannels = 2;
-
        for (i = 1; (i < argc) && !error 
 #ifdef WIN32
                && scr_saver_mode == SCREEN_SAVER_MODE_NONE