general: Update header guard names to fit convention

Closes #899
This commit is contained in:
FReeshabh 2020-08-17 10:05:39 +02:00 committed by rdb
parent dde0e5255d
commit 56ed86334b
70 changed files with 217 additions and 217 deletions

View File

@ -62,8 +62,8 @@
* of the code. * of the code.
*/ */
#ifndef __FMOD_AUDIO_MANAGER_H__ #ifndef FMODAUDIOMANAGER_H
#define __FMOD_AUDIO_MANAGER_H__ #define FMODAUDIOMANAGER_H
// First the includes. // First the includes.
#include "pandabase.h" #include "pandabase.h"
@ -212,4 +212,4 @@ private:
EXPCL_FMOD_AUDIO AudioManager *Create_FmodAudioManager(); EXPCL_FMOD_AUDIO AudioManager *Create_FmodAudioManager();
#endif /* __FMOD_AUDIO_MANAGER_H__ */ #endif /* FMODAUDIOMANAGER_H */

View File

@ -10,8 +10,8 @@
* @author Ben Buchwald <bb2@alumni.cmu.edu> * @author Ben Buchwald <bb2@alumni.cmu.edu>
*/ */
#ifndef __OPENAL_AUDIO_MANAGER_H__ #ifndef OPENALAUDIOMANAGER_H
#define __OPENAL_AUDIO_MANAGER_H__ #define OPENALAUDIOMANAGER_H
#include "pandabase.h" #include "pandabase.h"
@ -242,4 +242,4 @@ private:
EXPCL_OPENAL_AUDIO AudioManager *Create_OpenALAudioManager(); EXPCL_OPENAL_AUDIO AudioManager *Create_OpenALAudioManager();
#endif /* __OPENAL_AUDIO_MANAGER_H__ */ #endif /* OPENALAUDIOMANAGER_H */

View File

@ -10,8 +10,8 @@
* @author Ben Buchwald <bb2@alumni.cmu.edu> * @author Ben Buchwald <bb2@alumni.cmu.edu>
*/ */
#ifndef __OPENAL_AUDIO_SOUND_H__ #ifndef OPENALAUDIOSOUND_H
#define __OPENAL_AUDIO_SOUND_H__ #define OPENALAUDIOSOUND_H
#include "pandabase.h" #include "pandabase.h"
@ -209,4 +209,4 @@ private:
#include "openalAudioSound.I" #include "openalAudioSound.I"
#endif /* __OPENAL_AUDIO_SOUND_H__ */ #endif /* __OPENALAUDIOSOUND_H__ */

View File

@ -11,8 +11,8 @@
* @date 2010-02-21 * @date 2010-02-21
*/ */
#ifndef __BULLET_ALL_HITS_RAY_RESULT_H__ #ifndef BULLETALLHITSRAYRESULT_H
#define __BULLET_ALL_HITS_RAY_RESULT_H__ #define BULLETALLHITSRAYRESULT_H
#include "pandabase.h" #include "pandabase.h"
@ -98,4 +98,4 @@ private:
#include "bulletAllHitsRayResult.I" #include "bulletAllHitsRayResult.I"
#endif // __BULLET_ALL_HITS_RAY_RESULT_H__ #endif // BULLETALLHITSRAYRESULT_H

View File

@ -11,8 +11,8 @@
* @date 2010-11-21 * @date 2010-11-21
*/ */
#ifndef __BULLET_BASE_CHARACTER_CONTROLLER_NODE_H__ #ifndef BULLETBASECHARACTERCONTROLLERNODE_H
#define __BULLET_BASE_CHARACTER_CONTROLLER_NODE_H__ #define BULLETBASECHARACTERCONTROLLERNODE_H
#include "pandabase.h" #include "pandabase.h"
@ -69,4 +69,4 @@ private:
#include "bulletBaseCharacterControllerNode.I" #include "bulletBaseCharacterControllerNode.I"
#endif // __BULLET_BASE_CHARACTER_CONTROLLER_NODE_H__ #endif // BULLETBASECHARACTERCONTROLLERNODE_H

View File

@ -11,8 +11,8 @@
* @date 2010-11-19 * @date 2010-11-19
*/ */
#ifndef __BULLET_BODY_NODE_H__ #ifndef BULLETBODYNODE_H
#define __BULLET_BODY_NODE_H__ #define BULLETBODYNODE_H
#include "pandabase.h" #include "pandabase.h"
@ -56,7 +56,7 @@ PUBLISHED:
// Static and kinematic // Static and kinematic
bool is_static() const; bool is_static() const;
bool is_kinematic() const; bool is_kinematic() const;
INLINE void set_static(bool value); INLINE void set_static(bool value);
INLINE void set_kinematic(bool value); INLINE void set_kinematic(bool value);
@ -201,4 +201,4 @@ private:
#include "bulletBodyNode.I" #include "bulletBodyNode.I"
#endif // __BULLET_BODY_NODE_H__ #endif // BULLETBODYNODE_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-24 * @date 2010-01-24
*/ */
#ifndef __BULLET_BOX_SHAPE_H__ #ifndef BULLETBOXSHAPE_H
#define __BULLET_BOX_SHAPE_H__ #define BULLETBOXSHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -82,4 +82,4 @@ private:
#include "bulletBoxShape.I" #include "bulletBoxShape.I"
#endif // __BULLET_BOX_SHAPE_H__ #endif // BULLETBOXSHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-27 * @date 2010-01-27
*/ */
#ifndef __BULLET_CAPSULE_SHAPE_H__ #ifndef BULLETCAPSULESHAPE_H
#define __BULLET_CAPSULE_SHAPE_H__ #define BULLETCAPSULESHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -86,4 +86,4 @@ private:
#include "bulletCapsuleShape.I" #include "bulletCapsuleShape.I"
#endif // __BULLET_CAPSULE_SHAPE_H__ #endif // BULLETCAPSULESHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-11-21 * @date 2010-11-21
*/ */
#ifndef __BULLET_CHARACTER_CONTROLLER_NODE_H__ #ifndef BULLETCHARACTERCONTROLLERNODE_H
#define __BULLET_CHARACTER_CONTROLLER_NODE_H__ #define BULLETCHARACTERCONTROLLERNODE_H
#include "pandabase.h" #include "pandabase.h"
@ -45,7 +45,7 @@ PUBLISHED:
void set_fall_speed(PN_stdfloat fall_speed); void set_fall_speed(PN_stdfloat fall_speed);
void set_jump_speed(PN_stdfloat jump_speed); void set_jump_speed(PN_stdfloat jump_speed);
void set_max_jump_height(PN_stdfloat max_jump_height); void set_max_jump_height(PN_stdfloat max_jump_height);
void set_max_slope(PN_stdfloat max_slope); void set_max_slope(PN_stdfloat max_slope);
PN_stdfloat get_max_slope() const; PN_stdfloat get_max_slope() const;
@ -110,4 +110,4 @@ private:
#include "bulletCharacterControllerNode.I" #include "bulletCharacterControllerNode.I"
#endif // __BULLET_CHARACTER_CONTROLLER_NODE_H__ #endif // BULLETCHARACTERCONTROLLERNODE_H

