Mercurial > hg > Game > Cerium
view Renderer/Engine/ViewerDevice.h @ 882:1cb89ec2e796 draft
SceneGraphRoot::set_move_task add.
author | tkaito |
---|---|
date | Mon, 12 Jul 2010 04:02:14 +0900 |
parents | c7afc21e448d |
children | b662e9dd26b0 |
line wrap: on
line source
#ifndef INCLUDED_VIEWER_DEV #define INCLUDED_VIEWER_DEV #include "TaskManager.h" #include "SDL.h" class ViewerDevice { public: ViewerDevice(); virtual ~ViewerDevice(); ViewerDevice(TaskManager *m) {}; /* override function */ virtual Uint32 *video_init(TaskManager *manager, int bpp, int width, int height) = 0; virtual void clean_pixels() = 0; virtual void clear_screen() = 0; virtual void free_device() = 0; }; #endif