Download GameStudio rACE Timer and Time Storage v1.01 *Compiled for A5.5+*
Download GameStudio rACE Timer and Time Storage v1.0 *Compiled for A5.24*
Use:
Free for all GameStudio projects without restrictions.
Disclaimer: If it blows up your machine it's not our fault.
Installation:
Unzip rACE.wdl into your templates directory.
Unzip rACE.dll into your work directory.
Publishing:
You will have to copy the DLL manually to your .cd directory when you publish.
Versions:
04/11/2003 -- v1.01 -- Released. Bugfix.
10/15/2002 -- v1.0 -- Released.
Usage:
See rACE.wdl for a list of functions and their parameters.
Functions:
// All return 1 if error else returns 0 unless otherwise stated.
// Use RaceTimeStorage_SetTime()/_GetTime() to store your racers fastest times.
// _Pol() fills the second string variable passed with
// minutes:seconds:milliseconds "mm:ss:ms"
//
// Example: _SetTime("Player 1 Lap 1","01:05:25");
// _SetTime("Player 2 Lap 1","01:25:03");
// _SetTime("Player 1 Lap 2","02:45:00");
// _SetTime("Player 2 Lap 2","02:55:77");
// Create a timer named timer_name
dllfunction RaceMSTimer_Create(timer_name);
// Start the timer named timer_name
dllfunction RaceMSTimer_Start(timer_name);
// Fill string with the current time of the timer_name timer
dllfunction RaceMSTimer_Pol(timer_name, string);
// Stop the timer named timer_name
dllfunction RaceMSTimer_Stop(timer_name);
// Free the timer named timer_name
dllfunction RaceMSTimer_Free(timer_name);
// Store MSTime time as timestring named timer_name
dllfunction RaceTimeStorage_SetTime(timer_name,timestring);
// Get MSTime time from timer_name and fill timestring with it
dllfunction RaceTimeStorage_GetTime(timer_name,timestring);
// Free all saved times
dllfunction RaceTimeStorage_Free();
|