View File

@ -11,8 +11,8 @@
* @date 2010-02-21 * @date 2010-02-21
*/ */
#ifndef __BULLET_CLOSEST_HIT_RAY_RESULT_H__ #ifndef BULLETCLOSESTHITRAYRESULT_H
#define __BULLET_CLOSEST_HIT_RAY_RESULT_H__ #define BULLETCLOSESTHITRAYRESULT_H
#include "pandabase.h" #include "pandabase.h"
@ -70,4 +70,4 @@ private:
#include "bulletClosestHitRayResult.I" #include "bulletClosestHitRayResult.I"
#endif // __BULLET_CLOSEST_HIT_RAY_RESULT_H__ #endif // BULLETCLOSESTHITRAYRESULT_H

View File

@ -11,8 +11,8 @@
* @date 2010-12-01 * @date 2010-12-01
*/ */
#ifndef __BULLET_CLOSEST_HIT_SWEEP_RESULT_H__ #ifndef BULLETCLOSESTHITSWEEPRESULT_H
#define __BULLET_CLOSEST_HIT_SWEEP_RESULT_H__ #define BULLETCLOSESTHITSWEEPRESULT_H
#include "pandabase.h" #include "pandabase.h"
@ -61,4 +61,4 @@ private:
#include "bulletClosestHitSweepResult.I" #include "bulletClosestHitSweepResult.I"
#endif // __BULLET_CLOSEST_HIT_SWEEP_RESULT_H__ #endif // BULLETCLOSESTHITSWEEPRESULT_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-24 * @date 2010-01-24
*/ */
#ifndef __BULLET_CONE_SHAPE_H__ #ifndef BULLETCONESHAPE_H
#define __BULLET_CONE_SHAPE_H__ #define BULLETCONESHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -79,4 +79,4 @@ private:
#include "bulletConeShape.I" #include "bulletConeShape.I"
#endif // __BULLET_CONE_SHAPE_H__ #endif // BULLETCONESHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-01 * @date 2010-03-01
*/ */
#ifndef __BULLET_CONE_TWIST_CONSTRAINT_H__ #ifndef BULLETCONETWISTCONSTRAINT_H
#define __BULLET_CONE_TWIST_CONSTRAINT_H__ #define BULLETCONETWISTCONSTRAINT_H
#include "pandabase.h" #include "pandabase.h"
@ -89,4 +89,4 @@ private:
#include "bulletConeTwistConstraint.I" #include "bulletConeTwistConstraint.I"
#endif // __BULLET_CONE_TWIST_CONSTRAINT_H__ #endif // BULLETCONETWISTCONSTRAINT_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-01 * @date 2010-03-01
*/ */
#ifndef __BULLET_CONSTRAINT_H__ #ifndef BULLETCONSTRAINT_H
#define __BULLET_CONSTRAINT_H__ #define BULLETCONSTRAINT_H
#include "pandabase.h" #include "pandabase.h"
@ -87,4 +87,4 @@ private:
#include "bulletConstraint.I" #include "bulletConstraint.I"
#endif // __BULLET_CONSTRAINT_H__ #endif // BULLETCONSTRAINT_H

View File

@ -11,8 +11,8 @@
* @date 2012-11-22 * @date 2012-11-22
*/ */
#ifndef __BULLET_CONTACT_CALLBACK_DATA_H__ #ifndef BULLETCONTACTCALLBACKDATA_H
#define __BULLET_CONTACT_CALLBACK_DATA_H__ #define BULLETCONTACTCALLBACKDATA_H
#include "pandabase.h" #include "pandabase.h"
#include "callbackData.h" #include "callbackData.h"
@ -81,4 +81,4 @@ private:
#include "bulletContactCallbackData.I" #include "bulletContactCallbackData.I"
#endif // __BULLET_CONTACT_CALLBACK_DATA_H__ #endif // BULLETCONTACTCALLBACKDATA_H

View File

