SpaghettiKart
Loading...
Searching...
No Matches
TrackProperties.h
Go to the documentation of this file.
1#pragma once
2
3#include <libultraship/libultraship.h>
4
5extern "C" {
6#include "sounds.h"
7}
8
9namespace TrackEditor {
10class TrackPropertiesWindow : public Ship::GuiWindow {
11public:
12 using Ship::GuiWindow::GuiWindow;
13
15protected:
16 void InitElement() override {};
17 void DrawElement() override;
19 void DrawMusic();
20 void DrawFog();
21 void DrawLight();
22 void UpdateElement() override {};
23 void RGB8ToFloat(const u8* src, float* dst);
24 void FloatToRGB8(const float* src, u8* dst);
25 const char* MusicSeqToString(MusicSeq seq);
26 void DrawTourCamera();
27 static int32_t SelectedShot;
28 static int32_t SelectedKeyframe;
29};
30}
Definition TrackProperties.h:10
void DrawResourceNameEdit()
Definition TrackProperties.cpp:178
void DrawMusic()
Definition TrackProperties.cpp:271
void DrawTourCamera()
Definition TrackProperties.cpp:428
void DrawLight()
Definition TrackProperties.cpp:380
static int32_t SelectedShot
Definition TrackProperties.h:27
void UpdateElement() override
Definition TrackProperties.h:22
void FloatToRGB8(const float *src, u8 *dst)
Definition TrackProperties.cpp:419
void DrawFog()
Definition TrackProperties.cpp:346
void RGB8ToFloat(const u8 *src, float *dst)
Definition TrackProperties.cpp:413
~TrackPropertiesWindow()
Definition TrackProperties.cpp:31
const char * MusicSeqToString(MusicSeq seq)
Definition TrackProperties.cpp:304
static int32_t SelectedKeyframe
Definition TrackProperties.h:28
void InitElement() override
Definition TrackProperties.h:16
void DrawElement() override
Definition TrackProperties.cpp:35
Definition Collision.cpp:17
MusicSeq
Definition sounds.h:119