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
|
||||
{
|
||||
VoxelOptions()
|
||||
: DroppedSpin(0), PlacedSpin(0), Scale(1.), AngleOffset(DAngle::fromDeg(90.)), OverridePalette(false),
|
||||
PitchFromMomentum(false), UseActorPitch(false), UseActorRoll(false)
|
||||
{}
|
||||
|
||||
int DroppedSpin;
|
||||
int PlacedSpin;
|
||||
double Scale;
|
||||
DAngle AngleOffset;
|
||||
bool OverridePalette;
|
||||
bool PitchFromMomentum;
|
||||
bool UseActorPitch;
|
||||
bool UseActorRoll;
|
||||
int DroppedSpin = 0;
|
||||
int PlacedSpin = 0;
|
||||
double Scale = 1;
|
||||
DAngle AngleOffset = DAngle90;
|
||||
bool OverridePalette = false;
|
||||
bool PitchFromMomentum = false;
|
||||
bool UseActorPitch = false;
|
||||
bool UseActorRoll = false;
|
||||
};
|
||||
|
||||
void VOX_AddVoxel(int sprnum, int frame, FVoxelDef* def);
|
||||
|
|
Loading…
Reference in a new issue