Game Dev 150

WinMerge v2.8.4

Download http://www.winmerge.org/ Online Manual http://www.winmerge.org/2.8/manual/index.html Usage 1 비교할 두 폴더나 두 파일을 선택 후 "확인" 목록에 "비교결과" 컬럼에서 "동일하지 않은 파일"을 선택 한 후 마우스 오른쪽 버튼 클릭 "비교" 메뉴를 선택하면 새로운 비교 창이 팝업 왼쪽 "위치창"에서 회색이나 노란색으로 표시된 부분이 서로 일치하지 않는 부분이며 Page Down/Page Up이나 마우스 스크롤을 이용하여 비교를 원하는 부분을 탐색 Usage 2 혹은 Windows 탐색기에서 비교할 두 폴더나 두 파일을 선택한 후 마우스 오른쪽 버튼을 클릭하면 바로 비교 화면을 볼 수 있다.

Game Dev/Binary 2008.07.08

MS Lineup Free Download

출처 : http://blog.jeongzugo.com/69 다음 사이트에 가면 Express 버전을 무료로 다운 받을 수 있다. http://www.microsoft.com/express/download/default.aspx#webInstall 다음은 MS 홈페이지에 나온 FAQ 중 일부이다. How much will these products cost? Effective April 19th, 2006, all Visual Studio Express Editions are free permanently. This pricing covers all Visual Studio 2005 Express Editions and Visual Studio 2008 Express Editions including V..

Game Dev/Binary 2008.07.07

Synchronized block in C++

출처 : http://ricanet.com/new/view.php?id=blog/050807 ACriticalSection someCriticalSection; synchronized(someCriticalSection) { ... } 1. 생성과 해제를 통한 자원 획득, 해제class AutoLock { public: AutoLock( ACriticalSection& cs ) : cs(cs) { cs.Lock(); cont = true; } ~AutoLock() { cs.Unlock(); } private: ACriticalSection& cs; }; { AutoLock(someCriticalSection); ... } 2. for문을 이용한 매크로 class AutoLock { public: Auto..

Game Dev/Scrap 2008.06.09

FreeType에서 FT_PIXEL_MODE_MONO 처리

Freetype에서 특정 크기 이하의 폰트는 MONO Bitmap을 리턴하며 Pixel Mode를 통해 (FT_PIXEL_MODE_MONO) 확인이 가능합니다. 이 경우 1 Byte에 8 Pixel에 대한 정보가 담겨져 있으므로 다음과 같은 별도의 처리가 필요합니다. /* Src : FreeType의 Bitmap Dest : Texture\ (현재 A4R4G4B4) startX, startY : 글자 영역의 위치 baselienX, baselineY : 글자 모양의 Baseline */ WORD* pTextureData = NULL; BYTE* pDestAddr = (BYTE*)pDest->pBits; int offsetX = startX + baselineX; int offsetY = startY + ..

Game Dev/Article 2008.06.04