Changeset 105

Show
Ignore:
Timestamp:
05/24/05 12:03:37 (4 years ago)
Author:
aldacron
Message:

* removed all Windows Makefiles - windows builds now depend upon Build entirely
* updated the build instructions in each package's README to reflect the use of Build
* [DerelictGL] pulled the GDI stuff out of wgl.d and put it into the new wingdi.d. wgl.d now imports wingdi.d privately, so that the declarations shouldn't affect any other 3rd party GDI header ports.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/DerelictAL/README

    r103 r105  
    66To build DerelictAL on Windows: 
    77 
    8 1) ensure that both dmd\bin and dm\bin are on your path 
     81) ensure that Derek Parnell's Build utility is on your path OR that the path 
     9to it is configured in buildconfig.bat in your toplevel Derelict directory 
     10(henceforth known as <derelict_dir>). See the documentation in  
     11<derelict_dir>\docs\build.html for more information on setting up Build and 
     12configuring Derelict's Build scripts. 
    9132) from a command prompt, cd to <derelict_dir>\DerelictAL 
    10 3) type 'make' or 'make all' to build derelictAL.lib   
    11 4) optionally type 'make clean' to delete all object files OR 
    12    optionally type 'make cleanall' to delete all object and lib files 
     143) type buildme.bat 
     154) when the build completes, your command prompt will be back in <derelict_dir>, 
     16and the file derelictAL.lib will be located in <derelict_dir>\lib. 
    1317 
    1418-------------------------------------------------------------------------------- 
  • trunk/DerelictGL/README

    r103 r105  
    66To build DerelictGL on Windows: 
    77 
    8 1) ensure that both dmd\bin and dm\bin are on your path 
     81) ensure that Derek Parnell's Build utility is on your path OR that the path 
     9to it is configured in buildconfig.bat in your toplevel Derelict directory 
     10(henceforth known as <derelict_dir>). See the documentation in  
     11<derelict_dir>\docs\build.html for more information on setting up Build and 
     12configuring Derelict's Build scripts. 
    9132) from a command prompt, cd to <derelict_dir>\DerelictGL 
    10 3) type 'make' or 'make all' to build derelictGL.lib 
    11 4) optionally type 'make clean' to delete all object files OR 
    12    optionally type 'make cleanall' to delete all object and lib files 
     143) type buildme.bat 
     154) when the build completes, your command prompt will be back in <derelict_dir>, 
     16and the file derelictGL.lib will be located in <derelict_dir>\lib. 
    1317    
    1418-------------------------------------------------------------------------------- 
  • trunk/DerelictGL/derelict/opengl/wgl.d

    r82 r105  
    77    import derelict.opengl.gltypes; 
    88    import derelict.opengl.internal; 
     9    import derelict.opengl.wingdi; 
    910    import std.c.windows.windows; 
    1011} 
    1112 
    12 // Some types not present in std.c.windows.windows 
    13 //------------------------------------------------------------------------------ 
    14 alias DWORD COLORREF; 
    15  
    16 struct LAYERPLANEDESCRIPTOR 
    17 { 
    18     WORD nSize; 
    19     WORD nVersion; 
    20     DWORD dwFlags; 
    21     BYTE iPixelType; 
    22     BYTE cColorBits; 
    23     BYTE cRedBits; 
    24     BYTE cRedShift; 
    25     BYTE cGreenBits; 
    26     BYTE cGreenShift; 
    27     BYTE cBlueBits; 
    28     BYTE cBlueShift; 
    29     BYTE cAlphaBits; 
    30     BYTE cAlphaShift; 
    31     BYTE cAccumBits; 
    32     BYTE cAccumRedBits; 
    33     BYTE cAccumGreenBits; 
    34     BYTE cAccumBlueBits; 
    35     BYTE cAccumAlphaBits; 
    36     BYTE cDepthBits; 
    37     BYTE cStencilBits; 
    38     BYTE cAuxBuffers; 
    39     BYTE iLayerPlane; 
    40     BYTE bReserved; 
    41     COLORREF crTransparent; 
    42 } 
    43  
    44 struct POINTFLOAT 
    45 { 
    46     FLOAT x; 
    47     FLOAT y; 
    48 } 
    49  
    50 struct GLYPHMETRICSFLOAT 
    51 { 
    52     FLOAT gmfBlackBoxX; 
    53     FLOAT gmfBlackBoxY; 
    54     POINTFLOAT gmfptGlyphOrigin; 
    55     FLOAT gmfCellIncX; 
    56     FLOAT gmfCellIncY; 
    57 } 
    58  
    59 /* pixel types */ 
    60 const BYTE PFD_TYPE_RGBA                    = 0; 
    61 const BYTE PFD_TYPE_COLORINDEX              = 1; 
    62  
    63 /* layer types */ 
    64 const int PFD_MAIN_PLANE                   = 0; 
    65 const int PFD_OVERLAY_PLANE                = 1; 
    66 const int PFD_UNDERLAY_PLANE               = -1; 
    67  
    68 /* PIXELFORMATDESCRIPTOR flags */ 
    69 const DWORD PFD_DOUBLEBUFFER                = 0x00000001; 
    70 const DWORD PFD_STEREO                      = 0x00000002; 
    71 const DWORD PFD_DRAW_TO_WINDOW              = 0x00000004; 
    72 const DWORD PFD_DRAW_TO_BITMAP              = 0x00000008; 
    73 const DWORD PFD_SUPPORT_GDI                 = 0x00000010; 
    74 const DWORD PFD_SUPPORT_OPENGL              = 0x00000020; 
    75 const DWORD PFD_GENERIC_FORMAT              = 0x00000040; 
    76 const DWORD PFD_NEED_PALETTE                = 0x00000080; 
    77 const DWORD PFD_NEED_SYSTEM_PALETTE         = 0x00000100; 
    78 const DWORD PFD_SWAP_EXCHANGE               = 0x00000200; 
    79 const DWORD PFD_SWAP_COPY                   = 0x00000400; 
    80 const DWORD PFD_SWAP_LAYER_BUFFERS          = 0x00000800; 
    81 const DWORD PFD_GENERIC_ACCELERATED         = 0x00001000; 
    82 const DWORD PFD_SUPPORT_DIRECTDRAW          = 0x00002000; 
    83  
    84 /* PIXELFORMATDESCRIPTOR flags for use in ChoosePixelFormat only */ 
    85 const DWORD PFD_DEPTH_DONTCARE              = 0x20000000; 
    86 const DWORD PFD_DOUBLBUFFER_DONTCARE        = 0x40000000; 
    87 const DWORD PFD_STEREO_DONTCARE             = 0x80000000; 
    8813//------------------------------------------------------------------------------ 
    8914 
    9015extern(Windows) 
    9116{ 
    92     // function prototypes from gdi32 
    93     export int ChoosePixelFormat(HDC,PIXELFORMATDESCRIPTOR*); 
    94     export int GetPixelFormat(HDC); 
    95     extern int DescribePixelFormat(HDC,int,UINT,PIXELFORMATDESCRIPTOR*); 
    96     export BOOL SwapBuffers(HDC); 
    97  
    9817    // WGL functions 
    9918    typedef BOOL function(HGLRC,HGLRC) pfwglCopyContext; 
  • trunk/DerelictGLFW/README

    r87 r105  
    4747To build DerelictGLFW on Windows: 
    4848 
    49 1) ensure that both dmd\bin and dm\bin are in your path 
     491) ensure that Derek Parnell's Build utility is on your path OR that the path 
     50to it is configured in buildconfig.bat in your toplevel Derelict directory 
     51(henceforth known as <derelict_dir>). See the documentation in  
     52<derelict_dir>\docs\build.html for more information on setting up Build and 
     53configuring Derelict's Build scripts. 
    50542) from a command prompt, cd to <derelict_dir>\DerelictGLFW 
    51 3) type 'make' or 'make all' to build derelictGLU.lib 
    52 4) optionally type 'make clean' to delete all object files OR optionally type 'make cleanall' to delete all object and link files. 
    53  
    54  
    55  
     553) type buildme.bat 
     564) when the build completes, your command prompt will be back in <derelict_dir>, 
     57and the file derelictGLFW.lib will be located in <derelict_dir>\lib. 
    5658 
    5759 
  • trunk/DerelictGLU/README

    r103 r105  
    5454To build DerelictGLU on Windows: 
    5555 
    56 1) ensure that both dmd\bin and dm\bin are on your path 
     561) ensure that Derek Parnell's Build utility is on your path OR that the path 
     57to it is configured in buildconfig.bat in your toplevel Derelict directory 
     58(henceforth known as <derelict_dir>). See the documentation in  
     59<derelict_dir>\docs\build.html for more information on setting up Build and 
     60configuring Derelict's Build scripts. 
    57612) from a command prompt, cd to <derelict_dir>\DerelictGLU 
    58 3) type 'make' or 'make all' to build derelictGLU.lib     
    59 4) optionally type 'make clean' to delete all object files OR 
    60    optionally type 'make cleanall' to delete all object, and lib files 
    61     
     623) type buildme.bat 
     634) when the build completes, your command prompt will be back in <derelict_dir>, 
     64and the file derelictGLU.lib will be located in <derelict_dir>\lib. 
     65 
    6266-------------------------------------------------------------------------------- 
    6367To build DerelictGLU on Linux: 
  • trunk/DerelictSDL/README

    r103 r105  
    6060To build DerelictSDL on Windows: 
    6161 
    62 1) ensure that both dmd\bin and dm\bin are on your path 
     621) ensure that Derek Parnell's Build utility is on your path OR that the path 
     63to it is configured in buildconfig.bat in your toplevel Derelict directory 
     64(henceforth known as <derelict_dir>). See the documentation in  
     65<derelict_dir>\docs\build.html for more information on setting up Build and 
     66configuring Derelict's Build scripts. 
    63672) from a command prompt, cd to <derelict_dir>\DerelictSDL 
    64 3) type 'make' or 'make all' to build derelictSDL.lib 
    65 4) optionally type 'make clean' to delete all object files OR 
    66    optionally type 'make cleanall' to delete all object and lib files 
     683) type buildme.bat 
     694) when the build completes, your command prompt will be back in <derelict_dir>, 
     70and the file derelictSDL.lib will be located in <derelict_dir>\lib. 
    6771    
    6872-------------------------------------------------------------------------------- 
  • trunk/DerelictSDLImage/README

    r72 r105  
    5858To build DerelictSDLImage on Windows: 
    5959 
    60 1) ensure that both dmd\bin and dm\bin are on your path 
     601) ensure that Derek Parnell's Build utility is on your path OR that the path 
     61to it is configured in buildconfig.bat in your toplevel Derelict directory 
     62(henceforth known as <derelict_dir>). See the documentation in  
     63<derelict_dir>\docs\build.html for more information on setting up Build and 
     64configuring Derelict's Build scripts. 
    61652) from a command prompt, cd to <derelict_dir>\DerelictSDLImage 
    62 3) type 'make' or 'make all' to build derelictSDLImage.lib 
    63 4) optionally type 'make clean' to delete all object files OR 
    64    optionally type 'make cleanall' to delete all object and lib files 
     663) type buildme.bat 
     674) when the build completes, your command prompt will be back in <derelict_dir>, 
     68and the file derelictSDLImage.lib will be located in <derelict_dir>\lib. 
    6569    
    6670-------------------------------------------------------------------------------- 
  • trunk/DerelictSDLMixer/README

    r72 r105  
    6666To build DerelictSDLMixer on Windows: 
    6767 
    68 1) ensure that both dmd\bin and dm\bin are on your path 
     681) ensure that Derek Parnell's Build utility is on your path OR that the path 
     69to it is configured in buildconfig.bat in your toplevel Derelict directory 
     70(henceforth known as <derelict_dir>). See the documentation in  
     71<derelict_dir>\docs\build.html for more information on setting up Build and 
     72configuring Derelict's Build scripts. 
    69732) from a command prompt, cd to <derelict_dir>\DerelictSDLMixer 
    70 3) type 'make' or 'make all' to build derelictSDLMixer.lib 
    71 4) optionally type 'make clean' to delete all object files OR 
    72    optionally type 'make cleanall' to delete all object and lib files 
     743) type buildme.bat 
     754) when the build completes, your command prompt will be back in <derelict_dir>, 
     76and the file derelictSDLMixer.lib will be located in <derelict_dir>\lib. 
    7377    
    7478-------------------------------------------------------------------------------- 
  • trunk/DerelictSDLNet/README

    r72 r105  
    5858To build DerelictSDLNet on Windows: 
    5959 
    60 1) ensure that both dmd\bin and dm\bin are on your path 
     601) ensure that Derek Parnell's Build utility is on your path OR that the path 
     61to it is configured in buildconfig.bat in your toplevel Derelict directory 
     62(henceforth known as <derelict_dir>). See the documentation in  
     63<derelict_dir>\docs\build.html for more information on setting up Build and 
     64configuring Derelict's Build scripts. 
    61652) from a command prompt, cd to <derelict_dir>\DerelictSDLNet 
    62 3) type 'make' or 'make all' to build derelictSDLNet.lib 
    63 4) optionally type 'make clean' to delete all object files OR 
    64    optionally type 'make cleanall' to delete all object and lib files 
     663) type buildme.bat 
     674) when the build completes, your command prompt will be back in <derelict_dir>, 
     68and the file derelictSDLNet.lib will be located in <derelict_dir>\lib. 
    6569    
    6670-------------------------------------------------------------------------------- 
  • trunk/DerelictSDLttf/README

    r72 r105  
    6262To build DerelictSDLttf on Windows: 
    6363 
    64 1) ensure that both dmd\bin and dm\bin are on your path 
     641) ensure that Derek Parnell's Build utility is on your path OR that the path 
     65to it is configured in buildconfig.bat in your toplevel Derelict directory 
     66(henceforth known as <derelict_dir>). See the documentation in  
     67<derelict_dir>\docs\build.html for more information on setting up Build and 
     68configuring Derelict's Build scripts. 
    65692) from a command prompt, cd to <derelict_dir>\DerelictSDLttf 
    66 3) type 'make' or 'make all' to build derelictSDLttf.lib 
    67 4) optionally type 'make clean' to delete all object files OR 
    68    optionally type 'make cleanall' to delete all object and lib files 
     703) type buildme.bat 
     714) when the build completes, your command prompt will be back in <derelict_dir>, 
     72and the file derelictSDLttf.lib will be located in <derelict_dir>\lib. 
    6973    
    7074--------------------------------------------------------------------------------