diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-01-06 16:17:44 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-01-06 16:17:44 -0500 |
commit | d0533395834e8e0dc2cec65f1f25364690956851 (patch) | |
tree | d671c2d74117d674da9fd970e355d2da9fec3976 /libdimension/dimension | |
parent | 4e2a6e40a77068492e3b63b84a18d0cc7f003fb7 (diff) | |
download | dimension-d0533395834e8e0dc2cec65f1f25364690956851.tar.xz |
Make quality settings into flags.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/scene.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h index 81efb13..671bc12 100644 --- a/libdimension/dimension/scene.h +++ b/libdimension/dimension/scene.h @@ -1,5 +1,5 @@ /************************************************************************* - * Copyright (C) 2009 Tavian Barnes <tavianator@gmail.com> * + * Copyright (C) 2010 Tavian Barnes <tavianator@gmail.com> * * * * This file is part of The Dimension Library. * * * @@ -26,13 +26,13 @@ #define DIMENSION_SCENE_H typedef enum { - DMNSN_RENDER_NONE, - DMNSN_RENDER_OBJECTS, - DMNSN_RENDER_PIGMENT, - DMNSN_RENDER_LIGHTS, - DMNSN_RENDER_FINISH, - DMNSN_RENDER_TRANSLUCENCY, - DMNSN_RENDER_FULL + DMNSN_RENDER_NONE = 0, + DMNSN_RENDER_OBJECTS = 1 << 0, + DMNSN_RENDER_PIGMENT = 1 << 1, + DMNSN_RENDER_LIGHTS = 1 << 2, + DMNSN_RENDER_FINISH = 1 << 3, + DMNSN_RENDER_TRANSLUCENCY = 1 << 4, + DMNSN_RENDER_FULL = ~DMNSN_RENDER_NONE } dmnsn_quality; typedef struct { |