Panda3D
Loading...
Searching...
No Matches
fltOpcode.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file fltOpcode.h
10 * @author drose
11 * @date 2000-08-24
12 */
13
14#ifndef FLTOPCODE_H
15#define FLTOPCODE_H
16
17#include "pandatoolbase.h"
18
19// Known opcodes, as of the latest version of flt.
20enum FltOpcode {
21 FO_none = 0,
22 FO_header = 1,
23 FO_group = 2,
24 FO_OB_scale = 3, // obsolete
25 FO_object = 4,
26 FO_face = 5,
27 FO_OB_vertex_i = 6, // obsolete
28 FO_OB_short_vertex = 7, // obsolete
29 FO_OB_vertex_c = 8, // obsolete
30 FO_OB_vertex_cn = 9, // obsolete
31 FO_push = 10,
32 FO_pop = 11,
33 FO_OB_translate = 12, // obsolete
34 FO_OB_dof = 13, // obsolete
35 FO_dof = 14,
36 FO_OB_instance_ref = 16, // obsolete
37 FO_OB_instance = 17, // obsolete
38 FO_push_face = 19,
39 FO_pop_face = 20,
40 FO_push_extension = 21,
41 FO_pop_extension = 22,
42 FO_continuation = 23,
43
44 FO_comment = 31,
45 FO_color_palette = 32,
46 FO_long_id = 33,
47 FO_OB_translate2 = 40, // obsolete
48 FO_OB_rotate_point = 41, // obsolete
49 FO_OB_rotate_edge = 42, // obsolete
50 FO_OB_scale2 = 43, // obsolete
51 FO_OB_translate3 = 44, // obsolete
52 FO_OB_nu_scale = 45, // obsolete
53 FO_OB_rotate_point2 = 46, // obsolete
54 FO_OB_rotate_to_point = 47, // obsolete
55 FO_OB_put = 48, // obsolete
56 FO_transform_matrix = 49,
57 FO_vector = 50,
58 FO_OB_bounding_box = 51, // obsolete
59 FO_multitexture = 52,
60 FO_uv_list = 53,
61 FO_bsp = 55,
62 FO_replicate = 60,
63 FO_instance_ref = 61,
64 FO_instance = 62,
65 FO_external_ref = 63,
66 FO_texture = 64,
67 FO_OB_eyepoint_palette = 65, // obsolete
68 FO_14_material_palette = 66,
69 FO_vertex_palette = 67,
70 FO_vertex_c = 68,
71 FO_vertex_cn = 69,
72 FO_vertex_cnu = 70,
73 FO_vertex_cu = 71,
74 FO_vertex_list = 72,
75 FO_lod = 73,
76 FO_bounding_box = 74,
77 FO_rotate_about_edge = 76,
78 FO_OB_scale3 = 77, // obsolete
79 FO_translate = 78,
80 FO_scale = 79,
81 FO_rotate_about_point = 80,
82 FO_rotate_and_scale = 81,
83 FO_put = 82,
84 FO_eyepoint_palette = 83,
85 FO_mesh = 84,
86 FO_local_vertex_pool = 85,
87 FO_mesh_primitive = 86,
88 FO_road_segment = 87,
89 FO_road_zone = 88,
90 FO_morph_list = 89,
91 FO_behavior_palette = 90,
92 FO_sound = 91,
93 FO_road_path = 92,
94 FO_sound_palette = 93,
95 FO_general_matrix = 94,
96 FO_text = 95,
97 FO_switch = 96,
98 FO_line_style = 97,
99 FO_clip_region = 98,
100 FO_extension = 100,
101 FO_light_source = 101,
102 FO_light_definition = 102,
103 FO_bounding_sphere = 105,
104 FO_bounding_cylinder = 106,
105 FO_bv_center = 108,
106 FO_bv_orientation = 109,
107 FO_light_point = 111,
108 FO_texture_map_palette = 112,
109 FO_15_material = 113,
110 FO_name_table = 114,
111 FO_cat = 115,
112 FO_cat_data = 116,
113 FO_push_attribute = 122,
114 FO_pop_attribute = 123,
115 FO_adaptive_attribute = 125,
116 FO_curve = 126,
117 FO_road_construction = 127
118};
119
120std::ostream &operator << (std::ostream &out, FltOpcode opcode);
121
122#endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.