Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
4029 connectés 

 


 Mot :   Pseudo :  
  Aller à la page :
 
 Page :   1  2  3  4  5  ..  52  53  54  ..  189  190  191  192  193  194
Auteur Sujet :

[Topic Outil] sauvegardez le contenu de votre presse papier

n°1277415
Raistlin M​ajere
i bouh at you !
Posté le 05-01-2006 à 02:58:20  profilanswer
 

Reprise du message précédent :
[:roane]


---------------
Слава Україні  Feedback
mood
Publicité
Posté le 05-01-2006 à 02:58:20  profilanswer
 

n°1277941
the real m​oins moins
Posté le 06-01-2006 à 00:17:38  profilanswer
 

NON JE NE ME RASE PAS LE CUL


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1277946
nraynaud
lol
Posté le 06-01-2006 à 00:22:44  profilanswer
 

--> fais gaffe, tu as des bouts de discussions avec kad dans ton presse-papier.

n°1277947
Raistlin M​ajere
i bouh at you !
Posté le 06-01-2006 à 00:24:17  profilanswer
 
n°1277948
Arjuna
Aircraft Ident.: F-MBSD
Posté le 06-01-2006 à 00:25:38  profilanswer
 

The connection was refused when attempting to contact www.luditools.com.

n°1278073
drasche
Posté le 06-01-2006 à 11:18:23  profilanswer
 

 Luditools - le portail des créateurs de jeux      
 
.:Membres:.
Email:
Mot de passe:
Mémoriser:
J'ai oublié
   
 
.:Echange de bannière:.
 
Luditools est un réseau d' échange de bannières multi-formats.
 
    * 100% échange: seules les publicités des membres sont affichées, nous ne réservons aucune partie de l'espace à des diffusions annonceurs.
    * Echange équitable: L'échange est calculé en fonction du nombre d'affichages, de clics et de visiteurs. Les sites ayant une "réelle" audience sont donc favorisés (les visiteurs ne regardant qu'une page rapportent très peu). Les sites mettant en avant les publicités sont aussi favorisés (les bannières mal mises en valeur ou noyées au milieu d'autres publicités rapportent aussi très peu). Mais les sites réalisant des statistiques hors normes sont défavorisés (les bannières en rotation automatique par refresh ou les clics incités sont peu comptabilisées).
    * Echange multi-formats: Vous pouvez afficher des zones publicitaires 468x60 ou 160x600. Ces zones diffusent des bannières ou des annonces textes. Prochaînement, nous offrirons aussi la possibilité d'échanges de boutons ou de siteunder.
 
Sur les 30 derniers jours, les membres du réseau ont affiché 102 581 687 pages de publicité à destination de 2 522 469 visiteurs uniques. Cela a généré 142 569 clics.
 
