Changeset 105
- Timestamp:
- 05/24/05 12:03:37 (4 years ago)
- Files:
-
- trunk/DerelictAL/Makefile (deleted)
- trunk/DerelictAL/README (modified) (1 diff)
- trunk/DerelictGL/Makefile (deleted)
- trunk/DerelictGL/README (modified) (1 diff)
- trunk/DerelictGL/derelict/opengl/wgl.d (modified) (1 diff)
- trunk/DerelictGLFW/Makefile (deleted)
- trunk/DerelictGLFW/README (modified) (1 diff)
- trunk/DerelictGLU/Makefile (deleted)
- trunk/DerelictGLU/README (modified) (1 diff)
- trunk/DerelictSDL/Makefile (deleted)
- trunk/DerelictSDL/README (modified) (1 diff)
- trunk/DerelictSDLImage/Makefile (deleted)
- trunk/DerelictSDLImage/README (modified) (1 diff)
- trunk/DerelictSDLMixer/Makefile (deleted)
- trunk/DerelictSDLMixer/README (modified) (1 diff)
- trunk/DerelictSDLNet/Makefile (deleted)
- trunk/DerelictSDLNet/README (modified) (1 diff)
- trunk/DerelictSDLttf/Makefile (deleted)
- trunk/DerelictSDLttf/README (modified) (1 diff)
- trunk/DerelictUtil/Makefile (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/DerelictAL/README
r103 r105 6 6 To build DerelictAL on Windows: 7 7 8 1) ensure that both dmd\bin and dm\bin are on your path 8 1) ensure that Derek Parnell's Build utility is on your path OR that the path 9 to 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 12 configuring Derelict's Build scripts. 9 13 2) from a command prompt, cd to <derelict_dir>\DerelictAL 10 3) type 'make' or 'make all' to build derelictAL.lib11 4) optionally type 'make clean' to delete all object files OR12 optionally type 'make cleanall' to delete all object and lib files 14 3) type buildme.bat 15 4) when the build completes, your command prompt will be back in <derelict_dir>, 16 and the file derelictAL.lib will be located in <derelict_dir>\lib. 13 17 14 18 -------------------------------------------------------------------------------- trunk/DerelictGL/README
r103 r105 6 6 To build DerelictGL on Windows: 7 7 8 1) ensure that both dmd\bin and dm\bin are on your path 8 1) ensure that Derek Parnell's Build utility is on your path OR that the path 9 to 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 12 configuring Derelict's Build scripts. 9 13 2) from a command prompt, cd to <derelict_dir>\DerelictGL 10 3) type 'make' or 'make all' to build derelictGL.lib11 4) optionally type 'make clean' to delete all object files OR12 optionally type 'make cleanall' to delete all object and lib files 14 3) type buildme.bat 15 4) when the build completes, your command prompt will be back in <derelict_dir>, 16 and the file derelictGL.lib will be located in <derelict_dir>\lib. 13 17 14 18 -------------------------------------------------------------------------------- trunk/DerelictGL/derelict/opengl/wgl.d
r82 r105 7 7 import derelict.opengl.gltypes; 8 8 import derelict.opengl.internal; 9 import derelict.opengl.wingdi; 9 10 import std.c.windows.windows; 10 11 } 11 12 12 // Some types not present in std.c.windows.windows13 //------------------------------------------------------------------------------14 alias DWORD COLORREF;15 16 struct LAYERPLANEDESCRIPTOR17 {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 POINTFLOAT45 {46 FLOAT x;47 FLOAT y;48 }49 50 struct GLYPHMETRICSFLOAT51 {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;88 13 //------------------------------------------------------------------------------ 89 14 90 15 extern(Windows) 91 16 { 92 // function prototypes from gdi3293 export int ChoosePixelFormat(HDC,PIXELFORMATDESCRIPTOR*);94 export int GetPixelFormat(HDC);95 extern int DescribePixelFormat(HDC,int,UINT,PIXELFORMATDESCRIPTOR*);96 export BOOL SwapBuffers(HDC);97 98 17 // WGL functions 99 18 typedef BOOL function(HGLRC,HGLRC) pfwglCopyContext; trunk/DerelictGLFW/README
r87 r105 47 47 To build DerelictGLFW on Windows: 48 48 49 1) ensure that both dmd\bin and dm\bin are in your path 49 1) ensure that Derek Parnell's Build utility is on your path OR that the path 50 to 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 53 configuring Derelict's Build scripts. 50 54 2) 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 55 3) type buildme.bat 56 4) when the build completes, your command prompt will be back in <derelict_dir>, 57 and the file derelictGLFW.lib will be located in <derelict_dir>\lib. 56 58 57 59 trunk/DerelictGLU/README
r103 r105 54 54 To build DerelictGLU on Windows: 55 55 56 1) ensure that both dmd\bin and dm\bin are on your path 56 1) ensure that Derek Parnell's Build utility is on your path OR that the path 57 to 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 60 configuring Derelict's Build scripts. 57 61 2) from a command prompt, cd to <derelict_dir>\DerelictGLU 58 3) type 'make' or 'make all' to build derelictGLU.lib59 4) optionally type 'make clean' to delete all object files OR60 optionally type 'make cleanall' to delete all object, and lib files 61 62 3) type buildme.bat 63 4) when the build completes, your command prompt will be back in <derelict_dir>, 64 and the file derelictGLU.lib will be located in <derelict_dir>\lib. 65 62 66 -------------------------------------------------------------------------------- 63 67 To build DerelictGLU on Linux: trunk/DerelictSDL/README
r103 r105 60 60 To build DerelictSDL on Windows: 61 61 62 1) ensure that both dmd\bin and dm\bin are on your path 62 1) ensure that Derek Parnell's Build utility is on your path OR that the path 63 to 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 66 configuring Derelict's Build scripts. 63 67 2) from a command prompt, cd to <derelict_dir>\DerelictSDL 64 3) type 'make' or 'make all' to build derelictSDL.lib65 4) optionally type 'make clean' to delete all object files OR66 optionally type 'make cleanall' to delete all object and lib files 68 3) type buildme.bat 69 4) when the build completes, your command prompt will be back in <derelict_dir>, 70 and the file derelictSDL.lib will be located in <derelict_dir>\lib. 67 71 68 72 -------------------------------------------------------------------------------- trunk/DerelictSDLImage/README
r72 r105 58 58 To build DerelictSDLImage on Windows: 59 59 60 1) ensure that both dmd\bin and dm\bin are on your path 60 1) ensure that Derek Parnell's Build utility is on your path OR that the path 61 to 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 64 configuring Derelict's Build scripts. 61 65 2) from a command prompt, cd to <derelict_dir>\DerelictSDLImage 62 3) type 'make' or 'make all' to build derelictSDLImage.lib63 4) optionally type 'make clean' to delete all object files OR64 optionally type 'make cleanall' to delete all object and lib files 66 3) type buildme.bat 67 4) when the build completes, your command prompt will be back in <derelict_dir>, 68 and the file derelictSDLImage.lib will be located in <derelict_dir>\lib. 65 69 66 70 -------------------------------------------------------------------------------- trunk/DerelictSDLMixer/README
r72 r105 66 66 To build DerelictSDLMixer on Windows: 67 67 68 1) ensure that both dmd\bin and dm\bin are on your path 68 1) ensure that Derek Parnell's Build utility is on your path OR that the path 69 to 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 72 configuring Derelict's Build scripts. 69 73 2) from a command prompt, cd to <derelict_dir>\DerelictSDLMixer 70 3) type 'make' or 'make all' to build derelictSDLMixer.lib71 4) optionally type 'make clean' to delete all object files OR72 optionally type 'make cleanall' to delete all object and lib files 74 3) type buildme.bat 75 4) when the build completes, your command prompt will be back in <derelict_dir>, 76 and the file derelictSDLMixer.lib will be located in <derelict_dir>\lib. 73 77 74 78 -------------------------------------------------------------------------------- trunk/DerelictSDLNet/README
r72 r105 58 58 To build DerelictSDLNet on Windows: 59 59 60 1) ensure that both dmd\bin and dm\bin are on your path 60 1) ensure that Derek Parnell's Build utility is on your path OR that the path 61 to 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 64 configuring Derelict's Build scripts. 61 65 2) from a command prompt, cd to <derelict_dir>\DerelictSDLNet 62 3) type 'make' or 'make all' to build derelictSDLNet.lib63 4) optionally type 'make clean' to delete all object files OR64 optionally type 'make cleanall' to delete all object and lib files 66 3) type buildme.bat 67 4) when the build completes, your command prompt will be back in <derelict_dir>, 68 and the file derelictSDLNet.lib will be located in <derelict_dir>\lib. 65 69 66 70 -------------------------------------------------------------------------------- trunk/DerelictSDLttf/README
r72 r105 62 62 To build DerelictSDLttf on Windows: 63 63 64 1) ensure that both dmd\bin and dm\bin are on your path 64 1) ensure that Derek Parnell's Build utility is on your path OR that the path 65 to 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 68 configuring Derelict's Build scripts. 65 69 2) from a command prompt, cd to <derelict_dir>\DerelictSDLttf 66 3) type 'make' or 'make all' to build derelictSDLttf.lib67 4) optionally type 'make clean' to delete all object files OR68 optionally type 'make cleanall' to delete all object and lib files 70 3) type buildme.bat 71 4) when the build completes, your command prompt will be back in <derelict_dir>, 72 and the file derelictSDLttf.lib will be located in <derelict_dir>\lib. 69 73 70 74 --------------------------------------------------------------------------------
