]>
Dogcows Code - chaz/yoink/blob - src/client.hh
2 /*] Copyright (c) 2009-2011, Charles McGarvey [*****************************
3 **] All rights reserved.
5 * Distributable under the terms and conditions of the 2-clause BSD license;
6 * see the file COPYING for a complete text of the license.
8 *****************************************************************************/
16 #include <boost/shared_ptr.hpp>
18 #include <moof/application.hh>
19 #include <moof/dispatcher.hh>
20 #include <moof/math.hh>
21 #include <moof/timer.hh>
28 * This is where all the fun begins.
31 class Main
: public moof::application
35 explicit Main(moof::settings
& settings
);
37 void update(moof::scalar t
, moof::scalar dt
);
38 void draw(moof::scalar alpha
) const;
39 void handle_event(const moof::event
& event
);
44 * Set OpenGL to a state we can know and depend on.
46 static void setup_opengl();
48 moof::dispatcher::handle video_reloaded_
;
49 moof::timer hotload_timer_
;
This page took 0.03569 seconds and 5 git commands to generate.