Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 27, 2010, 5:48:34 PM (15 years ago)
Author:
rgrieder
Message:

The lua "print" function was previously stored in "debug" —> changed that to "original_print".
Please use logMessage(level, message)
or its shortcut cout(level, message)

Location:
code/branches/gamestate/data/gui/scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestate/data/gui/scripts/GameplayMenu.lua

    r6621 r6623  
    1818function P.GameplayThemeCombobox_changed(e)
    1919    -- theme
    20     debug("event: theme")
     20    logMessage(0, "event: theme")
    2121end
    2222
    2323function P.GameplayDifficultyEasyButton_clicked(e)
    2424    -- difficulty easy
    25     debug("event: easy")
     25    logMessage(0, "event: easy")
    2626end
    2727
    2828function P.GameplayDifficultyNormalButton_clicked(e)
    2929    -- difficulty normal
    30     debug("event: normal")
     30    logMessage(0, "event: normal")
    3131end
    3232
    3333function P.GameplayDifficultyHardButton_clicked(e)
    3434    -- difficulty hard
    35     debug("event: hard")
     35    logMessage(0, "event: hard")
    3636end
    3737
  • code/branches/gamestate/data/gui/scripts/GraphicsMenu.lua

    r6621 r6623  
    143143    if scrollbar_active == false then
    144144        -- brightness
    145         debug("event: brightness")
     145        logMessage(0, "event: brightness")
    146146    end
    147147end
     
    153153function P.GraphicsBrightnessScrollbar_ended(e)
    154154    -- brightness
    155     debug("event: brightness")
     155    logMessage(0, "event: brightness")
    156156    scrollbar_active = false
    157157end
  • code/branches/gamestate/data/gui/scripts/SettingsMenu.lua

    r6621 r6623  
    2525function P.SettingsResetSettingsButton_clicked(e)
    2626    -- reset settings
    27     debug("event: reset settings")
     27    logMessage(0, "event: reset settings")
    2828end
    2929
Note: See TracChangeset for help on using the changeset viewer.