1
0
Fork 0

Replace --with-new-mouse with --with-old-mouse, defaulting to 'no'.

This commit is contained in:
david 2002-04-11 17:09:06 +00:00
parent b3a3c0fbac
commit 3bb69f35d1
3 changed files with 4 additions and 4 deletions

View file

@ -67,8 +67,8 @@
/* Define to avoid Christian's new weather code */
#undef FG_NEW_ENVIRONMENT
/* Define to use new experimental mouse input code */
#undef FG_NEW_MOUSE
/* Define to use old mouse support */
#undef FG_OLD_MOUSE
/* Define if we are building FGFS (should always be defined) */
#undef FGFS

View file

@ -197,7 +197,7 @@ FGInput::init ()
glutKeyboardUpFunc(GLUTkeyup);
glutSpecialFunc(GLUTspecialkey);
glutSpecialUpFunc(GLUTspecialkeyup);
#ifdef FG_NEW_MOUSE
#ifndef FG_OLD_MOUSE
glutMouseFunc (GLUTmouse);
glutMotionFunc (GLUTmotion);
glutPassiveMotionFunc (GLUTmotion);

View file

@ -1338,7 +1338,7 @@ int fgGlutInitEvents( void ) {
// keyboard and mouse callbacks are set in FGInput::init
#ifndef FG_NEW_MOUSE
#ifdef FG_OLD_MOUSE
// call guiMouseFunc() whenever our little rodent is used
glutMouseFunc ( guiMouseFunc );
glutMotionFunc (guiMotionFunc );