Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/src/external/ois/changes_orxonox.diff @ 7212

Last change on this file since 7212 was 7142, checked in by rgrieder, 15 years ago

Changed default linking behaviour of OIS to dynamic. That causes less confusions because all other libraries link dynamically per default (or don't require any macros because there is no DLL interface).

  • Property svn:eol-style set to native
File size: 1.1 KB
  • OISPrereqs.h

     
    6060#               define OIS_XBOX_PLATFORM
    6161#       else
    6262#               define OIS_WIN32_PLATFORM
    63 #               if defined( OIS_DYNAMIC_LIB )
     63#               if !defined( OIS_STATIC_LIB )
    6464#                       undef _OISExport
    6565                        //Ignorable Dll interface warning...
    6666#           if !defined(OIS_MINGW_COMPILER)
  • linux/EventHelpers.cpp

     
    3535# include <iostream>
    3636#endif
    3737
     38// Fixes for missing macros in input.h
     39#ifndef FF_EFFECT_MIN
     40#define FF_EFFECT_MIN FF_RUMBLE
     41#endif
     42#ifndef FF_EFFECT_MAX
     43#define FF_EFFECT_MAX FF_RAMP
     44#endif
     45#ifndef FF_WAVEFORM_MIN
     46#define FF_WAVEFORM_MIN FF_SQUARE
     47#endif
     48#ifndef FF_WAVEFORM_MAX
     49#define FF_WAVEFORM_MAX FF_CUSTOM
     50#endif
     51
    3852using namespace std;
    3953using namespace OIS;
    4054
  • win32/Win32ForceFeedback.cpp

     
    2525#include <Math.h>
    2626
    2727// 0 = No trace; 1 = Important traces; 2 = Debug traces
    28 #define OIS_WIN32_JOYFF_DEBUG 1
     28#define OIS_WIN32_JOYFF_DEBUG 0
    2929
    3030#if (defined (_DEBUG) || defined(OIS_WIN32_JOYFF_DEBUG))
    3131  #include <iostream>
Note: See TracBrowser for help on using the repository browser.