Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 21, 2009, 1:18:36 PM (15 years ago)
Author:
rgrieder
Message:

Found some non empty new lines.

Location:
code/branches/presentation2/data
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/gui/layouts/PickupInventory.layout

    r5781 r6387  
    1515            <Property Name="TabPanePosition" Value="Bottom" />
    1616            <Property Name="UnifiedAreaRect" Value="{{0,10},{0,30},{1,-10},{1,-10}}" />
    17            
     17
    1818            <Window Type="TaharezLook/ScrollablePane" Name="orxonox/Inventory/TabControl/TabEquipment">
    1919                <Property Name="Text" Value="Equipment" />
  • code/branches/presentation2/data/gui/scripts/GUITools.lua

    r6363 r6387  
    1414function getMinTextSize(window)
    1515    local size = {}
    16    
     16
    1717    local lookAndFeel = CEGUI.WidgetLookManager:getSingleton():getWidgetLook(window:getLookNFeel())
    1818    local height = window:getFont():getLineSpacing() + window:getUnclippedPixelRect():getHeight() - lookAndFeel:getNamedArea("WithFrameTextRenderArea"):getArea():getPixelRect(window):getHeight()
    1919    local width =  window:getFont():getTextExtent(window:getText()) + window:getUnclippedPixelRect():getWidth() - lookAndFeel:getNamedArea("WithFrameTextRenderArea"):getArea():getPixelRect(window):getWidth()
    20    
     20
    2121    table.insert(size, height)
    2222    table.insert(size, width)
  • code/branches/presentation2/data/gui/scripts/InitialiseGUI.lua

    r6266 r6387  
    8181        hideCursor()
    8282    end
    83    
     83
    8484    if find( activeSheets, filename ) ~= nil then
    8585        table.remove( activeSheets, find( activeSheets, filename ) )
     
    9696    bHidePrevious[filename]=hidePrevious
    9797    cursorVisibility[filename] = bCursorVisible
    98    
     98
    9999    if hidePrevious == true then
    100100        for i=1,nrOfActiveSheets-1 do
  • code/branches/presentation2/data/gui/scripts/KeyBindMenu.lua

    r6369 r6387  
    7070    sampleWindow = winMgr:createWindow("TaharezLook/StaticText", "orxonox/KeyBindPane/SampleWindow")
    7171    sampleWindow:setText("SampleText")
    72    
     72
    7373    local size = getMinTextSize(sampleWindow)
    7474    lineHeight = size[1]
    75    
     75
    7676    commandWidth = 0
    7777    for k,v in pairs(commandList) do
     
    8686    size = getMinTextSize(sampleWindow)
    8787    addWidth = size[2]
    88    
     88
    8989    sampleWindow:setText("X")
    9090    size = getMinTextSize(sampleWindow)
     
    9292
    9393    spaceWidth = math.floor(1/14*commandWidth)
    94    
     94
    9595    buttonWidth = 145
    9696
     
    166166
    167167    line:setWidth(CEGUI.UDim(0, offset+clearWidth))
    168    
     168
    169169    return line
    170170end
     
    178178        window:addChildWindow(line)
    179179    end
    180    
     180
    181181    pane = tolua.cast(window, "CEGUI::ScrollablePane")
    182182    pane:setVerticalStepSize(getScrollingStepSize(window))
     
    216216    local commandNr = tonumber(match())
    217217    local buttonNr = tonumber(match())
    218  
     218
    219219    orxonox.KeyBinderManager:getInstance():unbind(orxonox.KeyBinderManager:getInstance():getCurrent():getBinding(commandList[commandNr], buttonNr))
    220220
  • code/branches/presentation2/data/gui/scripts/PickupInventory.lua

    r5781 r6387  
    2020    local equipCount = orxonox.PickupInventory:getEquipmentCount()
    2121    local usableCount = orxonox.PickupInventory:getUsableCount()
    22    
     22
    2323    if equipCount ~= self.lastEquipmentCount_ or usableCount ~= self.lastUsableCount_ then
    2424        self:updateTabs()
     
    3939    local t = name:sub(25, 27)
    4040    local i = name:sub(29)
    41    
     41
    4242    if t == "equ" then
    43        
     43
    4444    end
    45    
     45
    4646    if t == "use" then
    4747        if self.currentUsableID_ >= 0 then
     
    6060    orxonox.PickupInventory:getSingleton():clearInventory(winMgr, eqWin, usWin)
    6161    orxonox.PickupInventory:getSingleton():updateTabs(winMgr, eqWin, usWin)
    62    
     62
    6363    self.currentUsableID_ = orxonox.PickupInventory:getCurrentUsableIndex()
    6464    self.lastEquipmentCount_ = orxonox.PickupInventory:getEquipmentCount()
  • code/branches/presentation2/data/gui/scripts/QuestGUI.lua

    r5781 r6387  
    1515
    1616    local questManager = orxonox.QuestManager:getInstance()
    17      
     17
    1818    local questsList = winMgr:getWindow("orxonox/QuestGUI/QuestsList")
    1919
  • code/branches/presentation2/data/levels/empty_level.oxw

    r6107 r6387  
    3030        </attached>
    3131    </Rocket-->
    32    
    33    
     32
     33
    3434    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
    3535    <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
  • code/branches/presentation2/data/levels/events.oxw

    r6119 r6387  
    4545      works with all amounts of objects from zero to infinity. In the examples I used two objects each.
    4646    -->
    47      
     47
    4848
    4949    <!-- red -->
  • code/branches/presentation2/data/levels/old/spaceshiptemplates_physics.oxw

    r5781 r6387  
    1010   auxilaryThrust    = 30;
    1111   rotationThrust    = 10;
    12    
     12
    1313   collisionType     = "dynamic"
    1414   mass              = 100
  • code/branches/presentation2/data/levels/presentation09.oxw

    r5781 r6387  
    3434j = math.random()
    3535?>
    36    
     36
    3737    <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    3838      <attached>
     
    4848<?lua end ?>
    4949    <Planet position="0,0,0" scale=10000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
    50    
     50
    5151  </Scene>
    5252</Level>
  • code/branches/presentation2/data/levels/presentation09b.oxw

    r5929 r6387  
    8686      </controller>
    8787    </SpaceShip>
    88    
     88
    8989    <PickupSpawner item="JumpItem" triggerDistance="20" respawnTime="10000" position="-3800, 2500, 1500">
    9090        <attached>
     
    9393        </attached>
    9494    </PickupSpawner>
    95    
     95
    9696    <PickupSpawner item="HealthUsableItem" triggerDistance="20" respawnTime="10000" position="-4150,2750,1550">
    9797        <attached>
     
    100100        </attached>
    101101    </PickupSpawner>
    102    
     102
    103103    <PickupSpawner item="HealthImmediateItem" triggerDistance="20" respawnTime="3" position="2300, 4300, 2400">
    104104        <attached>
     
    347347s = math.random() * 60 + 30
    348348?>
    349    
     349
    350350    <MovableEntity position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 - 15) ?>">
    351351      <attached>
     
    370370e = math.floor(math.random()*elements.length()+1)
    371371?>
    372    
     372
    373373    <MovableEntity position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 - 15) ?>">
    374374      <attached>
     
    379379end
    380380?>
    381    
     381
    382382  </Scene>
    383383</Level>
  • code/branches/presentation2/data/levels/presentationHS09.oxw

    r6363 r6387  
    2828        <HealthImmediate recoveredHealth="80" guiImage="goldwrenchpickup.jpg" guiText="Health" />
    2929    </Template>
    30    
     30
    3131    <SpawnPoint position="-3800, 2500, 1500" direction="-0.683, -0.289, -0.670"  spawnclass=SpaceShip pawndesign=spaceshipassff />
    3232
     
    9898        </attached>
    9999    </PickupSpawner>
    100    
     100
    101101    <PickupSpawner item="HealthUsableItem" triggerDistance="20" respawnTime="10000" position="-4150,2750,1550">
    102102        <attached>
     
    105105        </attached>
    106106    </PickupSpawner>
    107    
     107
    108108    <PickupSpawner item="HealthImmediateItem" triggerDistance="20" respawnTime="3" position="2300, 4300, 2400">
    109109        <attached>
     
    357357e = math.floor(math.random()*elements.length()+1)
    358358?>
    359    
     359
    360360    <MovableEntity mass=90000 position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 100 - 15) ?>">
    361361      <attached>
     
    395395e = math.floor(math.random()*elements.length()+1)
    396396?>
    397    
     397
    398398    <MovableEntity mass=90000 position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30- 15) ?>">
    399399      <attached>
  • code/branches/presentation2/data/levels/presentation_dm.oxw

    r5781 r6387  
    3939j = math.random()
    4040?>
    41    
     41
    4242    <MovableEntity position="<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    4343      <attached>
  • code/branches/presentation2/data/levels/questsystem2.oxw

    r6119 r6387  
    225225j = math.random()
    226226?>
    227    
     227
    228228    <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    229229      <attached>
     
    239239<?lua end ?>
    240240    <Planet position="0,0,0" scale=10000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
    241    
     241
    242242  </Scene>
    243243</Level>
  • code/branches/presentation2/data/levels/sound.oxw

    r6382 r6387  
    4141        </events>
    4242  </AmbientSound>
    43  
     43
    4444
    4545  <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
  • code/branches/presentation2/data/levels/test_ghost.oxw

    r6119 r6387  
    3434j = math.random()
    3535?>
    36    
     36
    3737    <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    3838      <attached>
     
    4848<?lua end ?>
    4949    <Planet position="0,0,0" scale=10000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
    50    
     50
    5151  </Scene>
    5252</Level>
  • code/branches/presentation2/data/overlays/debug.oxo

    r5781 r6387  
    3535   textsize = 0.03
    3636  />
    37  
     37
    3838</OverlayGroup>
    3939
  • code/branches/presentation2/data/overlays/stats.oxo

    r6120 r6387  
    1212       textsize  = 0.04
    1313      /-->
    14      
     14
    1515      <OverlayText
    1616       name      = "descr1"
     
    4040       textsize  = 0.04
    4141      />
    42      
     42
    4343      <!--Stats
    4444       name     = "Statistics"
Note: See TracChangeset for help on using the changeset viewer.