@ -11,8 +11,8 @@
* @date 2010-04-10 * @date 2010-04-10
*/ */
#ifndef __BULLET_CONTACT_CALLBACKS_H__ #ifndef BULLETCONTACTCALLBACKS_H
#define __BULLET_CONTACT_CALLBACKS_H__ #define BULLETCONTACTCALLBACKS_H
#include "pandabase.h" #include "pandabase.h"
@ -147,4 +147,4 @@ contact_destroyed_callback(void *userPersistentData) {
return false; return false;
} }
#endif // __BULLET_CONTACT_CALLBACKS_H__ #endif // BULLETCONTACTCALLBACKS_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-08 * @date 2010-03-08
*/ */
#ifndef __BULLET_CONTACT_RESULT_H__ #ifndef BULLETCONTACTRESULT_H
#define __BULLET_CONTACT_RESULT_H__ #define BULLETCONTACTRESULT_H
#include "pandabase.h" #include "pandabase.h"
@ -110,4 +110,4 @@ private:
#include "bulletContactResult.I" #include "bulletContactResult.I"
#endif // __BULLET_CONTACT_RESULT_H__ #endif // BULLETCONTACTRESULT_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-26 * @date 2010-01-26
*/ */
#ifndef __BULLET_CONVEX_HULL_SHAPE_H__ #ifndef BULLETCONVEXHULLSHAPE_H
#define __BULLET_CONVEX_HULL_SHAPE_H__ #define BULLETCONVEXHULLSHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -75,4 +75,4 @@ private:
#include "bulletConvexHullShape.I" #include "bulletConvexHullShape.I"
#endif // __BULLET_CONVEX_HULL_SHAPE_H__ #endif // BULLETCONVEXHULLSHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-30 * @date 2010-01-30
*/ */
#ifndef __BULLET_CONVEX_POINT_CLOUD_SHAPE_H__ #ifndef BULLETCONVEXPOINTCLOUDSHAPE_H
#define __BULLET_CONVEX_POINT_CLOUD_SHAPE_H__ #define BULLETCONVEXPOINTCLOUDSHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -78,4 +78,4 @@ private:
#include "bulletConvexPointCloudShape.I" #include "bulletConvexPointCloudShape.I"
#endif // __BULLET_CONVEX_POINT_CLOUD_SHAPE_H__ #endif // BULLETCONVEXPOINTCLOUDSHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-02-17 * @date 2010-02-17
*/ */
#ifndef __BULLET_CYLINDER_SHAPE_H__ #ifndef BULLETCYLINDERSHAPE_H
#define __BULLET_CYLINDER_SHAPE_H__ #define BULLETCYLINDERSHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -81,4 +81,4 @@ private:
#include "bulletCylinderShape.I" #include "bulletCylinderShape.I"
#endif // __BULLET_CYLINDER_SHAPE_H__ #endif // BULLETCYLINDERSHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-23 * @date 2010-01-23
*/ */
#ifndef __BULLET_DEBUG_NODE_H__ #ifndef BULLETDEBUGNODE_H
#define __BULLET_DEBUG_NODE_H__ #define BULLETDEBUGNODE_H
#include "pandabase.h" #include "pandabase.h"
@ -151,4 +151,4 @@ private:
#include "bulletDebugNode.I" #include "bulletDebugNode.I"
#endif // __BULLET_DEBUG_NODE_H__ #endif // BULLETDEBUGNODE_H

View File

@ -11,8 +11,8 @@
* @date 2012-11-26 * @date 2012-11-26
*/ */
#ifndef __BULLET_FILTER_CALLBACK_DATA_H__ #ifndef BULLETFILTERCALLBACKDATA_H
#define __BULLET_FILTER_CALLBACK_DATA_H__ #define BULLETFILTERCALLBACKDATA_H
#include "pandabase.h" #include "pandabase.h"
#include "callbackData.h" #include "callbackData.h"
@ -68,4 +68,4 @@ private:
#include "bulletFilterCallbackData.I" #include "bulletFilterCallbackData.I"
#endif // __BULLET_FILTER_CALLBACK_DATA_H__ #endif // BULLETFILTERCALLBACKDATA_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-02 * @date 2010-03-02
*/ */
#ifndef __BULLET_GENERIC_CONSTRAINT_H__ #ifndef BULLETGENERICCONSTRAINT_H
#define __BULLET_GENERIC_CONSTRAINT_H__ #define BULLETGENERICCONSTRAINT_H
#include "pandabase.h" #include "pandabase.h"
@ -95,4 +95,4 @@ private:
#include "bulletGenericConstraint.I" #include "bulletGenericConstraint.I"
#endif // __BULLET_GENERIC_CONSTRAINT_H__ #endif // BULLETGENERICCONSTRAINT_H

View File

@ -11,8 +11,8 @@
* @date 2010-11-19 * @date 2010-11-19
*/ */
#ifndef __BULLET_GHOST_NODE_H__ #ifndef BULLETGHOSTNODE_H
#define __BULLET_GHOST_NODE_H__ #define BULLETGHOSTNODE_H
#include "pandabase.h" #include "pandabase.h"
@ -37,7 +37,7 @@ PUBLISHED:
int get_num_overlapping_nodes() const; int get_num_overlapping_nodes() const;
PandaNode *get_overlapping_node(int idx) const; PandaNode *get_overlapping_node(int idx) const;
MAKE_SEQ(get_overlapping_nodes, get_num_overlapping_nodes, get_overlapping_node); MAKE_SEQ(get_overlapping_nodes, get_num_overlapping_nodes, get_overlapping_node);
MAKE_SEQ_PROPERTY(overlapping_nodes, get_num_overlapping_nodes, get_overlapping_node); MAKE_SEQ_PROPERTY(overlapping_nodes, get_num_overlapping_nodes, get_overlapping_node);
public: public:
@ -82,4 +82,4 @@ private:
#include "bulletGhostNode.I" #include "bulletGhostNode.I"
#endif // __BULLET_GHOST_NODE_H__ #endif // BULLETGHOSTNODE_H

View File

