2005-03-01ãã1ã¶æéã®è¨äºä¸è¦§
ã²ã¼ã ã§ã¯ãã¿ã¹ã¯å®è¡ã«ä»ã®ã¿ã¹ã¯ã®æ å ±ãå¿ è¦ãªå ´åãå¤ã ãããä¾ãã°ããã¬ã¤ã¤ã¼ã追尾ããèªå°å¼¾ã®ã¿ã¹ã¯ã¯ãã¬ã¤ã¤ã¼ã®ä½ç½®æ å ±ãç¥ãå¿ è¦ãããããã ãããã§èªå°å¼¾ã¿ã¹ã¯ã«ãã¬ã¤ã¤ã¼ã¿ã¹ã¯ã¸ã®çãã¤ã³ã¿ãä¿æãããã®ã¯å±éºããã¬ã¤ã¤ã¼ã¿ã¹â¦
å¾ æã®ã¤ã³ãã¼ãã¨ã¯ã¹ãã¼ãæ©è½ã追å ãæ°ã¥ãã°Firefoxã®Extensionã§Adblockã¨åãããããä¸è©±ã«ãªã£ã¦ããããããç¡ãã§ã¯ããããªããç´ æ´ãããã http://amb.vis.ne.jp/mozilla/forum.php?lang=ja
ä»åãã¯ã¹ãã£ã®èªã¿è¾¼ã¿ã«ã¯SDL_imageã使ã£ã¦ããã対å¿ãã¦ãããã©ã¼ãããã®ç»åãªãã°IMG_Load()ä¸çºã§èªã¿è¾¼ããã¨ããåªããã®ãééè²ãαä»ãPNGã«ã対å¿ãã¨ããã§ãWEBä¸ã®SDL_Imageã§ãã¯ã¹ãã£ãèªã¿è¾¼ããµã³ãã«ã§ã¯ããããã³ã¼ããããâ¦
ããã«ã·ãã£ãã©ãã§ã¯ççºã®è¡¨ç¾ã«GL_POINTãå ç®åæãããã¼ãã£ã¯ã«ãç¨ãã¦ããã®ã ããã©ãæµç³ã«ããã ã¨å¤§éã«ççºãåºãã¨éããªãã®ã§ããã«ãã¼ãã¨ãã¯ã¹ãã£ã¢ãã¡ã¼ã·ã§ã³ã®ççºãä½ã£ã¦ã¿ããççºã¢ãã¡ã¼ã·ã§ã³ã®è¡¨ç¾ã«ã¯çºè²å¼¾ã¨ãããã¼â¦
http://blog.livedoor.jp/insidears/archives/17569289.html ãã©ãããã®å£°ã«ãã©ã¯ãã¹ãã¸ã£ã¤ã¢ã³ã¯å¾®å¦ãç¡çã«ä¼¼ãããã¨ãã¦ããæãããããã¡ããã¯ã»ã»ã»ã¨ããããã¢ããã±ãã®ã³å¤ªã¨ã¹ã夫ã¯æã£ãã»ã©éåæãªãã£ããããããã¸ã£ã¤ã¢ã³å½¹ã®äººâ¦
togeæ°(id:toge:20050329)ãæä½ããã«ã·ãã£ãã©ããLinuxã«portãã¦ãã ãã£ãããããæ±ãã½ã¼ã¹ãè¦ãããã®ã¯ã¡ãã£ã¨æ¥ãããã©ç´ ç´ã«æåããªã¼ãã³ã½ã¼ã¹ä¸æ³ãä»ã¾ã§IDEã¨ãããã¬ãæ°ã«å ¥ã£ã¦VC使ã£ã¦ããããã©ãVCã£ã¦ãã³ãã¬ã¼ãã®å¯¾å¿ããã¾â¦
ã°ã°ã£ã¦ã¿ãã¨ããè©å¤ã®è¯ãæ¬ã®ãããªã®ã§ãã²ã¼ã ããã°ã©ãã³ã°ã®ããã®3Dã°ã©ãã£ãã¯ã¹æ°å¦ãã注æãã¦ãã¾ã£ããå±ãã®ã楽ãã¿ãæ°å¦ã®åå¼·ãããªãã¦ä½å¹´ã¶ãã ããã
ã¿ã¹ã¯ããã¼ã¸ã£ã®å®è£ ã«ã¤ãã¦id:a_little_bit:20050323æ°ãNested Classã¨ãããã¯ããã¯ãç´¹ä»ããã¦ããããªãã»ã©ãããªãã¯ããã¯ãããã®ããåããã¨ããããã§ã¿ã¹ã¯ã·ã¹ãã ã¨æç»ç®¡çã«ã¤ãã¦èãã¦ã¿ãã ããããå®å ¨ã«ãã©ã·ã®è£ã ä»ã®ã¨ãâ¦
http://portal.nifty.com/koneta05/03/28/01/ ã¯ã¦ãªããã¯ãã¼ã¯ã®æ³¨ç®ã¨ã³ããªã¼ããã æ¬å½ã«1ä¸åæ··ãã¦ãã®ãåããã¨ã«ããåããæåããã
C++æ¨æºã©ã¤ãã©ãªã®std::numeric_limits<>::maxã使ããã¨ããã¨ããä½æ ãã³ã³ãã¤ã«ã¨ã©ã¼ãã maxã®å®ç¾©ã調ã¹ã¦ããã¨ãwindef.hå ã§ãããªãã¯ããå®ç¾©ããã¦ããã #define max(a,b) (((a) > (b)) ? (a) : (b)) ããã¤ãã»ã»ã»ããã¤ã®ããã§ããªããâ¦
amazon.co.jpã®ã®ããå¸ãè²°ã£ãã®ã§ã以åãã欲ããã£ãæ¸ç±ãè³¼å ¥ãããã¨ç»çã ãã£ã±ãããã¯ã²ã¼ã ããã°ã©ãã¼ã®å¿ èªæ¬Gem Game Programming Gems (GAME PROGRAMMING GEMS SERIES)ä½è : Mark Delouraåºç社/ã¡ã¼ã«ã¼: Charles River Mediaçºå£²æ¥: 20â¦
ã¡ã¿ã»ã³ã¢ãã«ã®ãã¼ãã¼ãæ¹è¯ä¸ããªãã ããã©å¦ãªåé¡ã«ã¶ã¤ãã£ããã©ããã¦ãã¢ãã«ã®ã·ã§ã¼ãã£ã³ã°ããããããç°å¸¸ã«ãã¤ã©ã¤ãããã¤ãã£ããæãããããæ³ç·ã®è¨ç®ã«ã¼ãã³ããã°ã£ã¦ããã®ãã¨æãè¦ç´ãã¦ã¿ããåé¡ãªãæ§åãæ質ãã©ã¤ãã£â¦
ãªãããµã¤ããç«ã¦ã¦ã¿ããä»ã®ã¨ãããã ã®ã¬ã©ã¯ã¿ç½®ãå ´ã
OpenGLã®ä»ã¾ã§æ¸ãæ£ãããã³ã¼ãããé©å½ã«namespaceã§å²ãã¤ã¤ã¯ã©ã¹åãã¦ã¿ããããããä½æ¥ã¯æ¥½ããããã§ããªããªãã¹ãæ±ç¨çã«ä½¿ããããªã¯ã©ã¹è¨è¨ãå¿ããããã¨ããããè¡çªæ¤ç¥ãã¯ã©ã¹åãã¦æ±ç¨çã«ä½¿ãã¾ãããããã«ãããã¨ããä¼ã¦ãè¡çªâ¦
// ã¡ã³ãé¢æ°ã®å®è£ é¨ boost::shared_ptr<CMudamuda> CMudamuda::DoMudamuda(int ora) { // ã¨ï¼è¡ã«åãã¦æ¸ããããã/* /C++ã§ã¯ãã¾ã使ããªããã©ããã®ããã«ã * ã³ã¡ã³ãåã®ã¢ã¹ã¿ãªã¹ã¯ã®ä½ç½®ããããã */ï¼£++ã®å ´åãä¸ã¤ã ãã©ããã¦ã許ããªãã®ãã»ã»ã»</cmudamuda>â¦
http://www.metrowerks.co.jp/information/2005/info0323.html ã¾ãä¸ã¤ããã¹ã¯ãããåãã®éçºç°å¢ãã亡ããªãã«ãªãã¾ããï¼Â´Ðâ PowerPlantã¯ç´ æ´ããããªãã¸ã§ã¯ãæåãã¬ã¼ã ã¯ã¼ã¯ã§ãããã»ã»ã»
æ¿å£å çãæ¼ãã®å¥½ããªãã£ã©ããã¾ãç¬ã«ããã®ã¯æ¢ãã¦ãã ããï¼Â´ã»Ïã»`ï¼
æµã®AIãæ¹è¯ããã¬ã¤ã¤ã¼ãå¸ä»¤é¨ãçãæã¡ããããã«ãã¨ãããããã¾ãåãã¦ãããã§ã¯ããã®ã§ããã§ï¼¦ï¼¡ããããããã¬ã¤ãã¦ã¿ãã¨ããã«é£ãããªã£ãããªãã¹ãæµã¨æ£é¢ããæã¡åããªããã¨ããå°å½¢ã«é ãã¦å¾ ã¡ä¼ããå¤ç¨ããã¨ãããããã½ã¼ã¹â¦
ããå¤æ°ã®åããå¤ãå¶éãããå ´åãããã int x; // xã«ããããªå¦ç // xã®å¤ã0 ã 255ã«å¶é if( x > 255 ) x = 255; if x < 0 ) x = 0;ãã¡ãã¡ä¸ã®ãããªã³ã¼ããæ¸ãã®ã¯ããã³ããã®ã§ããããªãã¯ããç¨æãã¦ããã¨å½¹ç«ã¤ #define RANGE_CHECK(â¦
[id:halo_w2:20050313]ã§æ©ãã SDLãVC7.1ã§ä½¿ãå ´åã®dllåé¡ãå ¬å¼ã§é å¸ããã¦ãSDLã®dllã¯VC7.1ã ã¨å¼·å¶çã«msvcrt71.dllãmsvcp71.dllã¨ãªã³ã¯ããã¦ãã¾ããããã°ã©ã ãé å¸ããå ´åã«ã¯ï¼MBè¿ãï¼ã¤ã®dllãä¸ç·ã«é å¸ããªããã°ãªããªãã /MTãªãã·â¦
http://slashdot.jp/article.pl?sid=05/03/21/0947253&topic=58 ãªããªãé¢ç½ãã static char* znn = "kinokoru";ã¿ãããªæååãstaticã§åãè¾¼ãã§ããã¦ããã¤ããªã¨ãã£ã¿ã§è¦ãã¨ï¼ä»¥ä¸ç¥ ã¨ã if( (znn[1] % 5) != 0 ) throw std::runtime_error("æ®â¦
ãã£ãã㨠ã²ã¼ã ä¸ã®ãã¼ãºãã§ããããã«ãªã£ã ã²ã¼ã ã¦ã£ã³ãã¦ãè£ã«åãããæå°åããéã«èªåçã«ãã¼ãºç¶æ ã«ãªãããã«ãã ã¿ã¤ãã«ç»é¢ã®CONTINUEã使ããããã«ï¼ä»ã¾ã§ã¯NEW GAMEã¨å¤ãããªãã£ã^^ï¼ï¼ ããã¦æ£å¼çã¾ã§ã«è¶ ããªãã¨ããâ¦
ä»ã¾ã§ããã«ã·ãã£ãã©ãã§ã¯ãã°ã©ãã£ãã¯ã¹ãæãã®ã«glVertex2f()ã§ä¸ã¤ä¸ã¤åº§æ¨æå®ãã¦è¡¨ç¤ºãã¦ããã®ã ããã©ãèªæ©ãæµåï¼ç¨®é¡ã¨ã¢ã¤ãã ï¼ç¨®é¡ãããã§ä½ãã®ã¯ãããã«éª¨ãæããã®ã§ãã¡ã¿ã»ã³ã§ã¢ããªã³ã°ãããã¼ã¿ãèªã¿è¾¼ããããã«ãããâ¦
http://atmarkjojo.org/archives/2005/2005-03-18-000749.html åã³åãã§è²·ãã«åºãããã®ã ããè¿æã®æ¸åºã§ã¯ã©ããã¦ã«ãã©ã¸ã£ã³ããæ±ã£ã¦ããªãã»ã»ã»åå¹´éå¾ ã£ãæå¥ã«èªã¿éãããã©ãããã _|ï¿£|â
http://user.ecc.u-tokyo.ac.jp/~s31552/wp/diet/ é¢ç½ããã¼ã¸ãçºè¦ã大å¤èå³æ·±ãèªã¾ãã¦ããã£ããæèã«ã¼ãã³ã«è°ä¼å¶ãåãå ¥ãããªãã¦èãããã¨ãç¡ãã£ãã ãã®æèã«ã¼ãã³ãçµã¿è¾¼ãã ã²ã¼ã ãå ¬éããã¦ãã¦ãããã§ããã£ã¦ã»ã©ã®å¼¾å¹ããâ¦
C++ããã°ã©ãã¼ãªã常èï¼ãªãã¨ã ãã©ãæ¼ãã¯ã¤ãæè¿ã¾ã§ç¥ãã¾ããã§ããï¼æ± ã¡ã³ãå¤æ°ã ãã§ãªãã°ãã¼ãã«å¤æ°ã使ããªãã»ããããã®ãã 詳ãã解説ãã¦ãããã¼ã¸ http://www.emit.jp/prog/prog_opt0.html
åæã§è©±é¡ã®keyword:Boostã試ãã¦ã¿ãã ã¨ããããåç §ã«ã¦ã³ãä»ãã¹ãã¼ããã¤ã³ã¿ã§ããshared_ptrã ãã®ããã§ã使ã価å¤ã¯ããããªãã¸ã§ã¯ãã®ã©ã¤ãã¿ã¤ã ãæ°ã«ããªãã¦è¨ãã¨ããã®ã¯æ¥½ã ãstd::auto_ptrã¯STLã®ã³ã³ããã«å¯¾å¿ãã¦ããªãå¼±ç¹ãâ¦
以ä¸å®å ¨ã«ãã©ã·ã®è£ã ã¾ããã²ã¼ã ä¸ã§ç¨ãããããå°å½¢ããã£ã©ã¯ã¿ã¼ãFPS表示ãã¹ã³ã¢è¡¨ç¤ºãªã©ã¯ãã¹ã¦CGameObjectã¨ãããæ´¾çããã¦ããã¦ãæ¯ãã¬ã¼ã å¼ã°ããCGameObject::update()ããããã mGameFrame->queueDraw( 0x0001 ); // ãã©ã¤ãªãªãã£â¦
ClearTypeåããã©ã³ãMS *ã´ã·ã㯠Ex keyword:ClearTypeã§åå¨ãç¥ã£ã¦ä½¿ã£ã¦ã¿ãã¨ãã幸ãã«ãªãã¾ãããã·ã£ã¼ãã®éçºãã液æ¶ç¨ãã©ã³ããæ¹é ãããã®ãªã®ãã¼ãããã®é å¸ã¯æ³çã«ã¤ãããããã®ã§ããã«ãªã³ã¯ã¯æ²è¼ããªããã¨ã«ããããã°ã°ã£ã¦â¦
ã ãã¶ã²ã¼ã ããããªã£ã¦ããã æµã®ããªã¨ã¼ã·ã§ã³ã®å®è£ ï¼éãæµãåºãæµetcï¼ ã¹ã³ã¢ãå®è£ ã¹ãã¼ã¸åãæ¿ãæã®ç»é¢ãå®è£ åºç¾æã®ç¡æµæéãå®è£ ã¢ã¤ãã ãå®è£ æ¬å®¶ã®ã森ããã©ãå®è£ ãã¹ããæ©ããåéæããªéããã ãããããã£ã½ããªããããâ¦