Top 20 membres trié par : Visiteurs - Affichages - Clics
Site
Descriptif  Visiteurs  Affichages  Clics
Royaumes Renaissants  339 576  9 997 454  14 439
Jeu web gratuit et multijoueur, rôle et gestion
Bearslife  255 766  4 071 795  3 413
Élevez un ours virtuel !
Build & Fight  255 028  14 794 594  8 809
Stratégie, conquêtes, et diplomatie.
Dino Gaïa  215 144  7 545 184  17 544
Jeu gratuit de simulation d'élevages de dinosaures
STAR SKI & OEUF  172 439  1 404 928  1 598
www.delirant.com
JurassicLife  131 030  2 619 113  4 841
Adoptez et élevez un homme préhistorique
Ptit Dog  127 238  2 888 130  11 245
Adoptez un ptitdog, c'est gratuit!
Adelian  118 294  4 564 554  6 181
L'Académie de magie,étudie y et devient sorcier !
Lords of Heroes  103 870  7 296 560  9 291
Heroic Fantasy, stragégie, gestion du royaume.
www.human-epic.com  88 030  151 279  3 199
Elève un homme à travers l'Histoire.
Legendia`land  72 451  5 539 741  3 173
elevage virtuel de licornes et de pegases
Jeux Flash Gratuit  68 654  574 769  1 151
Tu aimes la compétiton ? A toi de jouer !
Loofok.com  68 358  1 164 720  1 611
Images, Vidéos, Blagues, PPS... Le délire assuré !
phenixland  67 096  2 583 044  1 882
jeu de simulation de ferme virtuelle
Jeu-Gratuit.Net  66 119  86 042  223
L'annuaire des jeux en ligne gratuits & Jeux Flash
Gaming Zone  65 484  854 974  2 823
Annuaire de jeux gratuits en ligne en tous genres
Woltar  64 832  604 494  2 544
simulation de vie extraterrestre
Universflash  62 987  312 781  2 090
Site de jeux et championnat gratuits avec lots !
Anizoo  56 153  2 364 733  1 353
eleve des animaux en danger et monte ton zoo
Bonbons à gogo  55 595  425 988  1 983
Joue et gagne des bonbons !
 
.:Inscription:.
     
Votre prénom* :  
Votre adresse email* :  
     
   Votre site
Url* :  
(Exemple: www.monsite.com)
Nom* :  
Descriptif* :  (50 caractères maximum)
     
   Urls de vos bannières
Bannière 468x60 :  
(Exemple: www.monsite.com/ban468x60.gif)
Skyscraper :  (120x600 ou 160x600)
   
   
 
 
 
*Les zones marquées d'une étoile sont obligatoires.
Selon la loi Informatique & Libertés de 1978, le membre possède un droit d'accès, de modifications et de suppressions de toutes les données le concernant dans les bases de données LudiTools. L'exercice de ce droit peut se faire par l'interface proposée sur le site LudiTools ou par un courrier envoyé à l'adresse figurant dans la page contact.
   
© 2004 D&D productions - contact    


---------------
Whichever format the fan may want to listen is fine with us – vinyl, wax cylinders, shellac, 8-track, iPod, cloud storage, cranial implants – just as long as it’s loud and rockin' (Billy Gibbons, ZZ Top)
n°1278076
mareek
Et de 3 \o/
Posté le 06-01-2006 à 11:25:25  profilanswer
 

sckAddressNotAvailable


---------------
"I wonder if the internal negative pressure in self pumping toothpaste tubes is adjusted for different market altitudes." John Carmack
n°1278529
red factio​n
Posté le 07-01-2006 à 00:05:48  profilanswer
 

Code :
  1. /*
  2. *  This Code Was Created By Jeff Molofee 2000
  3. *  Modified by Shawn T. to handle (%3.2f, num) parameters.
  4. *  A HUGE Thanks To Fredric Echols For Cleaning Up
  5. *  And Optimizing The Base Code, Making It More Flexible!
  6. *  If You've Found This Code Useful, Please Let Me Know.
  7. *  Visit My Site At nehe.gamedev.net
  8. */
  9. #include <windows.h>  // Header File For Windows
  10. #include <math.h>   // Header File For Windows Math Library
  11. #include <stdio.h>   // Header File For Standard Input/Output
  12. #include <stdarg.h>   // Header File For Variable Argument Routines
  13. #include <gl\gl.h>   // Header File For The OpenGL32 Library
  14. #include <gl\glu.h>   // Header File For The GLu32 Library
  15. HDC   hDC=NULL;  // Private GDI Device Context
  16. HGLRC  hRC=NULL;  // Permanent Rendering Context
  17. HWND  hWnd=NULL;  // Holds Our Window Handle
  18. HINSTANCE hInstance;  // Holds The Instance Of The Application
  19. GLuint base;    // Base Display List For The Font Set
  20. GLfloat rot;    // Used To Rotate The Text
  21. bool keys[256];   // Array Used For The Keyboard Routine
  22. bool active=TRUE;  // Window Active Flag Set To TRUE By Default
  23. bool fullscreen=TRUE; // Fullscreen Flag Set To Fullscreen Mode By Default
  24. GLYPHMETRICSFLOAT gmf[256]; // Storage For Information About Our Outline Font Characters
  25. LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); // Declaration For WndProc
  26. GLvoid BuildFont(GLvoid)        // Build Our Bitmap Font
  27. {
  28. HFONT font;          // Windows Font ID
  29. base = glGenLists(256);        // Storage For 256 Characters
  30. font = CreateFont( -12,       // Height Of Font
  31.      0,        // Width Of Font
  32.      0,        // Angle Of Escapement
  33.      0,        // Orientation Angle
  34.      FW_BOLD,      // Font Weight
  35.      FALSE,       // Italic
  36.      FALSE,       // Underline
  37.      FALSE,       // Strikeout
  38.      ANSI_CHARSET,     // Character Set Identifier
  39.      OUT_TT_PRECIS,     // Output Precision
  40.      CLIP_DEFAULT_PRECIS,   // Clipping Precision
  41.      ANTIALIASED_QUALITY,   // Output Quality
  42.      FF_DONTCARE|DEFAULT_PITCH,  // Family And Pitch
  43.      "Lucida Sans Unicode" );    // Font Name
  44. SelectObject(hDC, font);       // Selects The Font We Created
  45. wglUseFontOutlines( hDC,       // Select The Current DC
  46.      0,        // Starting Character
  47.      255,       // Number Of Display Lists To Build
  48.      base,       // Starting Display Lists
  49.      0.0f,       // Deviation From The True Outlines
  50.      0.2f,       // Font Thickness In The Z Direction
  51.      WGL_FONT_POLYGONS,    // Use Polygons, Not Lines
  52.      gmf);       // Address Of Buffer To Recieve Data
  53. }
  54. GLvoid KillFont(GLvoid)         // Delete The Font
  55. {
  56.   glDeleteLists(base, 256);        // Delete All 256 Characters
  57. }
  58. GLvoid glPrint(const char *fmt, ...)     // Custom GL "Print" Routine
  59. {
  60. float  length=0;        // Used To Find The Length Of The Text
  61. char  text[256];        // Holds Our String
  62. va_list  ap;          // Pointer To List Of Arguments
  63. if (fmt == NULL)         // If There's No Text
  64.  return;           // Do Nothing
  65. va_start(ap, fmt);         // Parses The String For Variables
  66.     vsprintf(text, fmt, ap);      // And Converts Symbols To Actual Numbers
  67. va_end(ap);           // Results Are Stored In Text
  68. for (unsigned int loop=0;loop<(strlen(text));loop++) // Loop To Find Text Length
  69. {
  70.  length+=gmf[text[loop]].gmfCellIncX;   // Increase Length By Each Characters Width
  71. }
  72. glTranslatef(-length/2,0.0f,0.0f);     // Center Our Text On The Screen
  73. glPushAttrib(GL_LIST_BIT);       // Pushes The Display List Bits
  74. glListBase(base);         // Sets The Base Character to 0
  75. glCallLists(strlen(text), GL_UNSIGNED_BYTE, text); // Draws The Display List Text
  76. glPopAttrib();          // Pops The Display List Bits
  77. }
  78. GLvoid ReSizeGLScene(GLsizei width, GLsizei height)  // Resize And Initialize The GL Window
  79. {
  80. if (height==0)          // Prevent A Divide By Zero By
  81. {
  82.  height=1;          // Making Height Equal One
  83. }
  84. glViewport(0,0,width,height);      // Reset The Current Viewport
  85. glMatrixMode(GL_PROJECTION);      // Select The Projection Matrix
  86. glLoadIdentity();         // Reset The Projection Matrix
  87. // Calculate The Aspect Ratio Of The Window
  88. gluPerspective(45.0f,(GLfloat)width/(GLfloat)height,0.1f,100.0f);
  89. glMatrixMode(GL_MODELVIEW);       // Select The Modelview Matrix
  90. glLoadIdentity();         // Reset The Modelview Matrix
  91. }
  92. int InitGL(GLvoid)          // All Setup For OpenGL Goes Here
  93. {
  94. glEnable(GL_BLEND);
  95. glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE);
  96. glHint(GL_POINT_SMOOTH, GL_NICEST);
  97. glHint(GL_LINE_SMOOTH, GL_NICEST);
  98. glHint(GL_POLYGON_SMOOTH, GL_NICEST);
  99. glEnable(GL_POINT_SMOOTH);
  100. glEnable(GL_LINE_SMOOTH);
  101. glEnable(GL_POLYGON_SMOOTH);
  102. glShadeModel(GL_SMOOTH);       // Enable Smooth Shading
  103. glClearColor(0.0f, 0.0f, 0.0f, 0.5f);    // Black Background
  104. glClearDepth(1.0f);         // Depth Buffer Setup
  105. //glEnable(GL_DEPTH_TEST);       // Enables Depth Testing
  106. //glDepthFunc(GL_LEQUAL);        // The Type Of Depth Testing To Do
  107. glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); // Really Nice Perspective Calculations
  108. // glEnable(GL_LIGHT0);        // Enable Default Light (Quick And Dirty)
  109. // glEnable(GL_LIGHTING);        // Enable Lighting
  110. // glEnable(GL_COLOR_MATERIAL);      // Enable Coloring Of Material
  111. BuildFont();          // Build The Font
  112. return TRUE;          // Initialization Went OK
  113. }
  114. int DrawGLScene(GLvoid)         // Here's Where We Do All The Drawing
  115. {
  116. glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); // Clear Screen And Depth Buffer
  117. glLoadIdentity();         // Reset The Current Modelview Matrix
  118. glTranslatef(0.0f,0.0f,-5.0f);      // Move One Unit Into The Screen
  119. // glRotatef(rot,1.0f,0.0f,0.0f);      // Rotate On The X Axis
  120. // glRotatef(rot*1.5f,0.0f,1.0f,0.0f);     // Rotate On The Y Axis
  121. // glRotatef(rot*1.4f,0.0f,0.0f,1.0f);     // Rotate On The Z Axis
  122. // Pulsing Colors Based On The Rotation
  123. glColor3f(1.0f*float(cos(rot/20.0f)),1.0f*float(sin(rot/25.0f)),1.0f-0.5f*float(cos(rot/17.0f)));
  124.  glPrint("NeHe - %3.2f",rot/50);      // Print GL Text To The Screen
  125. rot+=0.5f;           // Increase The Rotation Variable
  126. glBegin(GL_QUADS);
  127.    glVertex2f(0,-25);
  128.    glVertex2f( 25,25);
  129.    glVertex2f(25, 25);
  130.    glVertex2f(-25,-25);           
  131. glEnd();
  132. return TRUE;          // Everything Went OK
  133. }
  134. GLvoid KillGLWindow(GLvoid)        // Properly Kill The Window
  135. {
  136. if (fullscreen)          // Are We In Fullscreen Mode?
  137. {
  138.  ChangeDisplaySettings(NULL,0);     // If So Switch Back To The Desktop
  139.  ShowCursor(TRUE);        // Show Mouse Pointer
  140. }
  141. if (hRC)           // Do We Have A Rendering Context?
  142. {
  143.  if (!wglMakeCurrent(NULL,NULL))     // Are We Able To Release The DC And RC Contexts?
  144.  {
  145.   MessageBox(NULL,"Release Of DC And RC Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
  146.  }
  147.  if (!wglDeleteContext(hRC))      // Are We Able To Delete The RC?
  148.  {
  149.   MessageBox(NULL,"Release Rendering Context Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
  150.  }
  151.  hRC=NULL;          // Set RC To NULL
  152. }
  153. if (hDC && !ReleaseDC(hWnd,hDC))     // Are We Able To Release The DC
  154. {
  155.  MessageBox(NULL,"Release Device Context Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
  156.  hDC=NULL;          // Set DC To NULL
  157. }
  158. if (hWnd && !DestroyWindow(hWnd))     // Are We Able To Destroy The Window?
  159. {
  160.  MessageBox(NULL,"Could Not Release hWnd.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
  161.  hWnd=NULL;          // Set hWnd To NULL
  162. }
  163. if (!UnregisterClass("OpenGL",hInstance))   // Are We Able To Unregister Class
  164. {
  165.  MessageBox(NULL,"Could Not Unregister Class.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
  166.  hInstance=NULL;         // Set hInstance To NULL
  167. }
  168. KillFont();
  169. }
  170. /* This Code Creates Our OpenGL Window.  Parameters Are:     *
  171. * title   - Title To Appear At The Top Of The Window    *
  172. * width   - Width Of The GL Window Or Fullscreen Mode    *
  173. * height   - Height Of The GL Window Or Fullscreen Mode   *
  174. * bits   - Number Of Bits To Use For Color (8/16/24/32)   *
  175. * fullscreenflag - Use Fullscreen Mode (TRUE) Or Windowed Mode (FALSE) */
  176. BOOL CreateGLWindow(char* title, int width, int height, int bits, bool fullscreenflag)
  177. {
  178. GLuint  PixelFormat;   // Holds The Results After Searching For A Match
  179. WNDCLASS wc;      // Windows Class Structure
  180. DWORD  dwExStyle;    // Window Extended Style
  181. DWORD  dwStyle;    // Window Style
  182. RECT  WindowRect;    // Grabs Rectangle Upper Left / Lower Right Values
  183. WindowRect.left=(long)0;   // Set Left Value To 0
  184. WindowRect.right=(long)width;  // Set Right Value To Requested Width
  185. WindowRect.top=(long)0;    // Set Top Value To 0
  186. WindowRect.bottom=(long)height;  // Set Bottom Value To Requested Height
  187. fullscreen=fullscreenflag;   // Set The Global Fullscreen Flag
  188. hInstance   = GetModuleHandle(NULL);    // Grab An Instance For Our Window
  189. wc.style   = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; // Redraw On Size, And Own DC For Window.
  190. wc.lpfnWndProc  = (WNDPROC) WndProc;     // WndProc Handles Messages
  191. wc.cbClsExtra  = 0;         // No Extra Window Data
  192. wc.cbWndExtra  = 0;         // No Extra Window Data
  193. wc.hInstance  = hInstance;       // Set The Instance
  194. wc.hIcon   = LoadIcon(NULL, IDI_WINLOGO);   // Load The Default Icon
  195. wc.hCursor   = LoadCursor(NULL, IDC_ARROW);   // Load The Arrow Pointer
  196. wc.hbrBackground = NULL;         // No Background Required For GL
  197. wc.lpszMenuName  = NULL;         // We Don't Want A Menu
  198. wc.lpszClassName = "OpenGL";        // Set The Class Name
  199. if (!RegisterClass(&wc))         // Attempt To Register The Window Class
  200. {
  201.  MessageBox(NULL,"Failed To Register The Window Class.","ERROR",MB_OK|MB_ICONEXCLAMATION);
  202.  return FALSE;           // Return FALSE
  203. }
  204. if (fullscreen)            // Attempt Fullscreen Mode?
  205. {
  206.  DEVMODE dmScreenSettings;        // Device Mode
  207.  memset(&dmScreenSettings,0,sizeof(dmScreenSettings)); // Makes Sure Memory's Cleared
  208.  dmScreenSettings.dmSize=sizeof(dmScreenSettings);  // Size Of The Devmode Structure
  209.  dmScreenSettings.dmPelsWidth = width;    // Selected Screen Width
  210.  dmScreenSettings.dmPelsHeight = height;    // Selected Screen Height
  211.  dmScreenSettings.dmBitsPerPel = bits;     // Selected Bits Per Pixel
  212.  dmScreenSettings.dmFields=DM_BITSPERPEL|DM_PELSWIDTH|DM_PELSHEIGHT;
  213.  // Try To Set Selected Mode And Get Results.  NOTE: CDS_FULLSCREEN Gets Rid Of Start Bar.
  214.  if (ChangeDisplaySettings(&dmScreenSettings,CDS_FULLSCREEN)!=DISP_CHANGE_SUCCESSFUL)
  215.  {
  216.   // If The Mode Fails, Offer Two Options.  Quit Or Use Windowed Mode.
  217.   if (MessageBox(NULL,"The Requested Fullscreen Mode Is Not Supported By\nYour Video Card. Use Windowed Mode Instead?","NeHe GL",MB_YESNO|MB_ICONEXCLAMATION)==IDYES)
  218.   {
  219.    fullscreen=FALSE;  // Windowed Mode Selected.  Fullscreen = FALSE
  220.   }
  221.   else
  222.   {
  223.    // Pop Up A Message Box Letting User Know The Program Is Closing.
  224.    MessageBox(NULL,"Program Will Now Close.","ERROR",MB_OK|MB_ICONSTOP);
  225.    return FALSE;         // Return FALSE
  226.   }
  227.  }
  228. }
  229. if (fullscreen)            // Are We Still In Fullscreen Mode?
  230. {
  231.  dwExStyle=WS_EX_APPWINDOW;        // Window Extended Style
  232.  dwStyle=WS_POPUP;          // Windows Style
  233.  ShowCursor(FALSE);          // Hide Mouse Pointer
  234. }
  235. else
  236. {
  237.  dwExStyle=WS_EX_APPWINDOW | WS_EX_WINDOWEDGE;   // Window Extended Style
  238.  dwStyle=WS_OVERLAPPEDWINDOW;       // Windows Style
  239. }
  240. AdjustWindowRectEx(&WindowRect, dwStyle, FALSE, dwExStyle);  // Adjust Window To True Requested Size
  241. // Create The Window
  242. if (!(hWnd=CreateWindowEx( dwExStyle,       // Extended Style For The Window
  243.        "OpenGL",       // Class Name
  244.        title,        // Window Title
  245.        dwStyle |       // Defined Window Style
  246.        WS_CLIPSIBLINGS |     // Required Window Style
  247.        WS_CLIPCHILDREN,     // Required Window Style
  248.        0, 0,        // Window Position
  249.        WindowRect.right-WindowRect.left, // Calculate Window Width
  250.        WindowRect.bottom-WindowRect.top, // Calculate Window Height
  251.        NULL,        // No Parent Window
  252.        NULL,        // No Menu
  253.        hInstance,       // Instance
  254.        NULL)))        // Dont Pass Anything To WM_CREATE
  255. {
  256.  KillGLWindow();        // Reset The Display
  257.  MessageBox(NULL,"Window Creation Error.","ERROR",MB_OK|MB_ICONEXCLAMATION);
  258.  return FALSE;        // Return FALSE
  259. }
  260. static PIXELFORMATDESCRIPTOR pfd=    // pfd Tells Windows How We Want Things To Be
  261. {
  262.  sizeof(PIXELFORMATDESCRIPTOR),    // Size Of This Pixel Format Descriptor
  263.  1,           // Version Number
  264.  PFD_DRAW_TO_WINDOW |      // Format Must Support Window
  265.  PFD_SUPPORT_OPENGL |      // Format Must Support OpenGL
  266.  PFD_DOUBLEBUFFER,       // Must Support Double Buffering
  267.  PFD_TYPE_RGBA,        // Request An RGBA Format
  268.  bits,          // Select Our Color Depth
  269.  0, 0, 0, 0, 0, 0,       // Color Bits Ignored
  270.  0,           // No Alpha Buffer
  271.  0,           // Shift Bit Ignored
  272.  0,           // No Accumulation Buffer
  273.  0, 0, 0, 0,         // Accumulation Bits Ignored
  274.  16,           // 16Bit Z-Buffer (Depth Buffer)   
  275.  0,           // No Stencil Buffer
  276.  0,           // No Auxiliary Buffer
  277.  PFD_MAIN_PLANE,        // Main Drawing Layer
  278.  0,           // Reserved
  279.  0, 0, 0          // Layer Masks Ignored
  280. };
  281. if (!(hDC=GetDC(hWnd)))       // Did We Get A Device Context?
  282. {
  283.  KillGLWindow();        // Reset The Display
  284.  MessageBox(NULL,"Can't Create A GL Device Context.","ERROR",MB_OK|MB_ICONEXCLAMATION);
  285.  return FALSE;        // Return FALSE
  286. }
  287. if (!(PixelFormat=ChoosePixelFormat(hDC,&pfd))) // Did Windows Find A Matching Pixel Format?
  288. {
  289.  KillGLWindow();        // Reset The Display
  290.  MessageBox(NULL,"Can't Find A Suitable PixelFormat.","ERROR",MB_OK|MB_ICONEXCLAMATION);
  291.  return FALSE;        // Return FALSE
  292. }
  293. if(!SetPixelFormat(hDC,PixelFormat,&pfd))  // Are We Able To Set The Pixel Format?
  294. {
  295.  KillGLWindow();        // Reset The Display
  296.  MessageBox(NULL,"Can't Set The PixelFormat.","ERROR",MB_OK|MB_ICONEXCLAMATION);
  297.  return FALSE;        // Return FALSE
  298. }
  299. if (!(hRC=wglCreateContext(hDC)))    // Are We Able To Get A Rendering Context?
  300. {
  301.  KillGLWindow();        // Reset The Display
  302.  MessageBox(NULL,"Can't Create A GL Rendering Context.","ERROR",MB_OK|MB_ICONEXCLAMATION);
  303.  return FALSE;        // Return FALSE
  304. }
  305. if(!wglMakeCurrent(hDC,hRC))     // Try To Activate The Rendering Context
  306. {
  307.  KillGLWindow();        // Reset The Display
  308.  MessageBox(NULL,"Can't Activate The GL Rendering Context.","ERROR",MB_OK|MB_ICONEXCLAMATION);
  309.  return FALSE;        // Return FALSE
  310. }
  311. ShowWindow(hWnd,SW_SHOW);      // Show The Window
  312. SetForegroundWindow(hWnd);      // Slightly Higher Priority
  313. SetFocus(hWnd);         // Sets Keyboard Focus To The Window
  314. ReSizeGLScene(width, height);     // Set Up Our Perspective GL Screen
  315. if (!InitGL())         // Initialize Our Newly Created GL Window
  316. {
  317.  KillGLWindow();        // Reset The Display
  318.  MessageBox(NULL,"Initialization Failed.","ERROR",MB_OK|MB_ICONEXCLAMATION);
  319.  return FALSE;        // Return FALSE
  320. }
  321. return TRUE;         // Success
  322. }
  323. LRESULT CALLBACK WndProc( HWND hWnd,   // Handle For This Window
  324.       UINT uMsg,   // Message For This Window
  325.       WPARAM wParam,   // Additional Message Information
  326.       LPARAM lParam)   // Additional Message Information
  327. {
  328. switch (uMsg)         // Check For Windows Messages
  329. {
  330.  case WM_ACTIVATE:       // Watch For Window Activate Message
  331.  {
  332.   if (!HIWORD(wParam))     // Check Minimization State
  333.   {
  334.    active=TRUE;      // Program Is Active
  335.   }
  336.   else
  337.   {
  338.    active=FALSE;      // Program Is No Longer Active
  339.   }
  340.   return 0;        // Return To The Message Loop
  341.  }
  342.  case WM_SYSCOMMAND:       // Intercept System Commands
  343.  {
  344.   switch (wParam)       // Check System Calls
  345.   {
  346.    case SC_SCREENSAVE:     // Screensaver Trying To Start?
  347.    case SC_MONITORPOWER:    // Monitor Trying To Enter Powersave?
  348.    return 0;       // Prevent From Happening
  349.   }
  350.   break;         // Exit
  351.  }
  352.  case WM_CLOSE:        // Did We Receive A Close Message?
  353.  {
  354.   PostQuitMessage(0);      // Send A Quit Message
  355.   return 0;        // Jump Back
  356.  }
  357.  case WM_KEYDOWN:       // Is A Key Being Held Down?
  358.  {
  359.   keys[wParam] = TRUE;     // If So, Mark It As TRUE
  360.   return 0;        // Jump Back
  361.  }
  362.  case WM_KEYUP:        // Has A Key Been Released?
  363.  {
  364.   keys[wParam] = FALSE;     // If So, Mark It As FALSE
  365.   return 0;        // Jump Back
  366.  }
  367.  case WM_SIZE:        // Resize The OpenGL Window
  368.  {
  369.   ReSizeGLScene(LOWORD(lParam),HIWORD(lParam));  // LoWord=Width, HiWord=Height
  370.   return 0;        // Jump Back
  371.  }
  372. }
  373. // Pass All Unhandled Messages To DefWindowProc
  374. return DefWindowProc(hWnd,uMsg,wParam,lParam);
  375. }
  376. int WINAPI WinMain( HINSTANCE hInstance,   // Instance
  377.     HINSTANCE hPrevInstance,  // Previous Instance
  378.     LPSTR  lpCmdLine,   // Command Line Parameters
  379.     int   nCmdShow)   // Window Show State
  380. {
  381. MSG  msg;         // Windows Message Structure
  382. BOOL done=FALSE;        // Bool Variable To Exit Loop
  383. // Ask The User Which Screen Mode They Prefer
  384. if (MessageBox(NULL,"Would You Like To Run In Fullscreen Mode?", "Start FullScreen?",MB_YESNO|MB_ICONQUESTION)==IDNO)
  385. {
  386.  fullscreen=FALSE;       // Windowed Mode
  387. }
  388. // Create Our OpenGL Window
  389. if (!CreateGLWindow("NeHe's Outline Font Tutorial",640,480,16,fullscreen))
  390. {
  391.  return 0;         // Quit If Window Was Not Created
  392. }
  393. while(!done)         // Loop That Runs While done=FALSE
  394. {
  395.  if (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) // Is There A Message Waiting?
  396.  {
  397.   if (msg.message==WM_QUIT)    // Have We Received A Quit Message?
  398.   {
  399.    done=TRUE;       // If So done=TRUE
  400.   }
  401.   else         // If Not, Deal With Window Messages
  402.   {
  403.    TranslateMessage(&msg);    // Translate The Message
  404.    DispatchMessage(&msg);    // Dispatch The Message
  405.   }
  406.  }
  407.  else          // If There Are No Messages
  408.  {
  409.   // Draw The Scene.  Watch For ESC Key And Quit Messages From DrawGLScene()
  410.   if ((active && !DrawGLScene()) || keys[VK_ESCAPE]) // Active?  Was There A Quit Received?
  411.   {
  412.    done=TRUE;       // ESC or DrawGLScene Signalled A Quit
  413.   }
  414.   else         // Not Time To Quit, Update Screen
  415.   {
  416.    SwapBuffers(hDC);     // Swap Buffers (Double Buffering)
  417.   }
  418.   if (keys[VK_F1])      // Is F1 Being Pressed?
  419.   {
  420.    keys[VK_F1]=FALSE;     // If So Make Key FALSE
  421.    KillGLWindow();      // Kill Our Current Window
  422.    fullscreen=!fullscreen;    // Toggle Fullscreen / Windowed Mode
  423.    // Recreate Our OpenGL Window
  424.    if (!CreateGLWindow("NeHe's Outline Font Tutorial",640,480,16,fullscreen))
  425.    {
  426.     return 0;      // Quit If Window Was Not Created
  427.    }
  428.   }
  429.  }
  430. }
  431. // Shutdown
  432. KillGLWindow();         // Kill The Window
  433. return (msg.wParam);       // Exit The Program
  434. }

n°1278535
the real m​oins moins
Posté le 07-01-2006 à 00:09:54  profilanswer
 

oh pité, allez vous faire mettre avec vos concours de celui qu'aura la plus grosse hein [:x-httpd-php]
 
 


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1278537
red factio​n
Posté le 07-01-2006 à 00:10:37  profilanswer
 

faut toujours que tu rale toi
 
jai pa de ftp pour foutre ca donc je tappe sur le topic
 
ou est le probleme? ca sert a ca non ?

mood
Publicité
Posté le 07-01-2006 à 00:10:37  profilanswer
 

n°1278540
the real m​oins moins
Posté le 07-01-2006 à 00:16:42  profilanswer
 

ok [:x-httpd-php]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1278561
Raistlin M​ajere
i bouh at you !
Posté le 07-01-2006 à 02:19:23  profilanswer
 

[:roane]
agressif le monsieur :o


---------------
Слава Україні  Feedback
n°1278562
the real m​oins moins
Posté le 07-01-2006 à 03:24:53  profilanswer
 

moi ? [:x-httpd-php]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1278687
Raistlin M​ajere
i bouh at you !
Posté le 07-01-2006 à 13:46:05  profilanswer
 

mah nan l'autre :o


---------------
Слава Україні  Feedback
n°1278762
red factio​n
Posté le 07-01-2006 à 16:30:18  profilanswer
 

tient on parle de moi [:cupra]

n°1278833
Arjuna
Aircraft Ident.: F-MBSD
Posté le 07-01-2006 à 19:39:30  profilanswer
 

https://support.ati.com/ics/support [...] onID=19544
 
c juste histoire que je le relise à tête reposée chez moi pour voir si je suis concerné ou pas parceque là je suis pas chez moi :D

n°1278835
the real m​oins moins
Posté le 07-01-2006 à 19:46:13  profilanswer
 

pas de pot [:nofret]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1278851
Raistlin M​ajere
i bouh at you !
Posté le 07-01-2006 à 20:40:34  profilanswer
 
n°1279025
skeye
Posté le 08-01-2006 à 12:23:44  profilanswer
 

ça fait cher la livraison...[:pingouino]


---------------
Can't buy what I want because it's free -
n°1279026
the real m​oins moins
Posté le 08-01-2006 à 12:28:30  profilanswer
 
n°1279096
Raistlin M​ajere
i bouh at you !
Posté le 08-01-2006 à 14:09:13  profilanswer
 

skeye a écrit :

ça fait cher la livraison...[:pingouino]


ebay ne comissionne pas les frais de livraison :/


---------------
Слава Україні  Feedback
n°1279642
stiffler
Lâche mon profil putain ! :o
Posté le 09-01-2006 à 15:44:58  profilanswer
 

ANTP IS GAY

n°1279692
mareek
Et de 3 \o/
Posté le 09-01-2006 à 17:01:38  profilanswer
 

,byref oContratBefore as CContrat


---------------
"I wonder if the internal negative pressure in self pumping toothpaste tubes is adjusted for different market altitudes." John Carmack
n°1279724
uriel
blood pt.2
Posté le 09-01-2006 à 17:40:03  profilanswer
 

In einem Becherglas wird EtOH erwärmt (auf Heizplatte), dann wird Glycin in H2O zugegeben. Zu dieser Mischung gibt man einen Spatel Ninhydrin.


---------------
IVG en france
n°1279727
mareek
Et de 3 \o/
Posté le 09-01-2006 à 17:42:27  profilanswer
 

     DtFinContratAjustee = IIf(.DT_DEBUT > .DT_FIN, DateSerial(3000, 12, 31), .DT_FIN)


---------------
"I wonder if the internal negative pressure in self pumping toothpaste tubes is adjusted for different market altitudes." John Carmack
n°1279758
Raistlin M​ajere
i bouh at you !
Posté le 09-01-2006 à 18:44:18  profilanswer
 

configuration conseillée pour faire fonctionner Windows Vista confortablement.
Voici la liste:
 
    * Processeur 32 Bits ou 64 Bits
    * 1 Go ou 2 Go de mémoire vive DDR3
    * Disque dur SATA2
    * Carte graphique ayant 256Mo de mémoire intégré.
 
Le besoin d’avoir d’une carte graphique ayant 256 Mo de mémoire intégrée est dû que toute la gestion de l’interface graphique sera exécutée par la carte graphique et non le processeur principal. De plus, le processeur devra supporter DirectX 10 (anciennement WGF) pour permettre le bon fonctionnement du LLDM (Longhorn Display Driver Model) qui permettra à l’utilisateur d’avoir une interface totalement vectoriel et 3D (et plus bitmap, 2D et pseudo 3D).
 
Un disque dur qui supporte SATA2 va permettre à Windows Vista d’être asynchrone avec le disque dur via le NCQ (Native Command Queuing). Windows Vista n’aura plus besoin d’attendre les données en provenance du disque dur pour continuer son exécution (tout le monde connait les baisses de performance système lors d’une copie de fichier de grande taille). Dans une moindre mesure, la norme SATA2 multiplie par deux la bande passante utile théorique pour les transferts par rapport à SATA1 (de 150 Mo/s à 300 Mo/s).
 
La quantité de mémoire nécessaire est variable en fonction de l’utilisation de votre ordinateur. Si celle-ci est importante, c’est suite à la politique marketing de Microsoft qui convoite que les utilisateurs communiquent plus, qu’ils s’informent plus et qu’ils partagent plus.
Même si les spécifications matérielles ne sont pas définitives, on n’est pas surpris par la configuration conseillée. Le matériel informatique qui sera vendu dans plus d’un an correspondra à celui cité ci-dessus…


---------------
Слава Україні  Feedback
n°1280149
mareek
Et de 3 \o/
Posté le 10-01-2006 à 10:07:42  profilanswer
 

http://www.hardware.fr/articles/59 [...] n-955.html


---------------
"I wonder if the internal negative pressure in self pumping toothpaste tubes is adjusted for different market altitudes." John Carmack
n°1280166
THE REAL S​MILEY
The Real Résistance!
Posté le 10-01-2006 à 10:30:20  profilanswer
 

if (dateLivraison.Subtract(dateEnlevement)<TimeSpan.FromHours(((webOrdreTransportUnique)((webOrdreMission)Session["OrdreMissionEnCours"]).OrdresTransports[0]).DureeHeure)+TimeSpan.FromMinutes(((webOrdreTransportUnique)((webOrdreMission)Session["OrdreMissionEnCours"]).OrdresTransports[0]).DureeMinute))


---------------
༼ つ ◕_◕ ༽つ
n°1280547
Raistlin M​ajere
i bouh at you !
Posté le 10-01-2006 à 15:56:01  profilanswer
 

86eb8be2dcb233deba


---------------
Слава Україні  Feedback
n°1280575
Arjuna
Aircraft Ident.: F-MBSD
Posté le 10-01-2006 à 16:18:35  profilanswer
 

datcre,

n°1280578
skeye
Posté le 10-01-2006 à 16:20:54  profilanswer
 

http://fr.news.yahoo.com/10012006/ [...] r-une.html


---------------
Can't buy what I want because it's free -
n°1280580
souk
Tourist
Posté le 10-01-2006 à 16:23:30  profilanswer
 

543 is a number whose square and cube use different digits

n°1280584
mareek
Et de 3 \o/
Posté le 10-01-2006 à 16:26:23  profilanswer
 

http://www.winlike.net/


---------------
"I wonder if the internal negative pressure in self pumping toothpaste tubes is adjusted for different market altitudes." John Carmack
n°1280612
joce
&#034;BugHunter&#034;
Posté le 10-01-2006 à 16:41:17  profilanswer
 

Note : If I use
 
emsMkError OSSGLD -m gldCatalog.msg
 
instead of
 
emsMkError OSSGLD -f -m gldCatalog.msg
 
this doesn't segfault anymore.
 
 Jocelyn

n°1280613
joce
&#034;BugHunter&#034;
Posté le 10-01-2006 à 16:41:29  profilanswer
 

rum

n°1280614
uriel
blood pt.2
Posté le 10-01-2006 à 16:42:01  profilanswer
 

rhum [:aloy]


---------------
IVG en france
n°1280625
the real m​oins moins
Posté le 10-01-2006 à 16:45:34  profilanswer
 

<version>


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1280661
Arjuna
Aircraft Ident.: F-MBSD
Posté le 10-01-2006 à 17:02:35  profilanswer
 
n°1280703
the real m​oins moins
Posté le 10-01-2006 à 17:19:54  profilanswer
 
n°1280706
skeye
Posté le 10-01-2006 à 17:20:48  profilanswer
 

Comment t'es tombé là-dessus?[:mlc]


---------------
Can't buy what I want because it's free -
n°1280715
Arjuna
Aircraft Ident.: F-MBSD
Posté le 10-01-2006 à 17:26:33  profilanswer
 

arf :D

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2  3  4  5  ..  52  53  54  ..  189  190  191  192  193  194

Aller à :
Ajouter une réponse
 

Sujets relatifs
Récupérer le contenu d'une frame[ASP] Récupérer le contenu du buffer
afficher le contenu d'un requette SQL dans 1 DataGrid ou autre ?Recherche un outil de help-desk
effacer le contenu d'une text areaRécupérer le contenu d'un fichier distant. readfile(), include().
Lire une page web (php) à partir de vb pour afficher le contenuoutil de test de charge
(HTML/JS aussi)Recuperation de valeur contenu entre les TAGtype contenu ds un vector
Plus de sujets relatifs à : [Topic Outil] sauvegardez le contenu de votre presse papier


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)