summaryrefslogtreecommitdiff
path: root/src/port/ui/Properties.h
blob: 2330a1f0cb0cded84d94914f5fbef0c7214e7aa2 (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
#pragma once

#include <libultraship/libultraship.h>
#include "port/Game.h"

namespace TrackEditor {
class PropertiesWindow : public Ship::GuiWindow {
public:
    using Ship::GuiWindow::GuiWindow;
    ~PropertiesWindow();

    const std::unordered_map<std::string, std::string> SpawnLabels {
        {"Name", "Name"},
        {"Type", "Type"},
        {"Behaviour", "Behaviour"},
        {"Skin", "Skin"},
        {"Location", "Location"},
        {"Rotation", "Rotation"},
        {"Scale", "Scale"},
        {"Velocity", "Velocity"},
        {"PatrolStart", "Patrol Start"},
        {"PatrolEnd", "Patrol End"},
        {"PathSpan", "Path Span"},
        {"PrimAlpha", "PrimAlpha"},
        {"BoundingBoxSize", "Bounding Box Size"},
        {"Count", "Count"},
        {"LeftExitSpan", "Left Exit Span"},
        {"TriggerSpan", "Trigger Span"},
        {"RightExitSpan", "Right Exit Span"},
        {"PathIndex", "Path Index"},
        {"PathPoint", "Path Point"},
        {"Bool", "Bool"},
        {"Speed", "Speed"},
        {"SpeedB", "SpeedB"},
    };
protected:
    void InitElement() override {};
    void DrawElement() override;
    void UpdateElement() override {};
};
}