Mercurial > projects > mde
comparison mde/imde.d @ 75:25cb7420dc91
A massive overhaul/rewrite for the gui's data management and setup code. Currently much that was working is broken.
imde's classes are created in a static this instead of mde's main.
gl setup code moved from gl/basic.d to gl/draw.d
mergetag.DefaultData: now HIGH_LOW priority instead of LOW_HIGH. Reduced type list to only used types; small fix for indent function.
setup.paths: new NoFileException thrown instead of MTFileIOException
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Mon, 28 Jul 2008 18:17:48 +0100 |
parents | 57d000574d75 |
children | 2a364c7d82c9 |
comparison
equal
deleted
inserted
replaced
74:cee261eba249 | 75:25cb7420dc91 |
---|---|
17 module mde.imde; | 17 module mde.imde; |
18 | 18 |
19 import mde.input.Input; | 19 import mde.input.Input; |
20 import mde.scheduler.Scheduler; | 20 import mde.scheduler.Scheduler; |
21 | 21 |
22 static this () { | |
23 // Make these available to all importing modules' static CTORs, as well as during init. | |
24 input = new Input(); | |
25 mainSchedule = new Scheduler; | |
26 } | |
27 | |
28 | |
22 Scheduler mainSchedule; /// The schedule used by the main loop. | 29 Scheduler mainSchedule; /// The schedule used by the main loop. |
23 | 30 |
24 /** Some enums used by per request scheduled functions. */ | 31 /** Some enums used by per request scheduled functions. */ |
25 enum SCHEDULE : Scheduler.ID { | 32 enum SCHEDULE : Scheduler.ID { |
26 DRAW | 33 DRAW |