Mercurial > hg > Game > Cerium
view Renderer/Engine/viewerSDL.h @ 541:1a31b8820a4d draft
Cerium Rendering Library
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 10:17:09 +0900 |
parents | 3bc98f6d31ff |
children | c7afc21e448d |
line wrap: on
line source
#ifndef INCLUDED_VIEWER_SDL #define INCLUDED_VIEWER_SDL #include "viewer.h" class ViewerSDL : public Viewer { public: ViewerSDL(TaskManager* manager, int bpp, int width, int height, int spenum) :Viewer(bpp, width, height, spenum) {} SDL_Surface *screen; SDL_Surface *bitmap; /* override function */ void video_init(TaskManager *manager); void clean_pixels(); void run_loop(HTaskPtr task_next); void run_finish(); }; #endif