• Welcome to PiBoSo Official Forum. Please login or sign up.
 
November 26, 2021, 11:53:34 PM

News:

GP Bikes beta19b available! :)


Output plugins

Started by PiBoSo, June 06, 2013, 08:06:33 PM

Previous topic - Next topic

PiBoSo


Example source code updated to the latest interface.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

PiBoSo


Example source code updated to the latest interface.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

PiBoSo


Please note that, starting with Beta14, output plugins must be compiled for 64 bit.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

PiBoSo


Example source code updated with the latest structure members descriptions.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

PiBoSo


Example source code updated to the latest interface.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

UMO

Hi. Does anyone know what is the structure and the variable that indicates the status REPLAY ON? I have been checking the plugin example gpb_example.c but not sure. I know that there are RACE, PRACTICE, QUALIFY ... etc .. Thanks for your work.

HornetMaX

Quote from: UMO on May 05, 2020, 08:59:58 AMHi. Does anyone know what is the structure and the variable that indicates the status REPLAY ON? I have been checking the plugin example gpb_example.c but not sure. I know that there are RACE, PRACTICE, QUALIFY ... etc .. Thanks for your work.
Replay, Spectate or On-Track are given by _iState in the Draw call:

/*
_iState: 0 = on track; 1 = spectate; 2 = replay.
Set _piNumQuads to the number of quads to draw.
Set _ppQuad to an array of SPluginQuad_t structures.
Set _piNumString to the number of strings to draw.
Set _ppString to an array of SPluginString_t structures.
This function is optional
*/
__declspec(dllexport) void Draw(int _iState,int *_piNumQuads,void **_ppQuad,int *_piNumString,void **_ppString)
{
 *_piNumQuads = 0;
 *_piNumString = 0;
}

UMO

@HornetMax: New dlo done and working :D but I observed that Piboso does not generate telemetry in the replays :'(  A shame! It is a limitation. Do you know why it is not generated?

HornetMaX

Quote from: UMO on May 07, 2020, 12:17:51 PM@HornetMax: New dlo done and working :D but I observed that Piboso does not generate telemetry in the replays :'(  A shame! It is a limitation. Do you know why it is not generated?
Because it would make the replay too big, likely.

PiBoSo

Example source code updated to the latest interface.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".