1 /************************************************************************* 2 * * 3 * Tokamak Physics Engine, Copyright (C) 2002-2007 David Lam. * 4 * All rights reserved. Email: david@tokamakphysics.com * 5 * Web: www.tokamakphysics.com * 6 * * 7 * This library is distributed in the hope that it will be useful, * 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files * 10 * LICENSE.TXT for more details. * 11 * * 12 *************************************************************************/ 13 14 #ifndef NE_MESSAGE_H 15 #define NE_MESSAGE_H 16 17 #define MSG_MEMORY_ALLOC_FAILED "Failed to allocate memory.\n" 18 #define MSG_RUN_OUT_GEOMETRY "Run out of Geometries. Increase 'geometriesCount'.\n" 19 #define MSG_RUN_OUT_SENSOR "Run out of Sensors. Increase 'sensorsCount'.\n" 20 #define MSG_RUN_OUT_RIDIGBODY "Run out of RigidBodies. Increase 'rigidBodiesCount'.\n" 21 #define MSG_RUN_OUT_RIDIGPARTICLE "Run out of RigidBodies. Increase 'rigidParticleCount'.\n" 22 #define MSG_RUN_OUT_ANIMATEDBODY "Run out of AnimatedBodies. Increase 'animatedBodiesCount'.\n" 23 24 #define MSG_CONTROLLER_FULL "Run out of Controllers. Increase 'constraintSetsCount'.\n" 25 #define MSG_CONSTRAINT_FULL "Run out of Constraints. Increase 'constraintsCount'.\n" 26 #define MSG_CONSTRAINT_HEADER_FULL "Run out of Constraint Sets. Increase 'constraintSetsCount'.\n" 27 #define MSG_CONSTRAINT_BUFFER_FULL "Run out of Constraint Buffer. Cannot solve all constraints. Increase constraintBufferSize.\n" 28 #define MSG_TOO_MANY_CONSTRAINT "Rigid Body contain too many constraints.\n" 29 #define MSG_STACK_BUFFER_FULL "Stacking Buffer full Error. Please contact techincal support\n" 30 31 #define MSG_TRYING_TO_FREE_INVALID_RB "Trying to Free invalid RigidBody.\n" 32 #define MSG_TRYING_TO_FREE_INVALID_RP "Trying to Free invalid RigidParticle.\n" 33 #define MSG_TRYING_TO_FREE_INVALID_CB "Trying to Free invalid AnimatedBody.\n" 34 35 #endif 36