/* ** Command & Conquer Renegade(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 . */ /*********************************************************************************************** *** Confidential - Westwood Studios *** *********************************************************************************************** * * * Project Name : Commando * * * * $Archive:: /Commando/Code/Combat/bullet.h $* * * * $Author:: Byon_g $* * * * $Modtime:: 4/16/01 3:19p $* * * * $Revision:: 51 $* * * *---------------------------------------------------------------------------------------------* * Functions: * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ #ifndef BULLET_H #define BULLET_H #ifndef ALWAYS_H #include "always.h" #endif class ChunkSaveClass; class ChunkLoadClass; class AmmoDefinitionClass; class Vector3; class ArmedGameObj; class DamageableGameObj; /* ** BulletManager */ class BulletManager { public: static void Init( void ); static void Shutdown( void ); static void Update( void ); static bool Save( ChunkSaveClass &csave ); static bool Load( ChunkLoadClass &cload ); static void Create_Bullet( const AmmoDefinitionClass * def, const Vector3 & position, const Vector3 & velocity, const ArmedGameObj * owner, float progress_time, const Vector3 & target, DamageableGameObj * target_object = NULL ); }; #endif // BULLET_H