summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmtokens.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmtokens.h')
-rw-r--r--kpovmodeler/pmtokens.h463
1 files changed, 463 insertions, 0 deletions
diff --git a/kpovmodeler/pmtokens.h b/kpovmodeler/pmtokens.h
new file mode 100644
index 00000000..f1606e53
--- /dev/null
+++ b/kpovmodeler/pmtokens.h
@@ -0,0 +1,463 @@
+//-*-C++-*-
+/*
+**************************************************************************
+ description
+ --------------------
+ copyright : (C) 2000-2003 by Andreas Zehender
+ email : zehender@kde.org
+**************************************************************************
+
+**************************************************************************
+* *
+* This program is free software; you can redistribute it and/or modify *
+* it under the terms of the GNU General Public License as published by *
+* the Free Software Foundation; either version 2 of the License, or *
+* (at your option) any later version. *
+* *
+**************************************************************************/
+
+
+#ifndef PMTOKENS_H
+#define PMTOKENS_H
+
+
+enum PMToken {
+ SCANNER_ERROR_TOK=-2,
+ EOF_TOK=-1,
+ //single character tokens
+ //reserved words in povray
+ AA_LEVEL_TOK=0x100,
+ AA_THRESHOLD_TOK,
+ ABS_TOK,
+ ABSORPTION_TOK,
+ ACCURACY_TOK,
+ ACOS_TOK,
+ ACOSH_TOK,
+ ADAPTIVE_TOK,
+ ADC_BAILOUT_TOK,
+ AGATE_TOK,
+ AGATE_TURB_TOK,
+ ALL_TOK,
+ ALL_INTERSECTIONS_TOK,
+ ALPHA_TOK,
+ ALTITUDE_TOK,
+ ALWAYS_SAMPLE_TOK,
+ AMBIENT_TOK,
+ AMBIENT_LIGHT_TOK,
+ ANGLE_TOK,
+ APERTURE_TOK,
+ ARC_ANGLE_TOK,
+ AREA_LIGHT_TOK,
+ AREA_CIRCULAR_TOK,
+ ASC_TOK,
+ ASIN_TOK,
+ ASINH_TOK,
+ ASSUMED_GAMMA_TOK,
+ ATAN_TOK,
+ ATAN2_TOK,
+ ATANH_TOK,
+ ATMOSPHERE_TOK,
+ ATMOSPHERIC_ATTENUATION_TOK,
+ ATTENUAT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DE_TOK,
+ INSIDE_VECTOR_TOK,
+ INT_TOK,
+ INTERIOR_TOK,
+ INTERIOR_TEXTURE_TOK,
+ INTERPOLATE_TOK,
+ INTERSECTION_TOK,
+ INTERVALS_TOK,
+ INVERSE_TOK,
+ ISOSURFACE_TOK,
+ IOR_TOK,
+ IRID_TOK,
+ IRID_WAVELENGTH_TOK,
+ JITTER_TOK,
+ JULIA_TOK,
+ JULIA_FRACTAL_TOK,
+ LAMBDA_TOK,
+ LATHE_TOK,
+ LEOPARD_TOK,
+ LIGHT_GROUP_TOK,
+ LIGHT_SOURCE_TOK,
+ LINEAR_TOK,
+ LINEAR_SPLINE_TOK,
+ LINEAR_SWEEP_TOK,
+ LOCATION_TOK,
+ LOG_TOK,
+ LOOKS_LIKE_TOK,
+ LOOK_AT_TOK,
+ LOW_ERROR_FACTOR_TOK,
+ MAGNET_TOK,
+ MAJOR_RADIUS_TOK,
+ MANDEL_TOK,
+ MAP_TYPE_TOK,
+ MARBLE_TOK,
+ MATERIAL_TOK,
+ MATERIAL_MAP_TOK,
+ MATRIX_TOK,
+ MAX_TOK,
+ MAX_GRADIENT_TOK,
+ MAX_INTERSECTIONS_TOK,
+ MAX_ITERATION_TOK,
+ MAX_SAMPLE_TOK,
+ MAX_TRACE_TOK,
+ MAX_TRACE_LEVEL_TOK,
+ MAX_VALUE_TOK,
+ MEDIA_TOK,
+ MEDIA_ATTENUATION_TOK,
+ MEDIA_INTERACTION_TOK,
+ MERGE_TOK,
+ MESH_TOK,
+ METALLIC_TOK,
+ METHOD_TOK,
+ METRIC_TOK,
+ MIN_TOK,
+ MINIMUM_REUSE_TOK,
+ MOD_TOK,
+ MORTAR_TOK,
+ NEAREST_COUNT_TOK,
+ NO_TOK,
+ NOISE_GENERATOR_TOK,
+ NORMAL_TOK,
+ NORMAL_MAP_TOK,
+ NO_IMAGE_TOK,
+ NO_REFLECTION_TOK,
+ NO_SHADOW_TOK,
+ NUMBER_OF_WAVES_TOK,
+ OBJECT_TOK,
+ OCTAVES_TOK,
+ OFF_TOK,
+ OFFSET_TOK,
+ OMEGA_TOK,
+ OMNIMAX_TOK,
+ ON_TOK,
+ ONCE_TOK,
+ ONION_TOK,
+ OPEN_TOK,
+ ORIENT_TOK,
+ ORTHOGRAPHIC_TOK,
+ PANORAMIC_TOK,
+ PARALLEL_TOK,
+ PASS_THROUGH_TOK,
+ PATTERN1_TOK,
+ PATTERN2_TOK,
+ PATTERN3_TOK,
+ PERSPECTIVE_TOK,
+ PGM_TOK,
+ PHASE_TOK,
+ PHONG_TOK,
+ PHONG_SIZE_TOK,
+ PHOTONS_TOK,
+ PI_TOK,
+ PIGMENT_TOK,
+ PIGMENT_MAP_TOK,
+ PLANAR_TOK,
+ PLANE_TOK,
+ PNG_TOK,
+ POINT_AT_TOK,
+ POLY_TOK,
+ POLY_WAVE_TOK,
+ POLYGON_TOK,
+ POT_TOK,
+ POW_TOK,
+ PPM_TOK,
+ PRECISION_TOK,
+ PRETRACE_END_TOK,
+ PRETRACE_START_TOK,
+ PRISM_TOK,
+ PROJECTED_THROUGH_TOK,
+ PWR_TOK,
+ QUADRATIC_SPLINE_TOK,
+ QUADRIC_TOK,
+ QUARTIC_TOK,
+ QUATERNION_TOK,
+ QUICK_COLOR_TOK,
+ QUICK_COLOUR_TOK,
+ QUILTED_TOK,
+ RADIAL_TOK,
+ RADIANS_TOK,
+ RADIOSITY_TOK,
+ RADIUS_TOK,
+ RAINBOW_TOK,
+ RAMP_WAVE_TOK,
+ RAND_TOK,
+ RANGE_TOK,
+ RATIO_TOK,
+ RECIPROCAL_TOK,
+ RECURSION_LIMIT_TOK,
+ RED_TOK,
+ REFLECTION_TOK,
+ REFLECTION_EXPONENT_TOK,
+ REFRACTION_TOK,
+ RENDER_TOK,
+ REPEAT_TOK,
+ RGB_TOK,
+ RGBF_TOK,
+ RGBFT_TOK,
+ RGBT_TOK,
+ RIGHT_TOK,
+ RIPPLES_TOK,
+ ROTATE_TOK,
+ ROUGHNESS_TOK,
+ SA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