~ubuntu-branches/ubuntu/quantal/xscreensaver/quantal

« back to all changes in this revision

Viewing changes to hacks/glx/glschool.c

  • Committer: Bazaar Package Importer
  • Author(s): Ted Gould
  • Date: 2008-08-28 16:15:25 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20080828161525-mxga521aoezxjq8h
Tags: 5.07-0ubuntu1
* Upgrade upstream version
* debian/control: Remove suggest xdaliclock as it is no longer
  included
* Remove 10_jwz-screensaver-randr-patch-3.patch as it has been merged
  upstream.
* Add 24_hacks_xsublim_enable.patch as it seems that xsublim was dropped
  from the build files.  There is nothing in the Changelog about it
  so I believe it was accidental.
* Updating the .desktop files from the XML files using gnome-screensaver's
  utility to do so.  Lots of text updates.  Also:
    * Added: abstractile.desktop
    * Added: cwaves.desktop
    * Added: m6502.desktop
    * Added: skytentacles.desktop
    * Removed: xteevee.desktop
* xscreensaver-gl-extra.files: Added skytentacles
* xscreensaver-data-extra.files: Added abstractile, cwaves and m6502
* xscreensaver-data.files: Remove partial abstractile, m6502 and cwaves

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#undef countof
24
24
#define countof(x) (sizeof((x))/sizeof((*x)))
25
25
 
 
26
#define DEF_NFISH       "100"
 
27
#define DEF_FOG         "False"
 
28
#define DEF_DRAWBBOX    "True"
 
29
#define DEF_DRAWGOAL    "False"
 
30
#define DEF_GOALCHGF    "50"
 
31
#define DEF_MAXVEL      "7.0"
 
32
#define DEF_MINVEL      "1.0"
 
33
#define DEF_ACCLIMIT    "8.0"
 
34
#define DEF_DISTEXP     "2.2"
 
35
#define DEF_AVOIDFACT   "1.5"
 
36
#define DEF_MATCHFACT   "0.15"
 
37
#define DEF_CENTERFACT  "0.1"
 
38
#define DEF_TARGETFACT  "80"
 
39
#define DEF_MINRADIUS   "30.0"
 
40
#define DEF_MOMENTUM    "0.9"
 
41
#define DEF_DISTCOMP    "10.0"
 
42
 
26
43
static int                      NFish;
27
44
static Bool                     DoFog;
28
45
static Bool                     DoDrawBBox;
63
80
};
64
81
 
65
82
static argtype vars[] = {
66
 
        {&NFish,                "nfish",                "NFish",                "100", t_Int},
67
 
        {&DoFog,                "fog",                  "DoFog",                "False", t_Bool},
68
 
        {&DoDrawBBox,   "drawbbox",             "DoDrawBBox",   "True", t_Bool},
69
 
        {&DoDrawGoal,   "drawgoal",             "DoDrawGoal",   "False", t_Bool},
70
 
        {&GoalChgFreq,  "goalchgf",             "GoalChgFreq",  "50",  t_Int},
71
 
        {&MaxVel,               "maxvel",               "MaxVel",               "7.0",  t_Float},
72
 
        {&MinVel,               "minvel",               "MinVel",               "1.0",  t_Float},
73
 
        {&AccLimit,             "acclimit",             "AccLimit",             "8.0",  t_Float},
74
 
        {&DistExp,              "distexp",              "DistExp",              "2.2",  t_Float},
75
 
        {&AvoidFact,    "avoidfact",    "AvoidFact",    "1.5",  t_Float},
76
 
        {&MatchFact,    "matchfact",    "MatchFact",    "0.15",  t_Float},
77
 
        {&CenterFact,   "centerfact",   "CenterFact",   "0.1",  t_Float},
78
 
        {&TargetFact,   "targetfact",   "TargetFact",   "80",  t_Float},
79
 
        {&MinRadius,    "minradius",    "MinRadius",    "30.0",  t_Float},
80
 
        {&Momentum,             "momentum",             "Momentum",             "0.9",  t_Float},
81
 
        {&DistComp,             "distcomp",             "DistComp",             "10.0",  t_Float},
 
83
        {&NFish,                "nfish",                "NFish",                DEF_NFISH, t_Int},
 
84
        {&DoFog,                "fog",                  "DoFog",                DEF_FOG, t_Bool},
 
85
        {&DoDrawBBox,   "drawbbox",             "DoDrawBBox",   DEF_DRAWBBOX, t_Bool},
 
86
        {&DoDrawGoal,   "drawgoal",             "DoDrawGoal",   DEF_DRAWGOAL, t_Bool},
 
87
        {&GoalChgFreq,  "goalchgf",             "GoalChgFreq",  DEF_GOALCHGF,  t_Int},
 
88
        {&MaxVel,               "maxvel",               "MaxVel",               DEF_MAXVEL,  t_Float},
 
89
        {&MinVel,               "minvel",               "MinVel",               DEF_MINVEL,     t_Float},
 
90
        {&AccLimit,             "acclimit",             "AccLimit",             DEF_ACCLIMIT,  t_Float},
 
91
        {&DistExp,              "distexp",              "DistExp",              DEF_DISTEXP,  t_Float},
 
92
        {&AvoidFact,    "avoidfact",    "AvoidFact",    DEF_AVOIDFACT,  t_Float},
 
93
        {&MatchFact,    "matchfact",    "MatchFact",    DEF_MATCHFACT,  t_Float},
 
94
        {&CenterFact,   "centerfact",   "CenterFact",   DEF_CENTERFACT,  t_Float},
 
95
        {&TargetFact,   "targetfact",   "TargetFact",   DEF_TARGETFACT,  t_Float},
 
96
        {&MinRadius,    "minradius",    "MinRadius",    DEF_MINRADIUS,  t_Float},
 
97
        {&Momentum,             "momentum",             "Momentum",             DEF_MOMENTUM,  t_Float},
 
98
        {&DistComp,             "distcomp",             "DistComp",             DEF_DISTCOMP,  t_Float},
82
99
};
83
100
 
84
101
ENTRYPOINT ModeSpecOpt glschool_opts = {countof(opts), opts, countof(vars), vars, NULL};