Changeset 131

Show
Ignore:
Timestamp:
08/26/10 15:45:04 (18 months ago)
Author:
Carsten
Message:

Renamed class AppCafu to AppCafuT for consistency.

Location:
cafu/branches/cafu_to_wx/Ca3DE
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • cafu/branches/cafu_to_wx/Ca3DE/AppCafu.cpp

    r130 r131  
    8181 
    8282 
    83 IMPLEMENT_APP(AppCafu) 
    84  
    85  
    86 AppCafu::AppCafu() 
     83IMPLEMENT_APP(AppCafuT) 
     84 
     85 
     86AppCafuT::AppCafuT() 
    8787    : wxApp(), 
    8888      m_IsCustomVideoMode(false), 
     
    106106 
    107107 
    108 bool AppCafu::OnInit() 
     108bool AppCafuT::OnInit() 
    109109{ 
    110110    const wxString UserDataDir=wxStandardPaths::Get().GetUserDataDir(); 
     
    229229 
    230230 
    231 int AppCafu::OnExit() 
     231int AppCafuT::OnExit() 
    232232{ 
    233233    if (m_IsCustomVideoMode) 
     
    270270 
    271271 
    272 void AppCafu::OnInitCmdLine(wxCmdLineParser& Parser) 
     272void AppCafuT::OnInitCmdLine(wxCmdLineParser& Parser) 
    273273{ 
    274274    Parser.AddOption("con",            "", "Runs the given commands in the console. -con \"x=3;\" is equivalent to appending x=3; to the end of the config.lua file.", wxCMD_LINE_VAL_STRING); 
     
    295295 
    296296 
    297 bool AppCafu::OnCmdLineParsed(wxCmdLineParser& Parser) 
     297bool AppCafuT::OnCmdLineParsed(wxCmdLineParser& Parser) 
    298298{ 
    299299    long int i=0; 
  • cafu/branches/cafu_to_wx/Ca3DE/AppCafu.hpp

    r130 r131  
    4343 
    4444/// This class represents the Cafu Engine application. 
    45 class AppCafu : public wxApp 
     45class AppCafuT : public wxApp 
    4646{ 
    4747    public: 
    4848 
    49     AppCafu(); 
     49    AppCafuT(); 
    5050 
    5151    /// Returns whether we successfully set a custom video mode (screen resolution) during initialization. 
     
    7474 
    7575 
    76 /// This macro provides the wxGetApp() function, which returns a reference to AppCafu, for use in other files. 
    77 DECLARE_APP(AppCafu) 
     76/// This macro provides the wxGetApp() function which returns a reference to our AppCafuT instance. 
     77DECLARE_APP(AppCafuT) 
    7878 
    7979#endif 
  • cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp

    r130 r131  
    379379 
    380380    // Initialize the GUI systems GUI managager. 
    381     //   - This has to be done *after* all materials are loaded (AppCafu::OnInit()) and after the MatSys::Renderer 
     381    //   - This has to be done *after* all materials are loaded (AppCafuT::OnInit()) and after the MatSys::Renderer 
    382382    //     has been initialized, so that the GuiMan finds its default material and can register it for rendering. 
    383383    //   - It has to be done *before* the game is initialized, because even the server needs access to it