Forums

Full Version: Support more opponents
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
Tracks updated:
hungaroring06
imola2005
indianhill
interlagos
jarama

28 to be updated, lol.
Tracks updated:
sepang
singapore
spa
spa2008
suzuka2005
vir
wackersdorf
weekend
zandvoort

19 to be updated kaylami -rouen
Tracks updated:
paulricard88
ring2007
road_atlanta
rouen
Next commit is revision 1000!
Congrats ! Big Grin
But I think 1024 is more important for programmers.
Good point :lol:
Look at the file guipage.cpp:

else if (type == "colorpicker")
{
std:Confusedtring setting, action, name;
std::tr1:Confusedhared_ptr<TEXTURE> cursor, hue, sat, bg;
if (!content.load(texpath, "widgets/color_cursor.png", texinfo, cursor)) return false;
if (!content.load(texpath, "widgets/color_hue.png", texinfo, hue)) return false;
if (!content.load(texpath, "widgets/color_saturation.png", texinfo, sat)) return false;
if (!content.load(texpath, "widgets/color_value.png", texinfo, bg)) return false;
if (!pagefile.GetParam(section, "setting", setting, error_output)) return false;
if (pagefile.GetParam(section, "action", action, error_output)); // <<<< HERE!!!!!!

float x = xy[0] - w / 2;
float y = xy[1] - h / 2;
WIDGET_COLORPICKER * new_widget = new WIDGET_COLORPICKER();
new_widget->SetupDrawable(
sref, cursor, hue, sat, bg, x, y, w, h,
optionmap, setting, error_output, z);
new_widget->SetAction(action);
widgets.push_back(new_widget);
}

You've got an if without any body, Just an ";".

Hope it helps Big Grin
Thanks antoniovazquez, I am aware of this minor "defect". It doesn't affect the game in any way. I've got some gui patches to be pushed, they also will fix this line. Making sound work has higher priority though.
NaN Wrote:I am wondering if we could avoid reinventing the wheel here. Are there sound libraries for games(low latency) out there that can deal with a decent amount of dynamic sound sources with variable pitch and have a somewhat usable api(c++)?

It sounds like you may have the existing system fixed up now (I'll sync up and look at the changes soon, they sound great), but to partially answer this question, VDrift used fmod and openal in the past. FMod was great but the licensing was funky and it was hard to distribute. OpenAL has a great license but had all kinds of sound crackling in Linux (worked great in Windows though). This was years ago, it could be that things are better now.
Damn, it looks interesting ! so I've downloaded the last version without data, but Vdrift don't start ! :?
@berzingue
You have checked out latest data too? https://vdrift.svn.sourceforge.net/svnro...t-data-gui

Post your C:\Users\{user}\Documents\VDrift\log.txt
Yes, I've updated to 1009. Here is what the log say :

INFO: Starting VDrift: development-full, Version: latest, O/S: Windows
INFO: Home directory: C:\Users\Benoit
INFO: Settings file: C:\Users\Benoit\My Documents\My Games\VDrift/VDrift.config
INFO: Data directory: data
INFO: Temporary directory: C:\Users\Benoit\My Documents\My Games\VDrift/tmp
INFO: Log file: C:\Users\Benoit\My Documents\My Games\VDrift/log.txt
INFO: Disabling antialiasing
INFO: Display change was successful: 800x600x16 24z fullscreen=0
INFO: GL Renderer: GeForce 9500M GS/PCI/SSE2
INFO: GL Vendor: NVIDIA Corporation
INFO: GL Version: 3.3.0
INFO: Initialized GLEW 1.7.0
INFO: Loading data/shaders/gl3/vdrift1.rhr...
INFO: Loaded data/shaders/gl3/vdrift1.rhr
INFO: GL3 initialization successful
INFO: 0 joysticks found.
INFO: Loading car controls from: C:\Users\Benoit\My Documents\My Games\VDrift/controls.config
INFO: Sound initialization information:
INFO: Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 2048
Size: 8192
Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
INFO: Loading track from path: data/tracks/wackersdorf
INFO: Loaded surfaces file, 7 surfaces.
INFO: Track timing sectors: 2
INFO: Car loading was successful: KF1T
INFO: Textures: 110
Models: 125
Sounds: 11
INFO: Got quit message from GUI. Shutting down...
INFO: Shutting down...
INFO: Exiting
Yes, I've updated to 1009. Here is what the log say :

INFO: Starting VDrift: development-full, Version: latest, O/S: Windows
INFO: Home directory: C:\Users\Benoit
INFO: Settings file: C:\Users\Benoit\My Documents\My Games\VDrift/VDrift.config
INFO: Data directory: data
INFO: Temporary directory: C:\Users\Benoit\My Documents\My Games\VDrift/tmp
INFO: Log file: C:\Users\Benoit\My Documents\My Games\VDrift/log.txt
INFO: Disabling antialiasing
INFO: Display change was successful: 800x600x16 24z fullscreen=0
INFO: GL Renderer: GeForce 9500M GS/PCI/SSE2
INFO: GL Vendor: NVIDIA Corporation
INFO: GL Version: 3.3.0
INFO: Initialized GLEW 1.7.0
INFO: Loading data/shaders/gl3/vdrift1.rhr...
INFO: Loaded data/shaders/gl3/vdrift1.rhr
INFO: GL3 initialization successful
INFO: 0 joysticks found.
INFO: Loading car controls from: C:\Users\Benoit\My Documents\My Games\VDrift/controls.config
INFO: Sound initialization information:
INFO: Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 2048
Size: 8192
Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
INFO: Loading track from path: data/tracks/wackersdorf
INFO: Loaded surfaces file, 7 surfaces.
INFO: Track timing sectors: 2
INFO: Car loading was successful: KF1T
INFO: Textures: 110
Models: 125
Sounds: 11
INFO: Got quit message from GUI. Shutting down...
INFO: Shutting down...
INFO: Exiting
The log looks OK. You have selected a track and car, started a practice session and then quit the game. Can you describe your issue?
[Image: 56661072.jpg]
Pages: 1 2 3 4 5 6 7 8