/*
** Command & Conquer Generals Zero Hour(tm)
** Copyright 2025 Electronic Arts Inc.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see .
*/
////////////////////////////////////////////////////////////////////////////////
// //
// (c) 2001-2003 Electronic Arts Inc. //
// //
////////////////////////////////////////////////////////////////////////////////
// FILE: W3DTankTruckDraw.h ////////////////////////////////////////////////////////////////////////////
// Draw a vehicle with treads and wheels.
// Author: Mark Wilczynski, August 2002
///////////////////////////////////////////////////////////////////////////////////////////////////
#pragma once
#ifndef _W3D_TANKTRUCK_DRAW_H_
#define _W3D_TANKTRUCK_DRAW_H_
// INCLUDES ///////////////////////////////////////////////////////////////////////////////////////
#include "Common/DrawModule.h"
#include "Common/AudioEventRTS.h"
#include "GameClient/ParticleSys.h"
#include "W3DDevice/GameClient/Module/W3DModelDraw.h"
#include "WW3D2/HAnim.h"
#include "WW3D2/RendObj.h"
#include "WW3D2/Part_Emt.h"
//-------------------------------------------------------------------------------------------------
class W3DTankTruckDrawModuleData : public W3DModelDrawModuleData
{
public:
AsciiString m_dustEffectName;
AsciiString m_dirtEffectName;
AsciiString m_powerslideEffectName;
AsciiString m_frontLeftTireBoneName;
AsciiString m_frontRightTireBoneName;
AsciiString m_rearLeftTireBoneName;
AsciiString m_rearRightTireBoneName;
//4 extra tires to support up to 8 tires.
AsciiString m_midFrontLeftTireBoneName;
AsciiString m_midFrontRightTireBoneName;
AsciiString m_midRearLeftTireBoneName;
AsciiString m_midRearRightTireBoneName;
Real m_rotationSpeedMultiplier;
Real m_powerslideRotationAddition;
//Tank data
AsciiString m_treadDebrisNameLeft;
AsciiString m_treadDebrisNameRight;
Real m_treadAnimationRate; ///