@ -11,8 +11,8 @@
* @date 2010-02-05 * @date 2010-02-05
*/ */
#ifndef __BULLET_HEIGHTFIELD_SHAPE_H__ #ifndef BULLETHEIGHTFIELDSHAPE_H
#define __BULLET_HEIGHTFIELD_SHAPE_H__ #define BULLETHEIGHTFIELDSHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -81,4 +81,4 @@ private:
#include "bulletHeightfieldShape.I" #include "bulletHeightfieldShape.I"
#endif // __BULLET_HEIGHTFIELD_SHAPE_H__ #endif // BULLETHEIGHTFIELDSHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2011-01-19 * @date 2011-01-19
*/ */
#ifndef __BULLET_HELPER_H__ #ifndef BULLETHELPER_H
#define __BULLET_HELPER_H__ #define BULLETHELPER_H
#include "pandabase.h" #include "pandabase.h"
@ -70,4 +70,4 @@ private:
#include "bulletHelper.I" #include "bulletHelper.I"
#endif // __BULLET_HELPER_H__ #endif // BULLETHELPER_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-01 * @date 2010-03-01
*/ */
#ifndef __BULLET_HINGE_CONSTRAINT_H__ #ifndef BULLETHINGECONSTRAINT_H
#define __BULLET_HINGE_CONSTRAINT_H__ #define BULLETHINGECONSTRAINT_H
#include "pandabase.h" #include "pandabase.h"
@ -108,4 +108,4 @@ private:
#include "bulletHingeConstraint.I" #include "bulletHingeConstraint.I"
#endif // __BULLET_HINGE_CONSTRAINT_H__ #endif // BULLETHINGECONSTRAINT_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-07 * @date 2010-03-07
*/ */
#ifndef __BULLET_MANIFOLD_POINT_H__ #ifndef BULLETMANIFOLDPOINT_H
#define __BULLET_MANIFOLD_POINT_H__ #define BULLETMANIFOLDPOINT_H
#include "pandabase.h" #include "pandabase.h"
@ -104,4 +104,4 @@ private:
#include "bulletManifoldPoint.I" #include "bulletManifoldPoint.I"
#endif // __BULLET_MANIFOLD_POINT_H__ #endif // BULLETMANIFOLDPOINT_H

View File

@ -11,8 +11,8 @@
* @date 2013-08-15 * @date 2013-08-15
*/ */
#ifndef __BULLET_MINKOWSKI_SUM_SHAPE_H__ #ifndef BULLETMINKOWSKISUMSHAPE_H
#define __BULLET_MINKOWSKI_SUM_SHAPE_H__ #define BULLETMINKOWSKISUMSHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -94,4 +94,4 @@ private:
#include "bulletMinkowskiSumShape.I" #include "bulletMinkowskiSumShape.I"
#endif // __BULLET_MINKOWSKI_SUM_SHAPE_H__ #endif // BULLETMINKOWSKISUMSHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2012-01-04 * @date 2012-01-04
*/ */
#ifndef __BULLET_MULTI_SPHERE_SHAPE_H__ #ifndef BULLETMULTISPHERESHAPE_H
#define __BULLET_MULTI_SPHERE_SHAPE_H__ #define BULLETMULTISPHERESHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -81,4 +81,4 @@ private:
#include "bulletMultiSphereShape.I" #include "bulletMultiSphereShape.I"
#endif // __BULLET_MULTI_SPHERE_SHAPE_H__ #endif // BULLETMULTISPHERESHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-07 * @date 2010-03-07
*/ */
#ifndef __BULLET_PERSISTENT_MANIFOLD_H__ #ifndef BULLETPERSISTENTMANIFOLD_H
#define __BULLET_PERSISTENT_MANIFOLD_H__ #define BULLETPERSISTENTMANIFOLD_H
#include "pandabase.h" #include "pandabase.h"
@ -57,4 +57,4 @@ private:
#include "bulletPersistentManifold.I" #include "bulletPersistentManifold.I"
#endif // __BULLET_PERSISTENT_MANIFOLD_H__ #endif // BULLETPERSISTENTMANIFOLD_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-23 * @date 2010-01-23
*/ */
#ifndef __BULLET_PLANE_SHAPE_H__ #ifndef BULLETPLANESHAPE_H
#define __BULLET_PLANE_SHAPE_H__ #define BULLETPLANESHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -84,4 +84,4 @@ private:
#include "bulletPlaneShape.I" #include "bulletPlaneShape.I"
#endif // __BULLET_PLANE_SHAPE_H__ #endif // BULLETPLANESHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-11-19 * @date 2010-11-19
*/ */
#ifndef __BULLET_RIGID_BODY_NODE_H__ #ifndef BULLETRIGIDBODYNODE_H
#define __BULLET_RIGID_BODY_NODE_H__ #define BULLETRIGIDBODYNODE_H
#include "pandabase.h" #include "pandabase.h"
@ -182,4 +182,4 @@ private:
#include "bulletRigidBodyNode.I" #include "bulletRigidBodyNode.I"
#endif // __BULLET_RIGID_BODY_NODE_H__ #endif // BULLETRIGIDBODYNODE_H

View File

@ -11,8 +11,8 @@
* @date 2013-03-03 * @date 2013-03-03
*/ */
#ifndef __BULLET_ROTATIONAL_LIMIT_MOTOR_H__ #ifndef BULLETROTATIONALLIMITMOTOR_H
#define __BULLET_ROTATIONAL_LIMIT_MOTOR_H__ #define BULLETROTATIONALLIMITMOTOR_H
#include "pandabase.h" #include "pandabase.h"
@ -66,4 +66,4 @@ private:
#include "bulletRotationalLimitMotor.I" #include "bulletRotationalLimitMotor.I"
#endif // __BULLET_ROTATIONAL_LIMIT_MOTOR_H__ #endif // BULLETROTATIONALLIMITMOTOR_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-23 * @date 2010-01-23
*/ */
#ifndef __BULLET_SHAPE_H__ #ifndef BULLETSHAPE_H
#define __BULLET_SHAPE_H__ #define BULLETSHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -45,7 +45,7 @@ PUBLISHED:
PN_stdfloat get_margin() const; PN_stdfloat get_margin() const;
BoundingSphere get_shape_bounds() const; BoundingSphere get_shape_bounds() const;
MAKE_PROPERTY(polyhedral, is_polyhedral); MAKE_PROPERTY(polyhedral, is_polyhedral);
MAKE_PROPERTY(convex, is_convex); MAKE_PROPERTY(convex, is_convex);
MAKE_PROPERTY(convex_2d, is_convex_2d); MAKE_PROPERTY(convex_2d, is_convex_2d);
@ -86,4 +86,4 @@ private:
#include "bulletShape.I" #include "bulletShape.I"
#endif // __BULLET_SHAPE_H__ #endif // BULLETSHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-01 * @date 2010-03-01
*/ */
#ifndef __BULLET_SLIDER_CONSTRAINT_H__ #ifndef BULLETSLIDERCONSTRAINT_H
#define __BULLET_SLIDER_CONSTRAINT_H__ #define BULLETSLIDERCONSTRAINT_H
#include "pandabase.h" #include "pandabase.h"
@ -117,4 +117,4 @@ private:
#include "bulletSliderConstraint.I" #include "bulletSliderConstraint.I"
#endif // __BULLET_SLIDER_CONSTRAINT_H__ #endif // BULLETSLIDERCONSTRAINT_H

