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:
pouillot 2011-01-02 18:34:58 +00:00
parent efa328d60d
commit 0af6a09802

View file

@ -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;
}
//==========================================================================*