All pastes #262165 Raw Edit

Someone

public text v1 · immutable
#262165 ·published 2006-11-30 06:13 UTC
rendered paste body
static void
tdScreenInitOptions (tdScreen *tds)
{
        CompOption *o;

        o = &tds->opt[TD_SCREEN_OPTION_SPACE];
        o->name                 = "space";
        o->shortDesc        = "Space between windows";
        o->group                = N_("");
        o->subGroup             = N_("");
        o->displayHints         = "";
        o->longDesc             = "Change the space between the windows.";
        o->type                 = CompOptionTypeFloat;
        o->value.f              = TD_SPACE_DEFAULT;
        o->rest.f.min       = TD_SPACE_MIN;
        o->rest.f.max       = TD_SPACE_MAX;
    o->rest.f.precision = TD_SPACE_PRECISION;

        o = &tds->opt[TD_SCREEN_OPTION_SPEED];
        o->name                 = "speed";
        o->shortDesc        = "3D animation speed";
        o->group                = N_("");
        o->subGroup             = N_("");
        o->displayHints         = "";
        o->longDesc             = "Change the speed of the 3D animation.";
        o->type                 = CompOptionTypeFloat;
        o->value.f              = TD_SPEED_DEFAULT;
        o->rest.f.min       = TD_SPEED_MIN;
        o->rest.f.max       = TD_SPEED_MAX;
    o->rest.f.precision = TD_SPEED_PRECISION;

    o = &tds->opt[TD_SCREEN_OPTION_CREATE_MIPMAPS];
        o->name                 = "mipmaps";
        o->shortDesc        = "create mipmaps";
        o->group                = N_("");
        o->subGroup             = N_("");
        o->displayHints         = "";
        o->longDesc             = "create mipmaps";
        o->type                 = CompOptionTypeBool;
        o->value.f              = TD_CREATE_MIPMAPS_DEFAULT;

    o = &tds->opt[TD_SCREEN_OPTION_DISABLE_BACKFACE_CULLING];
        o->name                 = "noculling";
        o->shortDesc        = "Disable Backface Culling";
        o->group                = N_("");
        o->subGroup             = N_("");
        o->displayHints         = "";
        o->longDesc             = "Disable Backface Culling";
        o->type                 = CompOptionTypeBool;
        o->value.f              = TD_DISABLE_BACKFACE_CULLING_DEFAULT;
}