View File

@ -11,8 +11,8 @@
* @date 2010-04-12 * @date 2010-04-12
*/ */
#ifndef __BULLET_SOFT_BODY_CONFIG_H__ #ifndef BULLETSOFTBODYCONFIG_H
#define __BULLET_SOFT_BODY_CONFIG_H__ #define BULLETSOFTBODYCONFIG_H
#include "pandabase.h" #include "pandabase.h"
@ -138,4 +138,4 @@ private:
#include "bulletSoftBodyConfig.I" #include "bulletSoftBodyConfig.I"
#endif // __BULLET_SOFT_BODY_CONFIG_H__ #endif // BULLETSOFTBODYCONFIG_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-04 * @date 2010-03-04
*/ */
#ifndef __BULLET_SOFT_BODY_CONTROL_H__ #ifndef BULLETSOFTBODYCONTROL_H
#define __BULLET_SOFT_BODY_CONTROL_H__ #define BULLETSOFTBODYCONTROL_H
#include "pandabase.h" #include "pandabase.h"
@ -60,4 +60,4 @@ private:
#include "bulletSoftBodyControl.I" #include "bulletSoftBodyControl.I"
#endif // __BULLET_SOFT_BODY_CONTROL_H__ #endif // BULLETSOFTBODYCONTROL_H

View File

@ -11,8 +11,8 @@
* @date 2011-03-19 * @date 2011-03-19
*/ */
#ifndef __BULLET_SOFT_BODY_MATERIAL_H__ #ifndef BULLETSOFTBODYMATERIAL_H
#define __BULLET_SOFT_BODY_MATERIAL_H__ #define BULLETSOFTBODYMATERIAL_H
#include "pandabase.h" #include "pandabase.h"
@ -31,13 +31,13 @@ PUBLISHED:
PN_stdfloat get_linear_stiffness() const; PN_stdfloat get_linear_stiffness() const;
void set_linear_stiffness(PN_stdfloat value); void set_linear_stiffness(PN_stdfloat value);
PN_stdfloat get_angular_stiffness() const; PN_stdfloat get_angular_stiffness() const;
void set_angular_stiffness(PN_stdfloat value); void set_angular_stiffness(PN_stdfloat value);
PN_stdfloat get_volume_preservation() const; PN_stdfloat get_volume_preservation() const;
void set_volume_preservation(PN_stdfloat value); void set_volume_preservation(PN_stdfloat value);
MAKE_PROPERTY(linear_stiffness, get_linear_stiffness, set_linear_stiffness); MAKE_PROPERTY(linear_stiffness, get_linear_stiffness, set_linear_stiffness);
MAKE_PROPERTY(angular_stiffness, get_angular_stiffness, set_angular_stiffness); MAKE_PROPERTY(angular_stiffness, get_angular_stiffness, set_angular_stiffness);
MAKE_PROPERTY(volume_preservation, get_volume_preservation, set_volume_preservation); MAKE_PROPERTY(volume_preservation, get_volume_preservation, set_volume_preservation);
@ -53,4 +53,4 @@ private:
#include "bulletSoftBodyMaterial.I" #include "bulletSoftBodyMaterial.I"
#endif // __BULLET_SOFT_BODY_MATERIAL_H__ #endif // BULLETSOFTBODYMATERIAL_H

View File

@ -11,8 +11,8 @@
* @date 2010-12-27 * @date 2010-12-27
*/ */
#ifndef __BULLET_SOFT_BODY_NODE_H__ #ifndef BULLETSOFTBODYNODE_H
#define __BULLET_SOFT_BODY_NODE_H__ #define BULLETSOFTBODYNODE_H
#include "pandabase.h" #include "pandabase.h"
@ -267,4 +267,4 @@ private:
#include "bulletSoftBodyNode.I" #include "bulletSoftBodyNode.I"
#endif // __BULLET_SOFT_BODY_NODE_H__ #endif // BULLETSOFTBODYNODE_H

View File

