Changeset 1396


Ignore:
Timestamp:
09/17/06 21:43:20 (18 years ago)
Author:
giegl
Message:

GTPD - Jungle Rumble - before sceneFader.fx, .obj fix

Location:
GTP/trunk/App/Games/Jungle_Rumble
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Games/Jungle_Rumble/bin/config.xml

    r1395 r1396  
    11<?xml version="1.0"?> 
    22<config> 
    3         <width>512</width> 
    4         <height>480</height> 
    5         <fullscreen>0</fullscreen> <!-- 1 = TRUE, 0 = FALSE --> 
     3        <width>800</width> 
     4        <height>600</height> 
     5        <fullscreen>1</fullscreen> <!-- 1 = TRUE, 0 = FALSE --> 
    66        <cubemapsize>512</cubemapsize> <!-- 512, 1024, 2048, ... - current ATI cards have problems with size above 512 --> 
    77        <physxdebug>0</physxdebug>   <!-- 1 = TRUE, 0 = FALSE --> 
  • GTP/trunk/App/Games/Jungle_Rumble/src/MenueScene.cpp

    r1395 r1396  
    196196void MenueScene::setupGUI() { 
    197197        //diese funktion ist leider naotwendig da ich die größe noch nicht in initGUI festlegen kann da der manager da noch NULL ist... 
    198          
    199         int fontsize = 0; 
    200         switch(this->manager->screenWidth) { 
    201                 case 640: 
     198                 
     199        #if(0) 
     200                int fontsize = 0; 
     201                if(manager->screenWidth <= 640) { 
    202202                        fontsize = 14; 
    203                         break; 
    204                 case 800: 
     203                } else if (manager->screenWidth <= 800) { 
    205204                        fontsize = 18; 
    206                         break; 
    207                 case 1024: 
     205                } else if (manager->screenWidth <= 1024) { 
    208206                        fontsize = 24; 
    209                         break; 
    210                 case 1200: 
     207                } else if (manager->screenWidth <= 1200) { 
    211208                        fontsize = 30; 
    212                         break; 
    213                 case 1600: 
     209                } else if (manager->screenWidth <= 1600) { 
    214210                        fontsize = 36; 
    215                         break; 
    216                 case 1900: 
     211                } else { 
    217212                        fontsize = 42; 
    218                         break; 
    219                 default: 
    220                         fontsize = 24; 
    221                         break; 
    222         } 
    223         this->GUI->SetFont( 1, L"Arial", fontsize, FW_BOLD ); 
     213                }  
     214        #elif(1) // MG 
     215                int fontsize = 21.0 * (manager->screenWidth / 1024.0); 
     216        #endif 
     217         
     218        //this->GUI->SetFont( 1, L"Arial", fontsize, FW_BOLD ); 
     219        this->GUI->SetFont( 1, L"Verdana", fontsize, FW_BOLD ); 
     220        //this->GUI->SetFont( 1, L"Tahoma", fontsize, FW_BOLD ); 
    224221 
    225222        // Buttons 
  • GTP/trunk/App/Games/Jungle_Rumble/src/Scene.cpp

    r1378 r1396  
    9696                //Create Texture 
    9797                V( DXUTGetD3DDevice()->CreateTexture(this->manager->screenWidth, this->manager->screenHeight, 1, D3DUSAGE_RENDERTARGET,  
     98                //V( DXUTGetD3DDevice()->CreateTexture(this->manager->screenWidth, this->manager->screenHeight+1, 1, D3DUSAGE_RENDERTARGET,  
    9899                D3DFMT_A16B16G16R16F, D3DPOOL_DEFAULT, &this->finalImage, NULL ) ); 
    99100 
Note: See TracChangeset for help on using the changeset viewer.