Committing player separately.

shapeBase is its own beast and will require a very critical look over once its up.
This commit is contained in:
marauder2k7 2021-09-29 11:41:57 +01:00
parent 3d7f092c52
commit d700ea4878
2 changed files with 56 additions and 80 deletions

View file

@ -35,6 +35,7 @@
#include "collision/boxConvex.h"
#endif
#include "T3D/assets/SoundAsset.h"
#include "T3D/gameBase/gameProcess.h"
class Material;
@ -218,7 +219,9 @@ struct PlayerData: public ShapeBaseData {
ExitWater,
MaxSounds
};
SFXTrack* sound[MaxSounds];
DECLARE_SOUNDASSET_ARRAY(PlayerData, PlayerSound, Sounds::MaxSounds);
DECLARE_SOUNDASSET_ARRAY_SETGET(PlayerData, PlayerSound);
Point3F boxSize; ///< Width, depth, height
Point3F crouchBoxSize;