Changeset 497 for trunk/Include/directx9


Ignore:
Timestamp:
Mar 28, 2008, 5:43:34 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

インクルードガードとその他不要な前処理定義などの削除

Location:
trunk/Include/directx9
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/directx9/d3d9caps.sbp

    r1 r497  
    11'd3d9caps.sbp
    2 
    3 
    4 #ifndef _INC_D3D9CAPS
    5 #define _INC_D3D9CAPS
    6 
    72
    83Type D3DVSHADERCAPS2_0
     
    139134    MaxVShaderInstructionsExecuted As DWord
    140135    MaxPShaderInstructionsExecuted As DWord
    141     MaxVertexShader30InstructionSlots As DWord 
     136    MaxVertexShader30InstructionSlots As DWord
    142137    MaxPixelShader30InstructionSlots As DWord
    143138End Type
     
    163158Const D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD = &H00000020
    164159
    165 ' Indicates that the device can perform a gamma correction from 
     160' Indicates that the device can perform a gamma correction from
    166161' a windowed back buffer containing linear content to the sRGB desktop.
    167162Const D3DCAPS3_LINEAR_TO_SRGB_PRESENTATION = &H00000080
     
    246241Const D3DPRASTERCAPS_SCISSORTEST         = &H01000000
    247242Const D3DPRASTERCAPS_SLOPESCALEDEPTHBIAS = &H02000000
    248 Const D3DPRASTERCAPS_DEPTHBIAS           = &H04000000 
     243Const D3DPRASTERCAPS_DEPTHBIAS           = &H04000000
    249244Const D3DPRASTERCAPS_MULTISAMPLE_TOGGLE  = &H08000000
    250245
     
    395390Const D3DDTCAPS_FLOAT16_2 = &H00000100
    396391Const D3DDTCAPS_FLOAT16_4 = &H00000200
    397 
    398 
    399 #endif '_INC_D3D9CAPS
  • trunk/Include/directx9/d3d9types.sbp

    r1 r497  
    11' d3d9types.sbp
    2 
    3 
    4 #ifndef _INC_D3D9TYPES
    5 #define _INC_D3D9TYPES
    6 
    72
    83Const D3DCOLOR_ARGB(a,r,g,b) = ((a and &HFF)<<24) or ((r and &HFF)<<16) or ((g and &HFF)<<8) or (b and &HFF)
     
    263258    D3DRS_FOGTABLEMODE              = 35   'D3DFOGMODE
    264259    D3DRS_FOGSTART                  = 36   'Fog start (for both vertex and pixel fog)
    265     D3DRS_FOGEND                    = 37   'Fog end     
    266     D3DRS_FOGDENSITY                = 38   'Fog density 
     260    D3DRS_FOGEND                    = 37   'Fog end
     261    D3DRS_FOGDENSITY                = 38   'Fog density
    267262    D3DRS_RANGEFOGENABLE            = 48   'Enables range-based fog
    268263    D3DRS_STENCILENABLE             = 52   'BOOL enable/disable stenciling
     
    983978Const D3DLOCK_NOOVERWRITE     = &H00001000
    984979Const D3DLOCK_NOSYSLOCK       = &H00000800
    985 Const D3DLOCK_DONOTWAIT       = &H00004000                 
     980Const D3DLOCK_DONOTWAIT       = &H00004000
    986981Const D3DLOCK_NO_DIRTY_UPDATE = &H00008000
    987982
     
    12041199    PostTransformVertexCacheHitRate As Single
    12051200End Type
    1206 
    1207 
    1208 #endif '_INC_D3D9TYPES
  • trunk/Include/directx9/d3dx9.sbp

    r1 r497  
    1313Const D3DX_FROM_FILE       = -3
    1414
    15 #include <directx9\d3d9.sbp>
    16 #include <directx9\d3dx9math.sbp>
    17 #include <directx9\d3dx9core.sbp>
    18 #include <directx9\d3dx9xof.sbp>
    19 #include <directx9\d3dx9mesh.sbp>
    20 #include <directx9\d3dx9shader.sbp>
    21 #include <directx9\d3dx9tex.sbp>
     15#require <directx9\d3d9.sbp>
     16#require <directx9\d3dx9math.sbp>
     17#require <directx9\d3dx9core.sbp>
     18#require <directx9\d3dx9xof.sbp>
     19#require <directx9\d3dx9mesh.sbp>
     20#require <directx9\d3dx9shader.sbp>
     21#require <directx9\d3dx9tex.sbp>
    2222
    2323
  • trunk/Include/directx9/d3dx9core.sbp

    r1 r497  
    11' d3dx9core.sbp
    2 
    3 
    4 #ifndef _INC_D3DX9CORE
    5 #define _INC_D3DX9CORE
    6 
    72
    83Class ID3DXBuffer
     
    214209
    215210Declare Function D3DXCreateLine Lib "dx9abm" Alias "D3DXCreateLine_abm" (pDevice As LPDIRECT3DDEVICE9, ppLine As **ID3DXLine) As DWord
    216 
    217 
    218 #endif '_INC_D3DX9CORE
  • trunk/Include/directx9/d3dx9math.sbp

    r1 r497  
    11'd3dx9math.sbp
    2 
    3 
    4 #ifndef _INC_D3DX9MATH
    5 #define _INC_D3DX9MATH
    6 
    72
    83'---------------------------
     
    3631
    3732Type D3DXMATRIX
    38     m[3,3] As Single
     33    m[3,3] As Single
    3934End Type
    4035
     
    265260
    266261Declare Function D3DXCreateMatrixStack Lib "dx9abm" Alias "D3DXCreateMatrixStack_abm" (Flags As DWord, ppStack As **ID3DXMatrixStack) As DWord
    267 
    268 
    269 #endif '_INC_D3DX9MATH
  • trunk/Include/directx9/d3dx9mesh.sbp

    r1 r497  
    11'd3dx9mesh.sbp
    2 
    3 
    4 #ifndef _INC_D3DX9MESH
    5 #define _INC_D3DX9MESH
    6 
    72
    83' patch mesh can be quads or tris
     
    1914    D3DXMESH_32BIT                  = &H001  'If set, then use 32 bit indices, if not set use 16 bit indices.
    2015    D3DXMESH_DONOTCLIP              = &H002  'Use D3DUSAGE_DONOTCLIP for VB & IB.
    21     D3DXMESH_POINTS                 = &H004  'Use D3DUSAGE_POINTS for VB & IB. 
    22     D3DXMESH_RTPATCHES              = &H008  'Use D3DUSAGE_RTPATCHES for VB & IB. 
    23     D3DXMESH_NPATCHES               = &H4000 'Use D3DUSAGE_NPATCHES for VB & IB. 
     16    D3DXMESH_POINTS                 = &H004  'Use D3DUSAGE_POINTS for VB & IB.
     17    D3DXMESH_RTPATCHES              = &H008  'Use D3DUSAGE_RTPATCHES for VB & IB.
     18    D3DXMESH_NPATCHES               = &H4000 'Use D3DUSAGE_NPATCHES for VB & IB.
    2419    D3DXMESH_VB_SYSTEMMEM           = &H010  'Use D3DPOOL_SYSTEMMEM for VB. Overrides D3DXMESH_MANAGEDVERTEXBUFFER
    25     D3DXMESH_VB_MANAGED             = &H020  'Use D3DPOOL_MANAGED for VB. 
     20    D3DXMESH_VB_MANAGED             = &H020  'Use D3DPOOL_MANAGED for VB.
    2621    D3DXMESH_VB_WRITEONLY           = &H040  'Use D3DUSAGE_WRITEONLY for VB.
    2722    D3DXMESH_VB_DYNAMIC             = &H080  'Use D3DUSAGE_DYNAMIC for VB.
     
    7469
    7570Const Enum D3DXEFFECTDEFAULTTYPE
    76     D3DXEDT_STRING = &H1       ' pValue points to a null terminated ASCII string 
     71    D3DXEDT_STRING = &H1       ' pValue points to a null terminated ASCII string
    7772    D3DXEDT_FLOATS = &H2       ' pValue points to an array of floats - number of floats is NumBytes / sizeof(float)
    7873    D3DXEDT_DWORD  = &H3       ' pValue points to a DWORD
     
    292287    Abstract Function GetPatchInfo(PatchInfo As *D3DXPATCHINFO) As DWord
    293288
    294     'Control mesh access   
     289    'Control mesh access
    295290    Abstract Function GetVertexBuffer(ppVB As **IDirect3DVertexBuffer9) As DWord
    296291    Abstract Function GetIndexBuffer(ppIB As **IDirect3DIndexBuffer9) As DWord
     
    336331    'Set min bone influence. Bone influences that are smaller than this are ignored
    337332    Abstract Function SetMinBoneInfluence(MinInfl As Single) As DWord
    338     'Get min bone influence. 
     333    'Get min bone influence.
    339334    Abstract Function GetMinBoneInfluence() As Single
    340335
     
    350345    Abstract Function Clone(ppSkinInfo As **ID3DXSkinInfo) As DWord
    351346
    352     'Update bone influence information to match vertices after they are reordered. This should be called 
     347    'Update bone influence information to match vertices after they are reordered. This should be called
    353348    'if the target vertex buffer has been reordered externally.
    354349    Abstract Function Remap(NumVertices As DWord, pVertexRemap As DWordPtr) As DWord
     
    367362    Abstract Function ConvertToBlendedMesh(pMesh As *ID3DXMesh, Options As DWord, pAdjacencyIn As DWordPtr, pAdjacencyOut As DWordPtr, pFaceRemap As DWordPtr, ppVertexRemap As **ID3DXBuffer, pMaxFaceInfl As DWordPtr, pNumBoneCombinations As DWordPtr, ppBoneCombinationTable As **ID3DXBuffer, ppMesh As **ID3DXMesh) As DWord
    368363
    369     'Takes a mesh and returns a new mesh with per vertex blend weights and indices 
     364    'Takes a mesh and returns a new mesh with per vertex blend weights and indices
    370365    'and a bone combination table that describes which bones palettes affect which subsets of the mesh
    371366    Abstract Function ConvertToIndexedBlendedMesh(pMesh As *ID3DXMesh, Options As DWord, paletteSize As DWord, pAdjacencyIn As DWordPtr, pAdjacencyOut As DWordPtr, pFaceRemap As DWordPtr, ppVertexRemap As **ID3DXBuffer, pMaxVertexInfl As DWordPtr, pNumBoneCombinations As DWordPtr, ppBoneCombinationTable As **ID3DXBuffer, ppMesh As **ID3DXMesh) As DWord
     
    430425Declare Function D3DXOptimizeFaces Lib "dx9abm" Alias "D3DXOptimizeFaces_abm" (pbIndices As VoidPtr, cFaces As DWord, cVertices As DWord, b32BitIndices As Long, pFaceRemap As DWordPtr) As DWord
    431426Declare Function D3DXOptimizeVertices Lib "dx9abm" Alias "D3DXOptimizeVertices_abm" (pbIndices As VoidPtr, cFaces As DWord, cVertices As DWord, b32BitIndices As Long, pFaceRemap As DWordPtr) As DWord
    432 
    433 
    434 #endif '_INC_D3DX9MESH
  • trunk/Include/directx9/d3dx9shader.sbp

    r1 r497  
    11' d3dx9shader.sbp
    2 
    3 
    4 #ifndef _INC_D3DX9SHADER
    5 #define _INC_D3DX9SHADER
    6 
    72
    83TypeDef D3DXHANDLE = BytePtr
     
    217212Declare Function D3DXCompileShaderFromResource Lib "dx9abm" Alias "D3DXCompileShaderFromResource_abm" (hSrcModule As HINSTANCE, pSrcResource As BytePtr, pDefines As *D3DXMACRO, pInclude As LPD3DXINCLUDE, pFunctionName As BytePtr, pProfile As BytePtr, Flags As DWord, ppShader As *LPD3DXBUFFER, ppErrorMsgs As *LPD3DXBUFFER, ppConstantTable As *LPD3DXCONSTANTTABLE) As DWord
    218213Declare Function D3DXCompileShader Lib "dx9abm" Alias "D3DXCompileShader_abm" (pSrcData As BytePtr, SrcDataLen As DWord, pDefines As *D3DXMACRO, pInclude As LPD3DXINCLUDE, pFunctionName As BytePtr, pProfile As BytePtr, Flags As DWord, ppShader As *LPD3DXBUFFER, ppErrorMsgs As *LPD3DXBUFFER, ppConstantTable As *LPD3DXCONSTANTTABLE) As DWord
    219 
    220 
    221 #endif '_INC_D3DX9SHADER
  • trunk/Include/directx9/d3dx9tex.sbp

    r381 r497  
    11'd3dx9tex.sbp
    2 
    3 
    4 #ifndef _INC_D3DX9TEX
    5 #define _INC_D3DX9TEX
    6 
    72
    83' D3DX_FILTER flags
     
    143138Declare Function D3DXFillVolumeTextureTX Lib "dx9abm" Alias "D3DXFillVolumeTextureTX_abm" (pVolumeTexture As LPDIRECT3DVOLUMETEXTURE9, pTextureShader As LPD3DXTEXTURESHADER) As DWord
    144139Declare Function D3DXComputeNormalMap Lib "dx9abm" Alias "D3DXComputeNormalMap_abm" (pTexture As LPDIRECT3DTEXTURE9, pSrcTexture As LPDIRECT3DTEXTURE9, pSrcPalette As *PALETTEENTRY, Flags As DWord, Channel As DWord, Amplitude As Single) As DWord
    145 
    146 
    147 #endif '_INC_D3DX9TEX
    148 
  • trunk/Include/directx9/d3dx9xof.sbp

    r1 r497  
    11' d3dx9xof.sbp
    2 
    3 
    4 #ifndef _INC_D3DX9XOF
    5 #define _INC_D3DX9XOF
    6 
    72
    83Class ID3DXFile
     
    6459'未完成
    6560'Declare Function  Lib "dx9abm" Alias "_abm" () As DWord
    66 
    67 
    68 #endif '_INC_D3DX9XOF
  • trunk/Include/directx9/dmdls.sbp

    r1 r497  
    11' dmdls.sbp - DLS download definitions for DirectMusic API's
    2 
    3 
    4 #ifndef _INC_DMDLS
    5 #define _INC_DMDLS
    6 
    72
    83Type DMUS_NOTERANGE
     
    105    dwHighNote As DWord  'Sets the high note for the range of MIDI note events to which the instrument responds.
    116End Type
    12 
    13 
    14 #endif '_INC_DMDLS
  • trunk/Include/directx9/dmplugin.sbp

    r1 r497  
    11' dmplugin.sbp - This module contains the API for plugins for the DirectMusic performance layer
    2 
    3 
    4 #ifndef _INC_DMPLUGIN
    5 #define _INC_DMPLUGIN
    6 
    72
    83Class IDirectMusicTool
     
    5348    Abstract Function EndPlay(pStateData As VoidPtr) As DWord
    5449    Abstract Function Play(pStateData As VoidPtr, mtStart As MUSIC_TIME, mtEnd As MUSIC_TIME, mtOffset As MUSIC_TIME, dwFlags As DWord, pPerf As *IDirectMusicPerformance, pSegSt As *IDirectMusicSegmentState, dwVirtualID As DWord) As DWord
    55     Abstract Function GetParam(ByRef rguidType As GUID, mtTime As MUSIC_TIME, pmtNext As *MUSIC_TIME, pParam As VoidPtr) As DWord 
     50    Abstract Function GetParam(ByRef rguidType As GUID, mtTime As MUSIC_TIME, pmtNext As *MUSIC_TIME, pParam As VoidPtr) As DWord
    5651    Abstract Function SetParam(ByRef rguidType As GUID, mtTime As MUSIC_TIME, pParam As VoidPtr) As DWord
    5752    Abstract Function IsParamSupported(ByRef rguidType As GUID) As DWord
     
    7166    Abstract Function Join(pNewTrack As *IDirectMusicTrack, mtJoin As MUSIC_TIME, pContext As *IUnknown, dwTrackGroup As DWord, ppResultTrack As **IDirectMusicTrack) As DWord
    7267End Class
    73 
    74 
    75 #endif '_INC_DMPLUGIN
  • trunk/Include/directx9/dmusic.sbp

    r1 r497  
    66
    77
    8 #include <directx9\dsound.sbp>
    9 #include <directx9\dmdls.sbp>
    10 #include <directx9\dmusicc.sbp>
    11 #include <directx9\dmplugin.sbp>
     8#require <directx9\dsound.sbp>
     9#require <directx9\dmdls.sbp>
     10#require <directx9\dmusicc.sbp>
     11#require <directx9\dmplugin.sbp>
    1212
    1313
  • trunk/Include/directx9/dmusicc.sbp

    r1 r497  
    11' dmusicc.sbp - This module defines the DirectMusic core API's
    2 
    3 
    4 #ifndef _INC_DMUSICC
    5 #define _INC_DMUSICC
    6 
    72
    83Const DMUS_MAX_DESCRIPTION = 128
     
    5348    dwMemorySize As DWord
    5449    dwMaxChannelGroups As DWord
    55     dwMaxVoices As DWord   
     50    dwMaxVoices As DWord
    5651    dwMaxAudioChannels As DWord
    5752    dwEffectFlags As DWord
     
    262257Dim IID_IDirectMusicInstrument = [&Hd2ac287d, &Hb39b, &H11d1, [&H87, &H4, &H0, &H60, &H8, &H93, &Hb1, &Hbd]] As GUID
    263258Dim IID_IDirectMusicDownloadedInstrument = [&Hd2ac287e, &Hb39b, &H11d1, [&H87, &H4, &H0, &H60, &H8, &H93, &Hb1, &Hbd]] As GUID
    264 
    265 
    266 #endif '_INC_DMUSICC
  • trunk/Include/directx9/dsound.sbp

    r1 r497  
    11' dsound.sbp
    2 
    3 
    4 #ifndef _INC_DSOUND
    5 #define _INC_DSOUND
    6 
    7 
    82Const DIRECTSOUND_VERSION = &H0900
    93
     
    634628' Waves Reverberation {87FC0268-9A55-4360-95AA-004A1D9DE26C}
    635629Dim GUID_DSFX_WAVES_REVERB = [&H87fc0268, &H9a55, &H4360, [&H95, &Haa, &H00, &H4a, &H1d, &H9d, &He2, &H6c]] As GUID
    636 
    637 
    638 #endif '_INC_DSOUND
Note: See TracChangeset for help on using the changeset viewer.