@ -11,8 +11,8 @@
* @date 2010-05-06 * @date 2010-05-06
*/ */
#ifndef __BULLET_SOFT_BODY_SHAPE_H__ #ifndef BULLETSOFTBODYSHAPE_H
#define __BULLET_SOFT_BODY_SHAPE_H__ #define BULLETSOFTBODYSHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -64,4 +64,5 @@ private:
#include "bulletSoftBodyShape.I" #include "bulletSoftBodyShape.I"
#endif // __BULLET_SOFT_BODY_SHAPE_H__ #endif // BULLETSOFTBODYSHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-04 * @date 2010-03-04
*/ */
#ifndef __BULLET_SOFT_BODY_WORLD_INFO_H__ #ifndef BULLETSOFTBODYWORLDINFO_H
#define __BULLET_SOFT_BODY_WORLD_INFO_H__ #define BULLETSOFTBODYWORLDINFO_H
#include "pandabase.h" #include "pandabase.h"
@ -60,4 +60,4 @@ private:
#include "bulletSoftBodyWorldInfo.I" #include "bulletSoftBodyWorldInfo.I"
#endif // __BULLET_SOFT_BODY_WORLD_INFO_H__ #endif // BULLETSOFTBODYWORLDINFO_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-23 * @date 2010-01-23
*/ */
#ifndef __BULLET_SPHERE_SHAPE_H__ #ifndef BULLETSPHERESHAPE_H
#define __BULLET_SPHERE_SHAPE_H__ #define BULLETSPHERESHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -79,4 +79,4 @@ private:
#include "bulletSphereShape.I" #include "bulletSphereShape.I"
#endif // __BULLET_SPHERE_SHAPE_H__ #endif // BULLETSPHERESHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-03-01 * @date 2010-03-01
*/ */
#ifndef __BULLET_SPHERICAL_CONSTRAINT_H__ #ifndef BULLETSPHERICALCONSTRAINT_H
#define __BULLET_SPHERICAL_CONSTRAINT_H__ #define BULLETSPHERICALCONSTRAINT_H
#include "pandabase.h" #include "pandabase.h"
@ -79,4 +79,4 @@ private:
#include "bulletSphericalConstraint.I" #include "bulletSphericalConstraint.I"
#endif // __BULLET_SPHERICAL_CONSTRAINT_H__ #endif // BULLETSPHERICALCONSTRAINT_H

View File

@ -11,8 +11,8 @@
* @date 2012-11-26 * @date 2012-11-26
*/ */
#ifndef __BULLET_TICK_CALLBACK_DATA_H__ #ifndef BULLETTICKCALLBACKDATA_H
#define __BULLET_TICK_CALLBACK_DATA_H__ #define BULLETTICKCALLBACKDATA_H
#include "pandabase.h" #include "pandabase.h"
#include "callbackData.h" #include "callbackData.h"
@ -58,4 +58,4 @@ private:
#include "bulletTickCallbackData.I" #include "bulletTickCallbackData.I"
#endif // __BULLET_TICK_CALLBACK_DATA_H__ #endif // BULLETTICKCALLBACKDATA_H

View File

@ -11,8 +11,8 @@
* @date 2013-03-03 * @date 2013-03-03
*/ */
#ifndef __BULLET_TRANSLATIONAL_LIMIT_MOTOR_H__ #ifndef BULLETTRANSLATIONALLIMITMOTOR_H
#define __BULLET_TRANSLATIONAL_LIMIT_MOTOR_H__ #define BULLETTRANSLATIONALLIMITMOTOR_H
#include "pandabase.h" #include "pandabase.h"
@ -62,4 +62,4 @@ private:
#include "bulletTranslationalLimitMotor.I" #include "bulletTranslationalLimitMotor.I"
#endif // __BULLET_TRANSLATIONAL_LIMIT_MOTOR_H__ #endif // BULLETTRANSLATIONALLIMITMOTOR_H

View File

