Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

pandatool/src/flt/fltOpcode.h

Go to the documentation of this file.
00001 // Filename: fltOpcode.h
00002 // Created by:  drose (24Aug00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef FLTOPCODE_H
00020 #define FLTOPCODE_H
00021 
00022 #include <pandatoolbase.h>
00023 
00024 // Known opcodes, as of the latest version of flt.
00025 enum FltOpcode {
00026   FO_none                = 0,
00027   FO_header              = 1,
00028   FO_group               = 2,
00029   FO_OB_scale            = 3,    // obsolete
00030   FO_object              = 4,
00031   FO_face                = 5,
00032   FO_OB_vertex_i         = 6,    // obsolete
00033   FO_OB_short_vertex     = 7,    // obsolete
00034   FO_OB_vertex_c         = 8,    // obsolete
00035   FO_OB_vertex_cn        = 9,    // obsolete
00036   FO_push                = 10,
00037   FO_pop                 = 11,
00038   FO_OB_translate        = 12,   // obsolete
00039   FO_OB_dof              = 13,   // obsolete
00040   FO_dof                 = 14,
00041   FO_OB_instance_ref     = 16,   // obsolete
00042   FO_OB_instance         = 17,   // obsolete
00043   FO_push_face           = 19,
00044   FO_pop_face            = 20,
00045   FO_push_extension      = 21,
00046   FO_pop_extension       = 22,
00047   FO_continuation        = 23,
00048 
00049   FO_comment             = 31,
00050   FO_color_palette       = 32,
00051   FO_long_id             = 33,
00052   FO_OB_translate2       = 40,   // obsolete
00053   FO_OB_rotate_point     = 41,   // obsolete
00054   FO_OB_rotate_edge      = 42,   // obsolete
00055   FO_OB_scale2           = 43,   // obsolete
00056   FO_OB_translate3       = 44,   // obsolete
00057   FO_OB_nu_scale         = 45,   // obsolete
00058   FO_OB_rotate_point2    = 46,   // obsolete
00059   FO_OB_rotate_to_point  = 47,   // obsolete
00060   FO_OB_put              = 48,   // obsolete
00061   FO_transform_matrix    = 49,
00062   FO_vector              = 50,
00063   FO_OB_bounding_box     = 51,   // obsolete
00064   FO_multitexture        = 52,
00065   FO_uv_list             = 53,
00066   FO_bsp                 = 55,
00067   FO_replicate           = 60,
00068   FO_instance_ref        = 61,
00069   FO_instance            = 62,
00070   FO_external_ref        = 63,
00071   FO_texture             = 64,
00072   FO_OB_eyepoint_palette = 65,   // obsolete
00073   FO_14_material_palette = 66,
00074   FO_vertex_palette      = 67,
00075   FO_vertex_c            = 68,
00076   FO_vertex_cn           = 69,
00077   FO_vertex_cnu          = 70,
00078   FO_vertex_cu           = 71,
00079   FO_vertex_list         = 72,
00080   FO_lod                 = 73,
00081   FO_bounding_box        = 74,
00082   FO_rotate_about_edge   = 76,
00083   FO_OB_scale3           = 77,   // obsolete
00084   FO_translate           = 78,
00085   FO_scale               = 79,
00086   FO_rotate_about_point  = 80,
00087   FO_rotate_and_scale    = 81,
00088   FO_put                 = 82,
00089   FO_eyepoint_palette    = 83,
00090   FO_mesh                = 84,
00091   FO_local_vertex_pool   = 85,
00092   FO_mesh_primitive      = 86,
00093   FO_road_segment        = 87,
00094   FO_road_zone           = 88,
00095   FO_morph_list          = 89,
00096   FO_behavior_palette    = 90,
00097   FO_sound               = 91,
00098   FO_road_path           = 92,
00099   FO_sound_palette       = 93,
00100   FO_general_matrix      = 94,
00101   FO_text                = 95,
00102   FO_switch              = 96,
00103   FO_line_style          = 97,
00104   FO_clip_region         = 98,
00105   FO_extension           = 100,
00106   FO_light_source        = 101,
00107   FO_light_definition    = 102,
00108   FO_bounding_sphere     = 105,
00109   FO_bounding_cylinder   = 106,
00110   FO_bv_center           = 108,
00111   FO_bv_orientation      = 109,
00112   FO_light_point         = 111,
00113   FO_texture_map_palette = 112,
00114   FO_15_material         = 113,
00115   FO_name_table          = 114,
00116   FO_cat                 = 115,
00117   FO_cat_data            = 116,
00118   FO_push_attribute      = 122,
00119   FO_pop_attribute       = 123,
00120   FO_adaptive_attribute  = 125,
00121   FO_curve               = 126,
00122   FO_road_construction   = 127
00123 };
00124 
00125 ostream &operator << (ostream &out, FltOpcode opcode);
00126 
00127 #endif
00128 

Generated on Fri May 2 03:19:29 2003 for Panda-Tool by doxygen1.3