Welcome to mirror list, hosted at ThFree Co, Russian Federation.

entity_type.cpp « Editors « Source - github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f3abb732053636e981cd976875e2aaa8775139c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//-----------------------------------------------------------------------------
//           Name: entity_type.cpp
//      Developer: Wolfire Games LLC
//    Description: 
//        License: Read below
//-----------------------------------------------------------------------------
//
//
//   Copyright 2022 Wolfire Games LLC
//
//   Licensed under the Apache License, Version 2.0 (the "License");
//   you may not use this file except in compliance with the License.
//   You may obtain a copy of the License at
//
//       http://www.apache.org/licenses/LICENSE-2.0
//
//   Unless required by applicable law or agreed to in writing, software
//   distributed under the License is distributed on an "AS IS" BASIS,
//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//   See the License for the specific language governing permissions and
//   limitations under the License.
//
//-----------------------------------------------------------------------------
#include "entity_type.h"

const char* CStringFromEntityType(EntityType type) {
    switch(type){
        case _any_type: return "_any_type";
        case _no_type: return "_no_type";
        case _camera_type: return "_camera_type";
        case _terrain_type: return "_terrain_type";
        case _env_object: return "_env_object";
        case _movement_object: return "_movement_object";
        case _spawn_point: return "_spawn_point";
        case _decal_object: return "_decal_object";
        case _hotspot_object: return "_hotspot_object";
        case _group: return "_editable_entity_group";
        case _prefab: return "_prefab";
        case _rigged_object: return "_rigged_object";
        case _item_object: return "_item_object";
        case _path_point_object: return "_path_point_object";
        case _ambient_sound_object: return "_ambient_sound_object";
        case _placeholder_object: return "_placeholder_object";
        case _light_probe_object: return "_light_probe_object";
        case _dynamic_light_object: return "_dynamic_light_object";
        case _navmesh_hint_object: return "_navmesh_hint_object";
        case _navmesh_region_object: return "_navmesh_region_object";
        case _navmesh_connection_object: return "_navmesh_connection_object";
        case _reflection_capture_object: return "_reflection_capture_object";
        case _light_volume_object: return "_light_volume_object";
        default: return "unknown type";
    }
}