@ -11,8 +11,8 @@
* @date 2010-02-09 * @date 2010-02-09
*/ */
#ifndef __BULLET_TRIANGLE_MESH_H__ #ifndef BULLETTRIANGLEMESH_H
#define __BULLET_TRIANGLE_MESH_H__ #define BULLETTRIANGLEMESH_H
#include "pandabase.h" #include "pandabase.h"
@ -116,4 +116,4 @@ INLINE std::ostream &operator << (std::ostream &out, const BulletTriangleMesh &o
#include "bulletTriangleMesh.I" #include "bulletTriangleMesh.I"
#endif // __BULLET_TRIANGLE_MESH_H__ #endif // BULLETTRIANGLEMESH_H

View File

@ -11,8 +11,8 @@
* @date 2010-02-09 * @date 2010-02-09
*/ */
#ifndef __BULLET_TRIANGLE_MESH_SHAPE_H__ #ifndef BULLET_TRIANGLE_MESH_SHAPE_H
#define __BULLET_TRIANGLE_MESH_SHAPE_H__ #define BULLET_TRIANGLE_MESH_SHAPE_H
#include "pandabase.h" #include "pandabase.h"
@ -93,4 +93,4 @@ private:
#include "bulletTriangleMeshShape.I" #include "bulletTriangleMeshShape.I"
#endif // __BULLET_TRIANGLE_MESH_SHAPE_H__ #endif // BULLET_TRIANGLE_MESH_SHAPE_H

View File

@ -11,8 +11,8 @@
* @date 2010-02-16 * @date 2010-02-16
*/ */
#ifndef __BULLET_VEHICLE_H__ #ifndef BULLETVEHICLE_H
#define __BULLET_VEHICLE_H__ #define BULLETVEHICLE_H
#include "pandabase.h" #include "pandabase.h"
@ -137,4 +137,4 @@ private:
#include "bulletVehicle.I" #include "bulletVehicle.I"
#endif // __BULLET_VEHICLE_H__ #endif // BULLETVEHICLE_H

View File

@ -11,8 +11,8 @@
* @date 2010-02-17 * @date 2010-02-17
*/ */
#ifndef __BULLET_WHEEL_H__ #ifndef BULLETWHEEL_H
#define __BULLET_WHEEL_H__ #define BULLETWHEEL_H
#include "pandabase.h" #include "pandabase.h"
@ -151,4 +151,4 @@ private:
#include "bulletWheel.I" #include "bulletWheel.I"
#endif // __BULLET_WHEEL_H__ #endif // BULLETWHEEL_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-23 * @date 2010-01-23
*/ */
#ifndef __BULLET_WORLD_H__ #ifndef BULLETWORLD_H
#define __BULLET_WORLD_H__ #define BULLETWORLD_H
#include "pandabase.h" #include "pandabase.h"
@ -318,4 +318,4 @@ operator >> (std::istream &in, BulletWorld::FilterAlgorithm &algorithm);
#include "bulletWorld.I" #include "bulletWorld.I"
#endif // __BULLET_WORLD_H__ #endif // BULLETWORLD_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-23 * @date 2010-01-23
*/ */
#ifndef __BULLET_INCLUDES_H__ #ifndef BULLET_INCLUDES_H
#define __BULLET_INCLUDES_H__ #define BULLET_INCLUDES_H
#include "pandabase.h" #include "pandabase.h"
@ -35,4 +35,4 @@
#include <BulletSoftBody/btSoftRigidDynamicsWorld.h> #include <BulletSoftBody/btSoftRigidDynamicsWorld.h>
#endif #endif
#endif // __BULLET_INCLUDES_H__ #endif // BULLET_INCLUDES_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-23 * @date 2010-01-23
*/ */
#ifndef __BULLET_UTILS_H__ #ifndef BULLET_UTILS_H
#define __BULLET_UTILS_H__ #define BULLET_UTILS_H
#include "pandabase.h" #include "pandabase.h"
@ -62,4 +62,4 @@ END_PUBLISH
#include "bullet_utils.I" #include "bullet_utils.I"
#endif // __BULLET_UTILS_H__ #endif // BULLET_UTILS_H

View File

@ -11,8 +11,8 @@
* @date 2010-01-23 * @date 2010-01-23
*/ */
#ifndef __CONFIG_BULLET_H__ #ifndef CONFIG_BULLET_H
#define __CONFIG_BULLET_H__ #define CONFIG_BULLET_H
#include "pandabase.h" #include "pandabase.h"
#include "notifyCategoryProxy.h" #include "notifyCategoryProxy.h"
@ -42,4 +42,4 @@ extern ConfigVariableDouble bullet_additional_damping_angular_threshold;
extern EXPCL_PANDABULLET void init_libbullet(); extern EXPCL_PANDABULLET void init_libbullet();
#endif // __CONFIG_BULLET_H__ #endif // CONFIG_BULLET_H

View File

@ -1,6 +1,5 @@
#ifndef __BUFFEREDREADER_GM_H__ #ifndef BUFFERED_DATAGRAMREADER_H
#define __BUFFEREDREADER_GM_H__ #define BUFFERED_DATAGRAMREADER_H
#include "ringbuffer.h" #include "ringbuffer.h"
#include "datagram.h" #include "datagram.h"
@ -91,4 +90,4 @@ public:
#include "buffered_datagramreader.I" #include "buffered_datagramreader.I"
#endif //__BUFFEREDREADER_GM_H__ #endif // BUFFERED_DATAGRAMREADER_H

View File

@ -1,5 +1,5 @@
#ifndef __BufferedWriter_H__ #ifndef BufferedWriter_H
#define __BufferedWriter_H__ #define BufferedWriter_H
#include "ringbuffer.h" #include "ringbuffer.h"
/** /**
@ -126,4 +126,4 @@ inline int Buffered_DatagramWriter::AddData(const void * data, size_t len)
return answer; return answer;
} }
#endif //__BufferedWriter_H__ #endif //BufferedWriter_H

View File

@ -1,5 +1,5 @@
#ifndef __MEMBUFFER_GM_H__ #ifndef MEMBUFFER_H
#define __MEMBUFFER_GM_H__ #define MEMBUFFER_H
class EXPCL_PANDA_NATIVENET MemBuffer { class EXPCL_PANDA_NATIVENET MemBuffer {
public: public:
@ -25,4 +25,4 @@ protected:
#include "membuffer.I" #include "membuffer.I"
#endif //__MEMBUFFER_GM_H__ #endif // MEMBUFFER_H

View File

@ -1,5 +1,5 @@
#ifndef __RINGBUFFER_GM_H__ #ifndef RINGBUFFER_H
#define __RINGBUFFER_GM_H__ #define RINGBUFFER_H
#include "membuffer.h" #include "membuffer.h"
@ -30,4 +30,4 @@ public:
#include "ringbuffer.I" #include "ringbuffer.I"
#endif //__RINGBUFFER_GM_H__ #endif // RINGBUFFER_H

View File

@ -1,5 +1,5 @@
#ifndef __SOCKET_BASE_H__ #ifndef SOCKET_BASE_H
#define __SOCKET_BASE_H__ #define SOCKET_BASE_H
// Quick way to get all the network code defined // Quick way to get all the network code defined
#include "pandabase.h" #include "pandabase.h"
@ -13,4 +13,4 @@
#include "socket_fdset.h" #include "socket_fdset.h"
#include "socket_selector.h" #include "socket_selector.h"
#endif //__SOCKET_BASE_H__ #endif //SOCKET_BASE_H

View File

@ -1,5 +1,5 @@
#ifndef __SOCKET_FDSET_H__ #ifndef SOCKET_FDSET_H
#define __SOCKET_FDSET_H__ #define SOCKET_FDSET_H
/* /*
* rhh This class needs to be broken into 2 classes: the gathering class and * rhh This class needs to be broken into 2 classes: the gathering class and
@ -186,4 +186,4 @@ inline int Socket_fdset::WaitForError(bool zeroFds, uint32_t sleep_time)
} }
#endif //__SOCKET_FDSET_H__ #endif //SOCKET_FDSET_H

View File

@ -1,5 +1,5 @@
#ifndef __SOCKET_IP_H__ #ifndef SOCKET_IP_H
#define __SOCKET_IP_H__ #define SOCKET_IP_H
#include "pandabase.h" #include "pandabase.h"
#include "socket_portable.h" #include "socket_portable.h"
@ -258,4 +258,4 @@ GetPeerName(void) const {
return Socket_Address(name); return Socket_Address(name);
} }
#endif //__SOCKET_IP_H__ #endif //SOCKET_IP_H

View File

@ -1,5 +1,5 @@
#ifndef __SOCKET_PORTABLE_H__ #ifndef SOCKET_PORTABLE_H
#define __SOCKET_PORTABLE_H__ #define SOCKET_PORTABLE_H
// Lots of stuff to make network socket-based io transparent across multiple // Lots of stuff to make network socket-based io transparent across multiple
// platforms // platforms
@ -283,4 +283,4 @@ No Host Type defined !!
#error Fatal #error Fatal
#endif #endif
#endif //__SOCKET_PORTABLE_H__ #endif //SOCKET_PORTABLE_H

View File

@ -1,5 +1,5 @@
#ifndef __SOCKET_SELECTOR_H__ #ifndef SOCKET_SELECTOR_H
#define __SOCKET_SELECTOR_H__ #define SOCKET_SELECTOR_H
// This is a structure on purpose. only used as a helper class to save on // This is a structure on purpose. only used as a helper class to save on
// typing // typing
@ -76,4 +76,4 @@ inline int Socket_Selector::WaitFor_Write_Error(const Socket_fdset & fd, const T
return WaitFor(timeout); return WaitFor(timeout);
} }
#endif //__SOCKET_SELECTOR_H__ #endif //SOCKET_SELECTOR_H

View File

@ -1,5 +1,5 @@
#ifndef __SOCKET_TCP_H__ #ifndef SOCKET_TCP_H
#define __SOCKET_TCP_H__ #define SOCKET_TCP_H
#include "pandabase.h" #include "pandabase.h"
#include "socket_ip.h" #include "socket_ip.h"
@ -222,4 +222,4 @@ SendData(const vector_uchar &data) {
return SendData((char *)data.data(), data.size()); return SendData((char *)data.data(), data.size());
} }
#endif //__SOCKET_TCP_H__ #endif //SOCKET_TCP_H

View File

@ -1,5 +1,5 @@
#ifndef __SOCKET_TCP_LISTEN_H__ #ifndef SOCKET_TCP_LISTEN_H
#define __SOCKET_TCP_LISTEN_H__ #define SOCKET_TCP_LISTEN_H
#include "pandabase.h" #include "pandabase.h"
#include "socket_ip.h" #include "socket_ip.h"
@ -114,4 +114,4 @@ GetIncomingConnection(Socket_TCP &newsession, Socket_Address &address) {
return true; return true;
} }
#endif //__SOCKET_TCP_LISTEN_H__ #endif //SOCKET_TCP_LISTEN_H

View File

@ -11,8 +11,8 @@
* @date 2007-03-01 * @date 2007-03-01
*/ */
#ifndef __SOCKET_UDP_H__ #ifndef SOCKET_UDP_H
#define __SOCKET_UDP_H__ #define SOCKET_UDP_H
#include "socket_udp_incoming.h" #include "socket_udp_incoming.h"
#include "vector_uchar.h" #include "vector_uchar.h"
@ -117,4 +117,4 @@ SendTo(const vector_uchar &data, const Socket_Address &address) {
return SendTo((char*) data.data(), data.size(), address); return SendTo((char*) data.data(), data.size(), address);
} }
#endif //__SOCKET_UDP_H__ #endif //SOCKET_UDP_H

