annotate Renderer/Engine/viewerSDL.h @ 603:42c94f85c779

long -> memaddr (64 or 32)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 07 Nov 2009 14:13:29 +0900
parents 735f76483bb2
children 4f77768d7a7f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
1 #ifndef INCLUDED_VIEWER_SDL
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
2 #define INCLUDED_VIEWER_SDL
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
3
507
735f76483bb2 Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 283
diff changeset
4 #include "viewer.h"
283
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
5
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
6 class ViewerSDL : public Viewer {
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
7 public:
507
735f76483bb2 Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 283
diff changeset
8 ViewerSDL(TaskManager* manager, int bpp, int width, int height, int spenum)
735f76483bb2 Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 283
diff changeset
9 :Viewer(bpp, width, height, spenum) {}
283
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
10
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
11 SDL_Surface *screen;
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
12 SDL_Surface *bitmap;
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
13
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
14 /* override function */
507
735f76483bb2 Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 283
diff changeset
15 void video_init(TaskManager *manager);
283
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
16 void clean_pixels();
507
735f76483bb2 Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 283
diff changeset
17 void run_loop(HTaskPtr task_next);
735f76483bb2 Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 283
diff changeset
18 void run_finish();
283
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
19 };
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
20
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
21 #endif