ddraw: Spelling fixes.
authorAustin English <austinenglish@gmail.com>
Wed, 2 Apr 2008 19:26:42 +0000 (14:26 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 3 Apr 2008 09:39:45 +0000 (11:39 +0200)
dlls/ddraw/ddraw.c
dlls/ddraw/device.c
dlls/ddraw/direct3d.c
dlls/ddraw/light.c
dlls/ddraw/main.c
dlls/ddraw/palette.c
dlls/ddraw/surface.c
dlls/ddraw/tests/d3d.c
dlls/ddraw/tests/dsurface.c
dlls/ddraw/tests/visual.c
dlls/ddraw/viewport.c

index 60ffdcd4d9820db8d163d7457ded908112bfe8e2..80c543c77b617a027f8c6d71c993a278d68eaa92 100644 (file)
@@ -339,7 +339,7 @@ IDirectDrawImpl_Release(IDirectDraw7 *iface)
  *
  * Unsure about these: DDSCL_FPUSETUP DDSCL_FPURESERVE
  *
- * These seem not really imporant for wine
+ * These don't seem very important for wine:
  *  DDSCL_ALLOWREBOOT, DDSCL_NOWINDOWCHANGES, DDSCL_ALLOWMODEX
  *
  * Returns:
@@ -2186,12 +2186,12 @@ CreateAdditionalSurfaces(IDirectDrawImpl *This,
  * the WineD3DSurface when the ddraw surface is destroyed.
  *
  * However, for all surfaces which can be in a container in WineD3D,
- * we have to do this. These surfaces are ususally complex surfaces,
+ * we have to do this. These surfaces are usually complex surfaces,
  * so this concerns primary surfaces with a front and a back buffer,
  * and textures.
  *
  * |------------------------|               |-----------------|
- * | DDraw surface          |               | Containter      |
+ * | DDraw surface          |               | Container       |
  * |                        |               |                 |
  * |                  Child |<------------->| Parent          |
  * |                Texture |<------------->|                 |
@@ -2633,7 +2633,7 @@ IDirectDrawImpl_CreateSurface(IDirectDraw7 *iface,
         {
             Pool = WINED3DPOOL_SYSTEMMEM;
         }
-        /* Should I forward the MANEGED cap to the managed pool ? */
+        /* Should I forward the MANAGED cap to the managed pool ? */
 
         /* Get the format. It's set already by CreateNewSurface */
         Format = PixelFormat_DD2WineD3D(&object->surface_desc.u4.ddpfPixelFormat);
index 62aa9ba5ce868a12a8df59872f5dfdfabddd8098..f39b0b085de24c2f7e4bf1d0d133c99e83a1e28c 100644 (file)
@@ -502,7 +502,7 @@ IDirect3DDeviceImpl_7_GetCaps(IDirect3DDevice7 *iface,
  *
  * Parameters:
  *  HWDesc: Structure to fill with the HW caps
- *  HelDesc: Structure to fill with the hardare emulation caps
+ *  HelDesc: Structure to fill with the hardware emulation caps
  *
  * Returns:
  *  D3D_OK on success
@@ -1067,7 +1067,7 @@ IDirect3DDeviceImpl_1_Pick(IDirect3DDevice *iface,
  * Params:
  *  Count: Pointer to a DWORD containing the numbers of pick records to
  *         retrieve
- *  D3DPickRec: Address to store the resulting D3DPICKRECORD arry.
+ *  D3DPickRec: Address to store the resulting D3DPICKRECORD array.
  *
  * Returns:
  *  D3D_OK, because it's a stub
index 730fcf6305858d17610ab71e1e8768551a2e9667..0e026fd1cf73e6134cd0df7eeb7b5b7fc63e11aa 100644 (file)
@@ -750,7 +750,7 @@ Thunk_IDirect3DImpl_1_FindDevice(IDirect3D *iface,
  *
  * Params:
  *  refiid: IID of the device to create
- *  Surface: Inititial rendertarget
+ *  Surface: Initial rendertarget
  *  Device: Address to return the interface pointer
  *
  * Returns:
@@ -1293,7 +1293,7 @@ IDirect3DImpl_GetCaps(IWineD3D *WineD3D,
     WINED3DCAPS WCaps;
     HRESULT hr;
 
-    /* Some Variables to asign to the pointers in WCaps */
+    /* Some variables to assign to the pointers in WCaps */
     TRACE("()->(%p,%p,%p\n", WineD3D, Desc123, Desc7);
 
     memset(&WCaps, 0, sizeof(WCaps));
index 74ddb69bda494e2ec5359cc6ff26dbf646171bc3..eec147e13e727fa05a99ab56461a2c4dd60882fb 100644 (file)
@@ -149,7 +149,7 @@ IDirect3DLightImpl_Initialize(IDirect3DLight *iface,
  * Assigns a lighting value to this object
  *
  * Params:
- *  Light: Lighting parametes to set
+ *  Light: Lighting parameter to set
  *
  * Returns:
  *  D3D_OK on success
index a33cb34e4cbbc648a8dcc497e806ff5251bc5ff9..76706eca2c287e9bce066b336f9d025a2a186a25 100644 (file)
@@ -649,7 +649,7 @@ IDirectDrawClassFactoryImpl_Release(IClassFactory *iface)
  * What is this? Seems to create DirectDraw objects...
  *
  * Params
- *  The ususal things???
+ *  The usual things???
  *
  * RETURNS
  *  ???
@@ -931,7 +931,7 @@ DllMain(HINSTANCE hInstDLL,
             struct list *entry, *entry2;
             WARN("There are still existing DirectDraw interfaces. Wine bug or buggy application?\n");
 
-            /* We remove elemets from this loop */
+            /* We remove elements from this loop */
             LIST_FOR_EACH_SAFE(entry, entry2, &global_ddraw_list)
             {
                 HRESULT hr;
@@ -950,7 +950,7 @@ DllMain(HINSTANCE hInstDLL,
 
                 /* Does a D3D device exist? Destroy it
                     * TODO: Destroy all Vertex buffers, Lights, Materials
-                    * and execture buffers too
+                    * and execute buffers too
                     */
                 if(ddraw->d3ddevice)
                 {
index 44fbe03d553ed3bb4a445ee0d14669e85e941595..5ac2ae86c0f9b22e9b56528d0906a36800d37d53 100644 (file)
@@ -125,7 +125,7 @@ IDirectDrawPaletteImpl_Release(IDirectDrawPalette *iface)
  * DDERR_ALREADYINITIALIZED
  *
  * Params:
- *  DD: DirectDraw interface this palette is asigned to
+ *  DD: DirectDraw interface this palette is assigned to
  *  Flags: Some flags, as usual
  *  ColorTable: The startup color table
  *
index da152de85f97ed08b45472e53f821af0f3ff6dde..3467a640ea25833bc54aad08676159b278bafffd 100644 (file)
@@ -287,7 +287,7 @@ IDirectDrawSurfaceImpl_Release(IDirectDrawSurface7 *iface)
         IUnknown *ifaceToRelease = This->ifaceToRelease;
         int i;
 
-        /* Complex attached surfaces are destroyed implicitely when the root is released */
+        /* Complex attached surfaces are destroyed implicitly when the root is released */
         EnterCriticalSection(&ddraw_cs);
         if(!This->is_complex_root)
         {
@@ -711,7 +711,7 @@ IDirectDrawSurfaceImpl_Flip(IDirectDrawSurface7 *iface,
      * What about overlay surfaces, AFAIK they can flip too?
      */
     if( !(This->surface_desc.ddsCaps.dwCaps & DDSCAPS_FRONTBUFFER) )
-        return DDERR_INVALIDOBJECT; /* Unckecked */
+        return DDERR_INVALIDOBJECT; /* Unchecked */
 
     EnterCriticalSection(&ddraw_cs);
 
@@ -1317,7 +1317,7 @@ IDirectDrawSurfaceImpl_PageLock(IDirectDrawSurface7 *iface,
  * Allows a sysmem surface to be paged out
  *
  * Params:
- *  Flags: Not used, must be 0(unckeched)
+ *  Flags: Not used, must be 0(unchecked)
  *
  * Returns:
  *  DD_OK, because it's a stub
index eb020a682ca896f7877cff9a65d8dae7847a49f9..b10993bc5f4a2655c93f2454b2ecd070888864ca 100644 (file)
@@ -359,7 +359,7 @@ static void LightTest(void)
     ok(rc == D3D_OK, "IDirect3DDevice7_GetCaps failed with %x\n", rc);
 
     if ( caps.dwMaxActiveLights == (DWORD) -1) {
-        /* Some cards without T&L Support return -1 (Examples: Vodoo banshee, RivaTNT / NV4) */
+        /* Some cards without T&L Support return -1 (Examples: Voodoo Banshee, RivaTNT / NV4) */
         skip("T&L not supported\n");
         return;
     }
@@ -518,7 +518,7 @@ static void ProcessVerticesTest(void)
     rc = IDirect3DVertexBuffer7_Lock(lpVBufDest2, 0, (void **) &out2, NULL);
     ok(rc==D3D_OK , "IDirect3DVertexBuffer::Lock returned: %x\n", rc);
     if(!out2) goto out;
-    /* Small thing without much practial meaning, but I stumbled upon it,
+    /* Small thing without much practical meaning, but I stumbled upon it,
      * so let's check for it: If the output vertex buffer has to RHW value,
      * The RHW value of the last vertex is written into the next vertex
      */
index 1e35e372acdb69ef8cc896bb6f812aac5fae434a..dded9914901148a26e45324aa2ed7298e4193fd6 100644 (file)
@@ -648,7 +648,7 @@ static void SrcColorKey32BlitTest(void)
     rc = IDirectDrawSurface_Blt(lpDst, NULL, lpSrc, NULL, DDBLT_KEYDEST, &fx);
     ok(rc == DD_OK, "IDirectDrawSurface_Blt returned %08x\n", rc);
 
-    /* With korrectly passed override keys no key in the surface is needed.
+    /* With correctly passed override keys no key in the surface is needed.
      * Again, the result was checked before, no need to do that again
      */
     rc = IDirectDrawSurface_Blt(lpDst, NULL, lpSrc, NULL, DDBLT_KEYDESTOVERRIDE, &fx);
@@ -2253,7 +2253,7 @@ static void PrivateDataTest(void)
     hr = IDirectDrawSurface7_GetPrivateData(surface7, &IID_IDirectDrawSurface7, &ptr, &size);
     ok(hr == DD_OK, "IDirectDrawSurface7_GetPrivateData failed with %08x\n", hr);
     ref2 = getref((IUnknown *) lpDD);
-    /* Object is NOT beein addrefed */
+    /* Object is NOT being addrefed */
     ok(ptr == (IUnknown *) lpDD, "Returned interface pointer is %p, expected %p\n", ptr, lpDD);
     ok(ref2 == ref + 1, "Object reference is %d, expected %d. ptr at %p, orig at %p\n", ref2, ref + 1, ptr, lpDD);
 
index 8eb39cdede531c57c2a71f70d1d030a56d7416be..ee5bc7f500c0ee84a2be52a4fc345dcd49d1c857 100644 (file)
@@ -554,7 +554,7 @@ static void offscreen_test(IDirect3DDevice7 *device)
         hr = IDirect3DDevice7_Clear(device, 0, NULL, D3DCLEAR_TARGET, 0xffff00ff, 0.0, 0);
         ok(hr == D3D_OK, "Clear failed, hr = %08x\n", hr);
 
-        /* Draw without textures - Should resut in a white quad */
+        /* Draw without textures - Should result in a white quad */
         hr = IDirect3DDevice7_DrawPrimitive(device, D3DPT_TRIANGLESTRIP, D3DFVF_XYZ | D3DFVF_TEX1, quad, 4, 0);
         ok(hr == D3D_OK, "DrawPrimitive failed, hr = %08x\n", hr);
 
index deb4146d92963ca82f4897bb965de2a179623218..3d78383db4fea395ce2ef366ea2063bdff177381 100644 (file)
@@ -620,7 +620,7 @@ IDirect3DViewportImpl_SetBackgroundDepth(IDirect3DViewport3 *iface,
  *
  * Params:
  *  lplpDDSurface: Address to store the interface pointer
- *  lpValid: Set to TRUE if a depth is asigned, FALSE otherwise
+ *  lpValid: Set to TRUE if a depth is assigned, FALSE otherwise
  *
  * Returns:
  *  D3D_OK, because it's a stub