Advertisement
Guest User

Untitled

a guest
Feb 8th, 2012
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.82 KB | None | 0 0
  1. //In Lightning Sprite.cpp//
  2. void WSL::Components::Lightning_Sprite::Draw( sf::RenderWindow *window )
  3. {
  4.     Animate();
  5.     //The next line is line 159.//
  6.     window->Draw( t );
  7. }
  8. //The error.//
  9. 1>Lightning Sprite.cpp
  10. 1>c:\users\aperson\desktop\my folders\projects\computer programming\multi langual\balloon tdf source\white-storm lightning\white-storm lightning\lightning sprite.cpp(159) : error C2027: use of undefined type 'sf::RenderWindow'
  11. 1>        c:\program files (x86)\microsoft visual studio 9.0\vc\include\sfml\graphics\image.hpp(40) : see declaration of 'sf::RenderWindow'
  12. 1>c:\users\aperson\desktop\my folders\projects\computer programming\multi langual\balloon tdf source\white-storm lightning\white-storm lightning\lightning sprite.cpp(159) : error C2227: left of '->Draw' must point to class/struct/union/generic type
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement