Message #11667
Sujet: Système d'animation d'irrlicht
| Type | Date | Auteur | Contenu |
|---|---|---|---|
| Création du message | 15-06-2015 16:34:54 | jonath313 |
Là j'ai bien essayé de passer IAnimatedMeshSceneNode* NePlayer au constructeur de AnimationManager. Ok je ne peux pas le passer par le template. j'ai alors fais :
Code c++ :Puis : Code c++ :Donc j'ai voulus passer le IAnimatedMeshSceneNode* à la classe RunningState. Sois j'ai mal lu sois j'ai mal compris mais çà ne marche pas : ||=== Build: Debug in Jeu (compiler: GNU GCC Compiler) == ...\\CPlayerAnimation.h|34|error: expected ')' before '*' token| ...\\CPlayerAnimation.h||In constructor 'AnimationManager::AnimationManager(irr::scene::IAnimatedMeshSceneNode*, int, int, bool)' C:\\Users\\Jonathan\\Jeu\\CPlayerAnimation.h|63|error: invalid use of incomplete type 'class RunningState'| ...\\CPlayerAnimation.h|34|error: forward declaration of 'class RunningState'| ...\\CPlayerAnimation.h|63|error: expected primary-expression before ')' token| ...\\CPlayerAnimation.h||In member function 'void AnimationManager::activate(int, bool)' ...\\CPlayerAnimation.h|78|warning: comparison between signed and unsigned integer expressions [-Wsign-compare]| ||=== Build failed: 4 error(s), 2 warning(s) (0 minute(s), 2 second(s)) == |
| Options | Liens officiels | Caractéristiques | Statistiques | Communauté |
|---|---|---|---|---|
|
Préférences cookies Corrections |
![]() ![]() ![]() ![]() |
Propulsé par Django xhtml 1.0 css 2.1 |
884 membres 1440 sujets 11337 messages |
Dernier membre inscrit: Saidov17 154 invités en ligne membre en ligne: - RSS Feed |