Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2011, 6:45:06 PM (13 years ago)
Author:
rgrieder
Message:

Adjusted implementation of tribool to work well with tolua and integrated it into our GUI code.
Use tribool(true), tribool(false) and tribool(dontcare) in Lua.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/data/lua/Tools.lua

    r6746 r8687  
    1616end
    1717
    18 -- Short forms for TriBool
    19 TriBool =
    20 {
    21     True     = orxonox.TriBool.True,
    22     False    = orxonox.TriBool.False,
    23     Dontcare = orxonox.TriBool.Dontcare
    24 }
     18-- Shortcuts for tribool
     19tribool  = orxonox.tribool
     20dontcare = orxonox.dontcare_keyword_t()
Note: See TracChangeset for help on using the changeset viewer.