Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1901 in orxonox.OLD for orxonox/branches/showroom/Showroom/3ds.cpp


Ignore:
Timestamp:
May 23, 2004, 11:24:47 PM (21 years ago)
Author:
patrick
Message:

ported showroom to linux - haleluja

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/showroom/Showroom/3ds.cpp

    r1869 r1901  
    5656        {
    5757                sprintf(strMessage, "Unable to find the file: %s!", strFileName);
    58                 MessageBox(NULL, strMessage, "Error", MB_OK);
     58                /* linuxFix by pb: no MessageBox known by linux */
     59                //MessageBox(NULL, strMessage, "Error", MB_OK);
    5960                return false;
    6061        }
     
    7172        {
    7273                sprintf(strMessage, "Unable to load PRIMARY chuck from file: %s!", strFileName);
    73                 MessageBox(NULL, strMessage, "Error", MB_OK);
     74                /* linuxFix by pb: MessageBox not known... */
     75                //MessageBox(NULL, strMessage, "Error", MB_OK);
    7476                return false;
    7577        }
     
    146148                        // If the file version is over 3, give a warning that there could be a problem
    147149                        if ((currentChunk.length - currentChunk.bytesRead == 4) && (gBuffer[0] > 0x03)) {
    148                                 MessageBox(NULL, "This 3DS file is over version 3 so it may load incorrectly", "Warning", MB_OK);
     150                        /* linuxFix by pb: MessageBox not know, using cout */
     151                                //MessageBox(NULL, "This 3DS file is over version 3 so it may load incorrectly", "Warning", MB_OK);
     152                                 //sprintf("This 3DS file is over version 3 so it may load incorrectly");
    149153                        }
    150154                        break;
Note: See TracChangeset for help on using the changeset viewer.