Mercurial > hg > Game > Cerium
comparison TaskManager/Test/test_render/main.cpp @ 180:e3b7776b1420 draft
いろいろ fix 。詳しくは TaskManager/Changelog、test_render/Changelog を
author | gongo@localhost.localdomain |
---|---|
date | Mon, 22 Dec 2008 16:09:57 +0900 |
parents | 6e62f8cfbfe3 |
children | 1fd0107ebb25 |
comparison
equal
deleted
inserted
replaced
179:6e62f8cfbfe3 | 180:e3b7776b1420 |
---|---|
11 | 11 |
12 Viewer *screen; | 12 Viewer *screen; |
13 | 13 |
14 static int sg_number = 0; | 14 static int sg_number = 0; |
15 | 15 |
16 static char *help_str = "Usage: ./test_nogl [OPTION]\n\ | 16 static const char *help_str = "Usage: ./test_nogl [OPTION]\n\ |
17 -cpu Number of SPE (default 1)\n\ | 17 -cpu Number of SPE (default 1)\n\ |
18 -width, -height window size (default 640x480)\n\ | 18 -width, -height window size (default 640x480)\n\ |
19 -sg Draw SceneGraph\n\ | 19 -sg Draw SceneGraph\n\ |
20 0: Joystick の 丸ボタン(Keyboard だとx) を押すと、キューブが二つに分かれる\n\ | 20 0: Joystick の 丸ボタン(Keyboard だとx) を押すと、キューブが二つに分かれる\n\ |
21 1: 0 のキューブが大きい版\n\ | 21 1: 0 のキューブが大きい版\n\ |
29 { | 29 { |
30 int bpp = 32; | 30 int bpp = 32; |
31 int width = 640; | 31 int width = 640; |
32 int height = 480; | 32 int height = 480; |
33 int spenum = 1; | 33 int spenum = 1; |
34 char *xml = "xml_file/cube.xml"; | 34 const char *xml = "xml_file/cube.xml"; |
35 video_type vtype = VTYPE_SDL; | 35 video_type vtype = VTYPE_SDL; |
36 | 36 |
37 for(int i = 1; argv[i]; ++i) | 37 for(int i = 1; argv[i]; ++i) |
38 { | 38 { |
39 if (strcmp(argv[i], "-bpp") == 0) { | 39 if (strcmp(argv[i], "-bpp") == 0) { |