Fixed Windows build of USR (renamed usr_Shut function to usrShut + added a usr_trb1 function with empty body : MUST be completed, only compiles and links for now)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3226 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 632b9c57cb2b24ca36910e952258fa47484ce0f9 Former-commit-id: cc90dae7b54c5f89a6579b70cd9c4ae10a0fd04c
This commit is contained in:
parent
efa328d60d
commit
0af6a09802
1 changed files with 12 additions and 1 deletions
|
@ -253,7 +253,7 @@ extern "C" int moduleTerminate() {
|
|||
|
||||
|
||||
// Module exit point (Torcs backward compatibility scheme).
|
||||
extern "C" int usr_Shut() {
|
||||
extern "C" int usrShut() {
|
||||
return moduleTerminate();
|
||||
}
|
||||
|
||||
|
@ -311,3 +311,14 @@ static void shutdown(int index) {
|
|||
driver[index-indexOffset]->shutdown();
|
||||
delete driver[index-indexOffset];
|
||||
}
|
||||
|
||||
//==========================================================================*
|
||||
// Schismatic entry point for usr_trb1
|
||||
//--------------------------------------------------------------------------*
|
||||
extern "C" int usr_trb1(tModInfo *ModInfo)
|
||||
{
|
||||
// TODO.
|
||||
return -1;
|
||||
}
|
||||
//==========================================================================*
|
||||
|
||||
|
|
Loading…
Reference in a new issue