07-05-2007, 07:33 AM,
|
|
rookie1
Member
  
|
Posts: 231
Threads: 32
Joined: Nov 2006
|
|
From my console output,
Card supports: drawbuf0 auxbuf4 multitexturing4 antialiasing anisotropy8 cubemapping texture_rectangle depth_texture shadow
Card does not support: shaders
Anyway the problem only happened with an older revision. With the latest revision, it's working fine, although without shaders.
|
|
07-06-2007, 06:57 AM,
|
|
rookie1
Member
  
|
Posts: 231
Threads: 32
Joined: Nov 2006
|
|
Just something I observe,
In definitions.h, we have 2 variables defined, 'VERSION' and 'PACKAGE'. These 2 variables are also defined in ODE. There is a compilation warning because of this. And the value defined in ODE is overriding the value in definitions.h.
|
|
07-06-2007, 01:29 PM,
|
|
thelusiv
Administrator
      
|
Posts: 2,346
Threads: 223
Joined: Jun 2005
|
|
Yes that is pretty messy on ODE's part, they should be defining that on the compile line or in a separate header (not in the one they distribute for others to compile against). I haven't tried ODE SVN, it might be fixed already, so if somebody wants to check that out, and see if we should file a bug report from there, that would be the way to go.
We could just change VERSION to VDRIFT_VERSION or something, but in the long run, it's not our fault really but ODE's...and we can't change PACKAGE as that's something NLS requires and uses.
For the record, my compiler says that VDrift's definitions.h redefines those (overriding ODE's settings) so it shouldn't cause any problems for us, besides the annoying warnings at compile time.
|
|
07-06-2007, 11:37 PM,
|
|
rookie1
Member
  
|
Posts: 231
Threads: 32
Joined: Nov 2006
|
|
Actually I think it's the other way round. If you look at vdrift console output, you should see,
Version of game: 0.8.0
This means ODE defined VERSION is overriding whatever is defined in definitions.h.
Just throwing idea around, is it possible to include "ode/ode.h" under a name scope, e.g. ODE. So ODE defined VERSION will become ODE::VERSION.
|
|
07-08-2007, 01:50 PM,
|
|
charlieg
Member
  
|
Posts: 98
Threads: 10
Joined: Aug 2005
|
|
I hope you post a bug report about that for the ODE devs to fix.
|
|
|