- PSPプログラミング - 32ビットカラーで描画しよう!その2 [ 点を打つ ]
, skyblue); num_display(108,yy ,step); // ドットの移動間隔step の値を表示する num_display( 78,yy+16,x); // ドットの 座標x の値を表示する num_display(102,yy+16,y); // ドットの 座標y の値を表示する pgscreenflipv(); readpad(); switch(new_pad) { case ctrl_rtrigger: // rトリガー押し return; // リターン break; case psp_ctrl_circle: // ○ボタン押し(ドットの移動間隔を変更) switch(step) { case 8: step=16; break; case 16: step=32; break; case 32: step=64; break; case 64: step=1; break; case 1: step=2; break; case 2: step=4; break; case 4: step=8; break; } break; case psp_ctrl_up: // ↑キー押し y -= step; // y座標をマイナスする if(y<0) // y座標 が 上。未満なら y=0; // y座標を 上端 にする break; case psp_ctrl_down: // ↓キー押し y += step; // y座標をプラスする if(y>(screen_height-1)) // y座標 が 下端を越えるなら y=screen_height-1; // y座標を 下端 にする break; case psp_ctrl_left: // ←キー押し x -= step; // x座標をマイナスする if(x<0) // x座標 が 左端を越えるなら x=0; // x座標を 左端 にする break; case psp_ctrl_right: // →キー押し x += step; // x座標をプラスする if(x>(screen_width-1)) // x座標 が 右端 を越えるなら x=screen_width-1; // x座標を 右端 にする break; case psp_ctrl_cross: // ×ボタン押し(画面塗りつぶし色チェンジ) switch(fill_color) { case darkblue: fill_color=brown; break; case brown: fill_color=black; break; case black: fill_color=purple; break; case purple: fill_color=darkgreen; break; case darkgreen: fill_color=darkblue; break; } break; default : break; } } } /***************************************************************************** * main *****************************************************************************/ int main(int argc,char **argv) { setupcallbacks(); /* gu初期化 */ sceguinit(); scegustart(gu_direct, list); scegudrawbuffer(gu_psm_8888, scrbuf0, buf_width); scegudispbuffer(scr_width, scr_height, scrbuf0, buf_width); scegufinish(); scedisplaywaitvblankstart(); scegudisplay(gu_true); scectrlsetsamplingcycle(0);// パッドの初期化 pgscreenframe(2,0); // 表示画面と描画画面を独立させる move_dot(); // ドットが移動するサブルーチンでっす
- US newspaper puts up a paywall for its obituaries
After paywalls for commenters comes - wait for it - paywalls for obituaries. This week LancasterOnline, the website of the Intelligencer Journal/Lancaster New Era newspaper in Pennsylvania, started charging readers to access its obituaries section. Users can read seven obits for free, but if they have eight friends who die in a month, they will have to pay an additional monthly fee of $1.99 (£1.30) to carry on reading. The annual fee is $19.99 (£13).It is the first paper to adopt a paid content system pioneered by Journalism Online. The details of the system can be found here.Source: Poynter OnlineUS press and publishingPaywallsCharging for contentNewspapersUnited StatesRoy Greensladeguardian.co.uk © Guardian News & Media Limited 2010 | Use of this content is subject to our Terms & Conditions | More Feeds
コメンターのpaywalls後だ - それを待つ - paywallsの死亡記事です
- マイクロソフト SideWinder X8 Mouse「3HA-00007」
マイクロソフトsidewinder x8 mouse「3ha-00007」 マイクロソフトsidewinder x8 mouse「3ha-00007」 sidewinder x8 mouse「3ha-00007」microsoft ゲームに最適かつ最先端の機能を搭載した 2.4ghz ワイヤレス ゲーム マウス センサー部に次世代 bluetrack テクノロジを採用し,スキャン速度 : 13,000 fps、最大加速度 : 75g、最大速度 : 120ips と過去に類のないハイ パフォーマンスを実現したワイヤレス ゲーム マウスです
|