Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
libODE and GIMPACT vs OPCODE (car jumps around? look here)
09-16-2007, 05:16 AM,
#8
 
Code:
Index: SConstruct
===================================================================
--- SConstruct  (revision 1847)
+++ SConstruct  (working copy)
@@ -25,6 +25,7 @@
opts.Add(BoolOption('force_feedback', 'Enable force-feedback support', 0))
opts.Add(BoolOption('profiling', 'Turn on profiling output', 0))
opts.Add(BoolOption('efficiency', 'Turn on compile-time efficiency warnings', 0))
+opts.Add(BoolOption('opcode', 'Set this to one if you have ode compiled with opcode', 0))


#--------------------------#
@@ -316,6 +317,7 @@
       'scons NLS=0' To disable internationalization support (An english-only version will be built)
          'scons efficiency=1' to show efficiency assessment at compile time
          'scons profiling=1' to enable profiling support
+        'scons opcode=1' if you have ODE compiled with opcode
%s

Note: The options you enter will be saved in the file vdrift.conf and they will be the defaults which are used every subsequent time you run scons.""" % opts.GenerateHelpText(env))
@@ -361,6 +363,9 @@
         print 'This system is not configured for internationalized applications (no libintl.h). An english-only version will be built\n'
         env['NLS'] = 0

+if env['opcode']:
+       cppdefines.append("LIBODE_OPCODE")
+
env = conf.Finish()

use with "scons opcode=1", I do not have any idea how to detect it automagically

Btw: driving in the sand gives strange results (Opcode, 64 bit)
Reply


Messages In This Thread
[No subject] - by abs1nth - 09-14-2007, 09:26 AM
[No subject] - by xTs - 09-14-2007, 10:38 AM
[No subject] - by joevenzon_phpbb2_import3 - 09-14-2007, 08:52 PM
[No subject] - by alex25 - 09-14-2007, 09:07 PM
[No subject] - by alex25 - 09-14-2007, 11:59 PM
[No subject] - by xTs - 09-15-2007, 02:22 AM
[No subject] - by FFuser - 09-16-2007, 05:16 AM
[No subject] - by joevenzon_phpbb2_import3 - 09-16-2007, 08:07 PM
[No subject] - by xTs - 09-17-2007, 03:21 AM
[No subject] - by alex25 - 09-17-2007, 04:53 PM
[No subject] - by alex25 - 09-17-2007, 05:10 PM
[No subject] - by xTs - 09-17-2007, 05:43 PM
[No subject] - by alex25 - 09-17-2007, 06:12 PM
[No subject] - by xTs - 09-18-2007, 03:23 AM
[No subject] - by xTs - 09-18-2007, 03:35 PM
[No subject] - by abs1nth - 10-12-2007, 11:51 AM
[No subject] - by alex25 - 10-12-2007, 12:37 PM
[No subject] - by xTs - 10-12-2007, 12:50 PM
[No subject] - by alex25 - 10-12-2007, 01:07 PM
[No subject] - by alex25 - 10-12-2007, 01:30 PM
[No subject] - by xTs - 10-12-2007, 03:27 PM
[No subject] - by cotharyus - 10-12-2007, 09:12 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)