From d0533395834e8e0dc2cec65f1f25364690956851 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 6 Jan 2010 16:17:44 -0500 Subject: Make quality settings into flags. --- libdimension/dimension/scene.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libdimension/dimension/scene.h') 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 * + * Copyright (C) 2010 Tavian Barnes * * * * 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 { -- cgit v1.2.3