View File

@ -1,5 +1,5 @@
#ifndef __SOCKET_UDP_INCOMING_H__ #ifndef SOCKET_UDP_INCOMING_H
#define __SOCKET_UDP_INCOMING_H__ #define SOCKET_UDP_INCOMING_H
#include "pandabase.h" #include "pandabase.h"
#include "socket_ip.h" #include "socket_ip.h"
@ -186,4 +186,4 @@ SendTo(const char *data, int len, const Socket_Address &address) {
return (DO_SOCKET_WRITE_TO(_socket, data, len, &address.GetAddressInfo()) == len); return (DO_SOCKET_WRITE_TO(_socket, data, len, &address.GetAddressInfo()) == len);
} }
#endif //__SOCKET_UDP_INCOMING_H__ #endif //SOCKET_UDP_INCOMING_H

View File

@ -1,5 +1,5 @@
#ifndef __TIME_BASE_H__ #ifndef TIME_BASE_H
#define __TIME_BASE_H__ #define TIME_BASE_H
/* /*
* Functions To support General Time Managment. And to allow for cross * Functions To support General Time Managment. And to allow for cross
* platform use. Today Really Two Base classes and one convience class * platform use. Today Really Two Base classes and one convience class
@ -85,4 +85,4 @@ inline int gettimeofday(struct timeval *tv, void * trash)
#include "time_general.h" #include "time_general.h"
#include "time_out.h" #include "time_out.h"
#endif //__TIME_BASE_H__ #endif //TIME_BASE_H

View File

@ -1,5 +1,5 @@
#ifndef __TIME_OUT_H__ #ifndef TIME_OUT_H
#define __TIME_OUT_H__ #define TIME_OUT_H
// think of this class as a time based alarm.. would be nice to have a // think of this class as a time based alarm.. would be nice to have a
// template implementation of this class .. could avoud some storage and some // template implementation of this class .. could avoud some storage and some
@ -125,4 +125,4 @@ inline Time_Span Time_Out::Remaining() const
return Remaining(Time_Clock::GetCurrentTime()); return Remaining(Time_Clock::GetCurrentTime());
} }
#endif //__TIME_OUT_H__ #endif //TIME_OUT_H

View File

@ -1,5 +1,5 @@
#ifndef __TIME_SPAN_H__ #ifndef TIME_SPAN_H
#define __TIME_SPAN_H__ #define TIME_SPAN_H
/** /**
* *
@ -373,4 +373,4 @@ Format(char *pFormat) const {
return std::string(szBuffer); return std::string(szBuffer);
} }
#endif //__TIME_SPAN_H__ #endif //TIME_SPAN_H