]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/directx/d3dx10core/d3dx10core.factor
factor: FUNCTION: rename by hand...
[factor.git] / basis / windows / directx / d3dx10core / d3dx10core.factor
index 38271b543a928572bc0c9f9fa1e7c32806097367..b123a6866b962ea2cc922f563e998ab29c048c11 100644 (file)
@@ -1,5 +1,5 @@
 USING: alien.c-types alien.syntax classes.struct windows.com
-windows.com.syntax windows.directx.d3d10
+windows.com.syntax windows.directx windows.directx.d3d10
 windows.directx.d3d10misc windows.directx.d3dx10math
 windows.directx.dxgi windows.gdi32 windows.types ;
 IN: windows.directx.d3dx10core
@@ -13,7 +13,7 @@ FUNCTION: HRESULT D3DX10CreateDevice (
     D3D10_DRIVER_TYPE DriverType,
     HMODULE           Software,
     UINT              Flags,
-    ID3D10Device**    ppDevice ) ;
+    ID3D10Device**    ppDevice )
 
 FUNCTION: HRESULT D3DX10CreateDeviceAndSwapChain (
     IDXGIAdapter*         pAdapter,
@@ -22,19 +22,19 @@ FUNCTION: HRESULT D3DX10CreateDeviceAndSwapChain (
     UINT                  Flags,
     DXGI_SWAP_CHAIN_DESC* pSwapChainDesc,
     IDXGISwapChain**      ppSwapChain,
-    ID3D10Device**        ppDevice ) ;
+    ID3D10Device**        ppDevice )
 
 C-TYPE: ID3D10Device1
 
-FUNCTION: HRESULT D3DX10GetFeatureLevel1 ( ID3D10Device* pDevice, ID3D10Device1** ppDevice1 ) ;
+FUNCTION: HRESULT D3DX10GetFeatureLevel1 ( ID3D10Device* pDevice, ID3D10Device1** ppDevice1 )
 
-FUNCTION: HRESULT D3DX10CheckVersion ( UINT D3DSdkVersion, UINT D3DX10SdkVersion ) ;
+FUNCTION: HRESULT D3DX10CheckVersion ( UINT D3DSdkVersion, UINT D3DX10SdkVersion )
 
-CONSTANT: D3DX10_SPRITE_SORT_TEXTURE              HEX: 01
-CONSTANT: D3DX10_SPRITE_SORT_DEPTH_BACK_TO_FRONT  HEX: 02
-CONSTANT: D3DX10_SPRITE_SORT_DEPTH_FRONT_TO_BACK  HEX: 04
-CONSTANT: D3DX10_SPRITE_SAVE_STATE                HEX: 08
-CONSTANT: D3DX10_SPRITE_ADDREF_TEXTURES           HEX: 10
+CONSTANT: D3DX10_SPRITE_SORT_TEXTURE              0x01
+CONSTANT: D3DX10_SPRITE_SORT_DEPTH_BACK_TO_FRONT  0x02
+CONSTANT: D3DX10_SPRITE_SORT_DEPTH_FRONT_TO_BACK  0x04
+CONSTANT: D3DX10_SPRITE_SAVE_STATE                0x08
+CONSTANT: D3DX10_SPRITE_ADDREF_TEXTURES           0x10
 TYPEDEF: int D3DX10_SPRITE_FLAG
 
 STRUCT: D3DX10_SPRITE
@@ -64,7 +64,7 @@ FUNCTION: HRESULT
     D3DX10CreateSprite (
         ID3D10Device*         pDevice,
         UINT                  cDeviceBufferSize,
-        LPD3DX10SPRITE*       ppSprite ) ;
+        LPD3DX10SPRITE*       ppSprite )
 
 COM-INTERFACE: ID3DX10DataLoader f {00000000-0000-0000-0000-000000000000}
     HRESULT Load ( )
@@ -84,7 +84,7 @@ COM-INTERFACE: ID3DX10ThreadPump IUnknown {C93FECFA-6967-478a-ABBC-402D90621FCB}
     HRESULT PurgeAllItems ( )
     HRESULT GetQueueStatus ( UINT* pIoQueue, UINT* pProcessQueue, UINT* pDeviceQueue ) ;
 
-FUNCTION: HRESULT D3DX10CreateThreadPump ( UINT cIoThreads, UINT cProcThreads, ID3DX10ThreadPump** ppThreadPump ) ;
+FUNCTION: HRESULT D3DX10CreateThreadPump ( UINT cIoThreads, UINT cProcThreads, ID3DX10ThreadPump** ppThreadPump )
 
 STRUCT: D3DX10_FONT_DESCA
     { Height          INT               }
@@ -147,7 +147,7 @@ FUNCTION: HRESULT
         UINT                    Quality,
         UINT                    PitchAndFamily,
         LPCSTR                  pFaceName,
-        LPD3DX10FONT*           ppFont ) ;
+        LPD3DX10FONT*           ppFont )
 
 FUNCTION: HRESULT
     D3DX10CreateFontW (
@@ -162,7 +162,7 @@ FUNCTION: HRESULT
         UINT                    Quality,
         UINT                    PitchAndFamily,
         LPCWSTR                 pFaceName,
-        LPD3DX10FONT*           ppFont ) ;
+        LPD3DX10FONT*           ppFont )
 
 ALIAS: D3DX10CreateFont D3DX10CreateFontW
 
@@ -170,17 +170,17 @@ FUNCTION: HRESULT
     D3DX10CreateFontIndirectA (
         ID3D10Device*             pDevice,
         D3DX10_FONT_DESCA*        pDesc,
-        LPD3DX10FONT*             ppFont ) ;
+        LPD3DX10FONT*             ppFont )
 
 FUNCTION: HRESULT
     D3DX10CreateFontIndirectW (
         ID3D10Device*             pDevice,
         D3DX10_FONT_DESCW*        pDesc,
-        LPD3DX10FONT*             ppFont ) ;
+        LPD3DX10FONT*             ppFont )
 
 ALIAS: D3DX10CreateFontIndirect D3DX10CreateFontIndirectW
 
 FUNCTION: HRESULT D3DX10UnsetAllDeviceObjects ( ID3D10Device* pDevice ) ;
 
-CONSTANT: D3DERR_INVALIDCALL     HEX: 8876086C
-CONSTANT: D3DERR_WASSTILLDRAWING HEX: 8876021C
+CONSTANT: D3DERR_INVALIDCALL     0x8876086C
+CONSTANT: D3DERR_WASSTILLDRAWING 0x8876021C