Skip to content

Commit

Permalink
Missed header changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomspilman committed Sep 9, 2024
1 parent e1a04a3 commit 67054df
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/monogame/include/csharp_enums.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ enum class MGSoundState : mgint
Stopped = 2,
};

enum class MGFilterMode : mgint
{
LowPass = 0,
BandPass = 1,
HighPass = 2,
};

enum class MGSurfaceFormat : mgint
{
Color = 0,
Expand Down
50 changes: 50 additions & 0 deletions src/monogame/include/csharp_structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,56 @@

#include "csharp_common.h"

struct ReverbSettings
{
mgfloat ReflectionsDelayMs;
mgfloat ReverbDelayMs;
mgfloat PositionLeft;
mgfloat PositionRight;
mgfloat PositionLeftMatrix;
mgfloat PositionRightMatrix;
mgfloat EarlyDiffusion;
mgfloat LateDiffusion;
mgfloat LowEqGain;
mgfloat LowEqCutoff;
mgfloat HighEqGain;
mgfloat HighEqCutoff;
mgfloat RearDelayMs;
mgfloat RoomFilterFrequencyHz;
mgfloat RoomFilterMainDb;
mgfloat RoomFilterHighFrequencyDb;
mgfloat ReflectionsGainDb;
mgfloat ReverbGainDb;
mgfloat DecayTimeSec;
mgfloat DensityPct;
mgfloat RoomSizeFeet;
mgfloat WetDryMixPct;
};

struct Vector3
{
mgfloat X;
mgfloat Y;
mgfloat Z;
};

struct Listener
{
Vector3 Position;
Vector3 Forward;
Vector3 Up;
Vector3 Velocity;
};

struct Emitter
{
Vector3 Position;
Vector3 Forward;
Vector3 Up;
Vector3 Velocity;
mgfloat DopplerScale;
};

struct MGG_DisplayMode
{
mgint width;
Expand Down

0 comments on commit 67054df

Please sign in to comment.