Mail Archives: cygwin/2001/08/09/06:55:08
Hi all,
I have installed cygwin 2 weeks ago...and it is just GREAT !!!
I have rxvt with a background picture ant it is very SEXY !!
... but i still have a little problem :
i have :
//c/pierre> whoami
pierlo
//c/pierre> ls -al
total 8303
drwxr-xr-x 16 pierlo 544 0 Aug 1 15:11 ./
drwxr-xr-x 13 pierlo 544 0 Jan 1 1970 ../
drwxr-xr-x 2 pierlo 544 0 Aug 6 15:45 .xvpics/
-rw-r--r-- 1 pierlo 544 189450 Aug 6 16:20 DX8_Lesson2.zip
drwxr-xr-x 2 pierlo 544 0 Aug 7 14:50 WIN_95/
drwxr-xr-x 2 pierlo 544 0 Aug 1 15:46 WinCvs120/
drwxr-xr-x 2 pierlo 544 0 Aug 7 07:55 atm/
-rw-r--r-- 1 pierlo 544 22104 Aug 8 15:05 bottom.jpg
-rw-r--r-- 1 pierlo 544 6618 Aug 3 12:00 bufexplorer.vim.htm
drwxr-xr-x 2 pierlo 544 0 Aug 9 08:16 rend_fichiers/
-rw-r--r-- 1 pierlo 544 12711 Aug 8 15:05 right
-rw-r--r-- 1 pierlo 544 13981 Aug 8 15:10 right2
drwxr-xr-x 2 pierlo 544 0 Aug 3 11:23 savcir/
drwxr-xr-x 2 pierlo 544 0 Aug 3 11:50 temp/
drwxr-xr-x 3 pierlo 544 0 Aug 1 16:12 toto/
drwxr-xr-x 3 pierlo 544 0 Aug 3 10:00 vim/
-rw-r--r-- 1 pierlo 544 1297938 Jun 23 2000 vim57rt.zip
-rwxr-xr-x 1 pierlo 544 1259960 Aug 1 15:12 winzip80.exe*
-rwxr-xr-x 1 pierlo 544 159744 Sep 5 2000 xkobo.exe*
-rw-r--r-- 1 pierlo 544 48931 Aug 1 15:11 xkobo.zip
-rw-r--r-- 1 pierlo 544 72 Aug 1 15:14 xkoboscore
-rw-r--r-- 1 pierlo 544 1858745 Aug 6 16:07 zeFINAL.psd
//c/pierre> grep --recursive Texture *
grep: WIN_95: Permission denied
grep: WinCvs120: Permission denied
grep: atm: Permission denied
grep: cyg: Permission denied
grep: dx2d: Permission denied
grep: dxtry: Permission denied
fo.html:To use ID3DXSprite correctly, i suggest that u make or re-edit your
own tile or sprite class. Make them use a Texture instead of a bitmap, then
use ID3DXSprite to draw.
fo.html:LPDIRECT3DTEXTURE8 pSrcTexture, // use your gfx texture
fo.html://Set Sprite Texture
fo.html:About a generic Blit(Texture, X, Y) function - assuming the texture
is a preloaded DX8 texture pointer, the function looks like:
fo.html:Blit(Texture, X, Y)
fo.html:On pixel formats - I think you can use D3DXCreateTextureFromFileEx
and specify a format that works plus a color key value. I haven't tried this
in all possible combinations, but it should work. You can also find out
which formats are supported, and I think A8R8G8B8 is a pretty safe bet and
alpha/ColorKey friendly.
rend.html: Make them use a Texture instead of a bitmap, then use
ID3DXSprite to
rend.html: ID3DXSprite<BR>LPDIRECT3DTEXTURE8 pSrcTexture, // use your
gfx
grep: toto: Permission denied
grep: vim: Permission denied
QUESTION why cant grep goto in directories ?
Thanks a lot,
--
Pierre Loic Herve
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -