- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
template <typename T>
class Animate : public internal::interval_action
{
public:        
	Animate(render::Sprite* target, bool restore_frame, bool repeat, T* animation)
        : m_target(target)
        , m_animation(animation)
        , m_restore(restore_frame)
        , m_time(0.0f)
        , m_current_frame(0)
        , m_done(false)
        , m_frames_count(animation->frames_count())
        , interval_action(animation->delay * m_frames_count)    
    {
	...
    }
};
 Follow us!
 Follow us!
А вот студию, похоже, так до сих пор и не научили. :(
- будь точнее, формулируя желания...
(примерная цитата из фильма)
детектор граммарнаци детектед!
rat4@myhost ~ $ gcc -Wall -Wextra test.cxx
rat4@myhost ~ $
Что я делаю не так?