mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- use field initializers for VoxelOptions
This commit is contained in:
parent
70df444660
commit
96e98fc4a8
1 changed files with 8 additions and 13 deletions
|
@ -52,19 +52,14 @@
|
||||||
|
|
||||||
struct VoxelOptions
|
struct VoxelOptions
|
||||||
{
|
{
|
||||||
VoxelOptions()
|
int DroppedSpin = 0;
|
||||||
: DroppedSpin(0), PlacedSpin(0), Scale(1.), AngleOffset(DAngle::fromDeg(90.)), OverridePalette(false),
|
int PlacedSpin = 0;
|
||||||
PitchFromMomentum(false), UseActorPitch(false), UseActorRoll(false)
|
double Scale = 1;
|
||||||
{}
|
DAngle AngleOffset = DAngle90;
|
||||||
|
bool OverridePalette = false;
|
||||||
int DroppedSpin;
|
bool PitchFromMomentum = false;
|
||||||
int PlacedSpin;
|
bool UseActorPitch = false;
|
||||||
double Scale;
|
bool UseActorRoll = false;
|
||||||
DAngle AngleOffset;
|
|
||||||
bool OverridePalette;
|
|
||||||
bool PitchFromMomentum;
|
|
||||||
bool UseActorPitch;
|
|
||||||
bool UseActorRoll;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void VOX_AddVoxel(int sprnum, int frame, FVoxelDef* def);
|
void VOX_AddVoxel(int sprnum, int frame, FVoxelDef* def);
|
||||||
|
|
Loading…
Reference in a new issue