• Welcome to PiBoSo Official Forum. Please login or sign up.
 
August 25, 2019, 07:27:55 am

News:

World Racing Series beta14 available! :)


Recap of output plugin grievances

Started by HornetMaX, October 20, 2015, 08:47:45 am

Previous topic - Next topic

HornetMaX

@Piboso: I recap here a few points about the new output plugin interface (WRS beta7).


  • Some functions (Draw, RaceVehicle Data) are called even when watching a saved replay. As no init function is called (e.g. no EventInit for example) I'm not sure this is intentional. Multiple solutions possible: no calls in saved replays, call event init function sin saved replays, new value for _iState in Draw call to differentiate saved replays from "live" replays, ...

  • There's no EventDeinit function: I think there should be one (for quads/strings deallocation and general clean up).

  • This comment in SPluginsRaceEvent_t is still wrong (in both KRP and WRS): m_iType

  • Thsi problem reported for KRP beta14 ispresent in WRS beta7 too: No way to know my RaceNum

  • These two issues (reported in KRP beta14) are solved in WRS beta7: float times and Event Type

  • Some fields in RaceData stuff are undocumented: m_iSessionState, most of SPluginsRaceCommunication_t.



MaX.