comparison mde/mde.d @ 64:cc3763817b8a

Overhauled Options so that it now uses templates and mixins for type-specific internals, and supported types can be adjusted via just one list.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sun, 29 Jun 2008 11:55:55 +0100
parents 66d555da083e
children 3a737e06dc50
comparison
equal deleted inserted replaced
63:66d555da083e 64:cc3763817b8a
52 logger.fatal ("Initialisation failed: " ~ e.msg); 52 logger.fatal ("Initialisation failed: " ~ e.msg);
53 return 1; 53 return 1;
54 } 54 }
55 55
56 if (miscOpts.pollInterval !<= 1.0 || miscOpts.pollInterval !>= 0.0) 56 if (miscOpts.pollInterval !<= 1.0 || miscOpts.pollInterval !>= 0.0)
57 Options.setDouble ("misc", "pollInterval", 0.01); 57 miscOpts.set!(double) ("pollInterval", 0.01);
58 //END Initialisation 58 //END Initialisation
59 59
60 //BEGIN Main loop setup 60 //BEGIN Main loop setup
61 /* Note: the main loop is currently controlled by the scheduler. This is not really ideal, 61 /* Note: the main loop is currently controlled by the scheduler. This is not really ideal,
62 * since it provides no direct control of the order in which components are executed and does 62 * since it provides no direct control of the order in which components are executed and does