Changeset 132

Show
Ignore:
Timestamp:
04/20/06 14:39:50 (2 years ago)
Author:
aldacron
Message:

* removed all existing license references, including source headers and files, from all packages that contained them
* added new license headers to each source module - Derelict is now released under a BSD-style license
* fixed some mistakes in and updated credit.html

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/DerelictAL/derelict/openal/al.d

    r130 r132  
     1/* 
     2 * Copyright (c) 2004-2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictAL', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.openal.al; 
    233 
     
    536 
    637version(DerelictAL_Static) 
    7    import derelict.openal.alstatic; 
     38    import derelict.openal.alstatic; 
    839else 
    9    import derelict.openal.almanual; 
     40    import derelict.openal.almanual; 
    1041 
  • trunk/DerelictAL/derelict/openal/alctypes.d

    r46 r132  
     1/* 
     2 * Copyright (c) 2004-2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictAL', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.openal.alctypes; 
    233 
     
    637else 
    738{ 
    8    struct ALCdevice {} 
    9    alias void ALCcontext; 
     39    struct ALCdevice {} 
     40    alias void ALCcontext; 
    1041} 
    1142 
     
    2354alias void ALCvoid; 
    2455 
    25 const ALCenum ALC_INVALID          = 0; 
    26 const ALCboolean ALC_FALSE         = 0; 
    27 const ALCboolean ALC_TRUE          = 1; 
     56const ALCenum ALC_INVALID           = 0; 
     57const ALCboolean ALC_FALSE          = 0; 
     58const ALCboolean ALC_TRUE           = 1; 
    2859 
    29 const ALCenum ALC_FREQUENCY            = 0x1007; 
    30 const ALCenum ALC_REFRESH          = 0x1008; 
    31 const ALCenum ALC_SYNC             = 0x1009; 
     60const ALCenum ALC_FREQUENCY         = 0x1007; 
     61const ALCenum ALC_REFRESH           = 0x1008; 
     62const ALCenum ALC_SYNC              = 0x1009; 
    3263 
    33 const ALCenum ALC_NO_ERROR         = ALC_FALSE; 
    34 const ALCenum ALC_INVALID_DEVICE   = 0xA001; 
    35 const ALCenum ALC_INVALID_CONTEXT  = 0xA002; 
    36 const ALCenum ALC_INVALID_ENUM     = 0xA003; 
    37 const ALCenum ALC_INVALID_VALUE        = 0xA004; 
    38 const ALCenum ALC_OUT_OF_MEMORY        = 0xA005; 
     64const ALCenum ALC_NO_ERROR          = ALC_FALSE; 
     65const ALCenum ALC_INVALID_DEVICE    = 0xA001; 
     66const ALCenum ALC_INVALID_CONTEXT   = 0xA002; 
     67const ALCenum ALC_INVALID_ENUM      = 0xA003; 
     68const ALCenum ALC_INVALID_VALUE     = 0xA004; 
     69const ALCenum ALC_OUT_OF_MEMORY     = 0xA005; 
    3970 
    40 const ALCenum ALC_DEFAULT_DEVICE_SPECIFIER     = 0x1004; 
    41 const ALCenum ALC_DEVICE_SPECIFIER             = 0x1005; 
    42 const ALCenum ALC_EXTENSIONS                   = 0x1006; 
     71const ALCenum ALC_DEFAULT_DEVICE_SPECIFIER      = 0x1004; 
     72const ALCenum ALC_DEVICE_SPECIFIER              = 0x1005; 
     73const ALCenum ALC_EXTENSIONS                    = 0x1006; 
    4374 
    44 const ALCenum ALC_MAJOR_VERSION                    = 0x1000; 
    45 const ALCenum ALC_MINOR_VERSION                    = 0x1001; 
     75const ALCenum ALC_MAJOR_VERSION                 = 0x1000; 
     76const ALCenum ALC_MINOR_VERSION                 = 0x1001; 
    4677 
    47 const ALCenum ALC_ATTRIBUTES_SIZE              = 0x1002; 
    48 const ALCenum ALC_ALL_ATTRIBUTES               = 0x1003; 
     78const ALCenum ALC_ATTRIBUTES_SIZE               = 0x1002; 
     79const ALCenum ALC_ALL_ATTRIBUTES                = 0x1003; 
  • trunk/DerelictAL/derelict/openal/almanual.d

    r130 r132  
     1/* 
     2 * Copyright (c) 2004-2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictAL', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.openal.almanual; 
    233 
  • trunk/DerelictAL/derelict/openal/alstatic.d

    r130 r132  
     1/* 
     2 * Copyright (c) 2004-2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictAL', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.openal.alstatic; 
    233 
  • trunk/DerelictAL/derelict/openal/altypes.d

    r46 r132  
     1/* 
     2 * Copyright (c) 2004-2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictAL', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.openal.altypes; 
    233 
     
    1344version(linux) 
    1445{ 
    15    alias int ALsizei; 
     46    alias int ALsizei; 
    1647} 
    1748else 
    1849{ 
    19    alias uint ALsizei; 
     50    alias uint ALsizei; 
    2051} 
    2152 
     
    2758 
    2859 
    29 const ALenum AL_INVALD                 = -1; 
    30 const ALenum AL_NONE               = 0; 
    31 const ALenum AL_FALSE              = 0; 
    32 const ALenum AL_TRUE                   = 1; 
     60const ALenum AL_INVALD              = -1; 
     61const ALenum AL_NONE                = 0; 
     62const ALenum AL_FALSE               = 0; 
     63const ALenum AL_TRUE                    = 1; 
    3364 
    34 const ALenum AL_SOURCE_TYPE            = 0x200; 
    35 const ALenum AL_SOURCE_ABSOLUTE        = 0x201; 
    36 const ALenum AL_SOURCE_RELATIVE        = 0x202; 
     65const ALenum AL_SOURCE_TYPE         = 0x200; 
     66const ALenum AL_SOURCE_ABSOLUTE     = 0x201; 
     67const ALenum AL_SOURCE_RELATIVE     = 0x202; 
    3768 
    38 const ALenum AL_CONE_INNER_ANGLE   = 0x1001; 
    39 const ALenum AL_CONE_OUTER_ANGLE   = 0x1002; 
     69const ALenum AL_CONE_INNER_ANGLE    = 0x1001; 
     70const ALenum AL_CONE_OUTER_ANGLE    = 0x1002; 
    4071 
    41 const ALenum AL_PITCH              = 0x1003;  
    42 const ALenum AL_POSITION           = 0x1004; 
    43 const ALenum AL_DIRECTION          = 0x1005; 
    44 const ALenum AL_VELOCITY           = 0x1006; 
    45 const ALenum AL_LOOPING                = 0x1007; 
    46 const ALenum AL_BUFFER             = 0x1009; 
    47 const ALenum AL_GAIN               = 0x100A; 
    48 const ALenum AL_MIN_GAIN           = 0x100D; 
    49 const ALenum AL_MAX_GAIN           = 0x100E; 
    50 const ALenum AL_ORIENTATION            = 0x100F; 
     72const ALenum AL_PITCH               = 0x1003; 
     73const ALenum AL_POSITION            = 0x1004; 
     74const ALenum AL_DIRECTION           = 0x1005; 
     75const ALenum AL_VELOCITY            = 0x1006; 
     76const ALenum AL_LOOPING             = 0x1007; 
     77const ALenum AL_BUFFER              = 0x1009; 
     78const ALenum AL_GAIN                = 0x100A; 
     79const ALenum AL_MIN_GAIN            = 0x100D; 
     80const ALenum AL_MAX_GAIN            = 0x100E; 
     81const ALenum AL_ORIENTATION         = 0x100F; 
    5182 
    5283version(linux) 
    5384{ 
    54    const int AL_STREAMING      = 0x1008; 
    55    const int AL_BYTE_LOKI      = 0x100C; 
     85    const int AL_STREAMING      = 0x1008; 
     86    const int AL_BYTE_LOKI      = 0x100C; 
    5687} 
    5788 
    58 const ALenum AL_CHANNEL_MASK       = 0x3000; 
     89const ALenum AL_CHANNEL_MASK        = 0x3000; 
    5990 
    60 const ALenum AL_SOURCE_STATE       = 0x1010; 
    61 const ALenum AL_INITIAL                = 0x1011; 
    62 const ALenum AL_PLAYING                = 0x1012; 
    63 const ALenum AL_PAUSED             = 0x1013; 
    64 const ALenum AL_STOPPED                = 0x1014; 
     91const ALenum AL_SOURCE_STATE        = 0x1010; 
     92const ALenum AL_INITIAL             = 0x1011; 
     93const ALenum AL_PLAYING             = 0x1012; 
     94const ALenum AL_PAUSED              = 0x1013; 
     95const ALenum AL_STOPPED             = 0x1014; 
    6596 
    66 const ALenum AL_BUFFERS_QUEUED     = 0x1015; 
    67 const ALenum AL_BUFFERS_PROCESSED  = 0x1016; 
     97const ALenum AL_BUFFERS_QUEUED      = 0x1015; 
     98const ALenum AL_BUFFERS_PROCESSED   = 0x1016; 
    6899 
    69 const ALenum AL_FORMAT_MONO8       = 0x1100; 
    70 const ALenum AL_FORMAT_MONO16      = 0x1101; 
    71 const ALenum AL_FORMAT_STEREO8     = 0x1102; 
    72 const ALenum AL_FORMAT_STEREO16        = 0x1103; 
     100const ALenum AL_FORMAT_MONO8        = 0x1100; 
     101const ALenum AL_FORMAT_MONO16       = 0x1101; 
     102const ALenum AL_FORMAT_STEREO8      = 0x1102; 
     103const ALenum AL_FORMAT_STEREO16     = 0x1103; 
    73104 
    74 const ALenum AL_REFERENCE_DISTANCE = 0x1020; 
    75 const ALenum AL_ROLLOFF_FACTOR     = 0x1021; 
    76 const ALenum AL_CONE_OUTER_GAIN        = 0x1022; 
    77 const ALenum AL_MAX_DISTANCE       = 0x1023; 
     105const ALenum AL_REFERENCE_DISTANCE  = 0x1020; 
     106const ALenum AL_ROLLOFF_FACTOR      = 0x1021; 
     107const ALenum AL_CONE_OUTER_GAIN     = 0x1022; 
     108const ALenum AL_MAX_DISTANCE        = 0x1023; 
    78109 
    79110 
    80 const ALenum AL_FREQUENCEY         = 0x2001; 
    81 const ALenum AL_BITS               = 0x2002; 
    82 const ALenum AL_CHANNELS           = 0x2003; 
    83 const ALenum AL_SIZE               = 0x2004; 
    84 const ALenum AL_DATA               = 0x2005; 
     111const ALenum AL_FREQUENCEY          = 0x2001; 
     112const ALenum AL_BITS                = 0x2002; 
     113const ALenum AL_CHANNELS            = 0x2003; 
     114const ALenum AL_SIZE                = 0x2004; 
     115const ALenum AL_DATA                = 0x2005; 
    85116 
    86 const ALenum AL_UNUSED             = 0x2010; 
    87 const ALenum AL_PENDING                = 0x2011; 
    88 const ALenum AL_PROCESSID          = 0x2012; 
     117const ALenum AL_UNUSED              = 0x2010; 
     118const ALenum AL_PENDING             = 0x2011; 
     119const ALenum AL_PROCESSID           = 0x2012; 
    89120 
    90 const ALenum AL_NO_ERROR           = AL_FALSE; 
     121const ALenum AL_NO_ERROR            = AL_FALSE; 
    91122 
    92 const ALenum AL_INVALID_NAME       = 0xA001; 
    93 const ALenum AL_ILLEGAL_ENUM       = 0xA002; 
    94 const ALenum AL_INVALID_ENUM       = 0xA002; 
    95 const ALenum AL_INVALID_VALUE      = 0xA003; 
    96 const ALenum AL_ILLEGAL_COMMAND        = 0xA004; 
    97 const ALenum AL_INVALID_OPERATION  = 0xA004; 
    98 const ALenum AL_OUT_OF_MEMORY      = 0xA005; 
     123const ALenum AL_INVALID_NAME        = 0xA001; 
     124const ALenum AL_ILLEGAL_ENUM        = 0xA002; 
     125const ALenum AL_INVALID_ENUM        = 0xA002; 
     126const ALenum AL_INVALID_VALUE       = 0xA003; 
     127const ALenum AL_ILLEGAL_COMMAND     = 0xA004; 
     128const ALenum AL_INVALID_OPERATION   = 0xA004; 
     129const ALenum AL_OUT_OF_MEMORY       = 0xA005; 
    99130 
    100 const ALenum AL_VENDOR             = 0xB001; 
    101 const ALenum AL_VERSION                = 0xB002; 
    102 const ALenum AL_RENDERER           = 0xB003; 
    103 const ALenum AL_EXTENSIONS         = 0xB004; 
     131const ALenum AL_VENDOR              = 0xB001; 
     132const ALenum AL_VERSION             = 0xB002; 
     133const ALenum AL_RENDERER            = 0xB003; 
     134const ALenum AL_EXTENSIONS          = 0xB004; 
    104135 
    105 const ALenum AL_DOPPLER_FACTOR     = 0xC001; 
     136const ALenum AL_DOPPLER_FACTOR      = 0xC001; 
    106137 
    107138version(linux) 
    108139{ 
    109    const ALenum AL_DISTANCE_SCALE  = 0xC002; 
     140    const ALenum AL_DISTANCE_SCALE  = 0xC002; 
    110141} 
    111142 
    112 const ALenum AL_DISTANCE_MODEL             = 0xD000; 
    113 const ALenum AL_INVERSE_DISTANCE           = 0xD001; 
    114 const ALenum AL_INVERSE_DISTANCE_CLAMPED   = 0xD002; 
     143const ALenum AL_DISTANCE_MODEL              = 0xD000; 
     144const ALenum AL_INVERSE_DISTANCE            = 0xD001; 
     145const ALenum AL_INVERSE_DISTANCE_CLAMPED    = 0xD002; 
    115146 
  • trunk/DerelictFT/derelict/freetype/ft.d

    r131 r132  
     1/* 
     2 * Copyright (c) 2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictFT', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.freetype.ft; 
    233 
  • trunk/DerelictFT/derelict/freetype/ftfuncs.d

    r131 r132  
     1/* 
     2 * Copyright (c) 2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictFT', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.freetype.ftfuncs; 
    233 
  • trunk/DerelictFT/derelict/freetype/fttypes.d

    r131 r132  
     1/* 
     2 * Copyright (c) 2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictFT', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.freetype.fttypes; 
    233 
  • trunk/DerelictFT/derelict/freetype/internal.d

    r131 r132  
     1/* 
     2 * Copyright (c) 2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictFT', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.freetype.internal; 
    233 
  • trunk/DerelictGL/derelict/opengl/gl.d

    r115 r132  
     1/* 
     2 * Copyright (c) 2004-2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictGL', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.opengl.gl; 
    2  
    3 /* 
    4  * Mesa 3-D graphics library 
    5  * Version:  4.0 
    6  * 
    7  * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved. 
    8  * 
    9  * Permission is hereby granted, free of charge, to any person obtaining a 
    10  * copy of this software and associated documentation files (the "Software"), 
    11  * to deal in the Software without restriction, including without limitation 
    12  * the rights to use, copy, modify, merge, publish, distribute, sublicense, 
    13  * and/or sell copies of the Software, and to permit persons to whom the 
    14  * Software is furnished to do so, subject to the following conditions: 
    15  * 
    16  * The above copyright notice and this permission notice shall be included 
    17  * in all copies or substantial portions of the Software. 
    18  * 
    19  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
    20  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
    21  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL 
    22  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 
    23  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
    24  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
    25  */ 
    2633 
    2734import derelict.opengl.gltypes; 
    2835import derelict.opengl.glfuncs; 
    2936 
    30 private  
     37private 
    3138{ 
    32    import derelict.opengl.internal; 
    33    version(Windows) 
    34    
    35        import derelict.opengl.wgl; 
    36    
    37    else version(linux) 
    38    
    39        import derelict.opengl.glx; 
    40    
     39    import derelict.opengl.internal; 
     40    version(Windows) 
     41   
     42        import derelict.opengl.wgl; 
     43   
     44    else version(linux) 
     45   
     46        import derelict.opengl.glx; 
     47   
    4148} 
    4249 
  • trunk/DerelictGL/derelict/opengl/glfuncs.d

    r125 r132  
     1/* 
     2 * Copyright (c) 2004-2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictGL', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.opengl.glfuncs; 
    233 
  • trunk/DerelictGL/derelict/opengl/gltypes.d

    r76 r132  
     1/* 
     2 * Copyright (c) 2004-2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictGL', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
     29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     31 */ 
    132module derelict.opengl.gltypes; 
    2  
    3 /* 
    4  * Mesa 3-D graphics library 
    5  * Version:  4.0 
    6  * 
    7  * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved. 
    8  * 
    9  * Permission is hereby granted, free of charge, to any person obtaining a 
    10  * copy of this software and associated documentation files (the "Software"), 
    11  * to deal in the Software without restriction, including without limitation 
    12  * the rights to use, copy, modify, merge, publish, distribute, sublicense, 
    13  * and/or sell copies of the Software, and to permit persons to whom the 
    14  * Software is furnished to do so, subject to the following conditions: 
    15  * 
    16  * The above copyright notice and this permission notice shall be included 
    17  * in all copies or substantial portions of the Software. 
    18  * 
    19  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
    20  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
    21  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL 
    22  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 
    23  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
    24  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
    25  */ 
    2633 
    2734alias uint      GLenum; 
  • trunk/DerelictGL/derelict/opengl/glx.d

    r110 r132  
    1 // 
    2 // File:    glx.d 
    3 // 
    4 // Description: link loader for X windows gl helper interface 
    5 // 
    6 // 2005-02-11:  Initial version - John Reimer 
    7 // 2005-05-25:  Removed unnecessary structures 
    8  
     1/* 
     2 * Copyright (c) 2004-2006 Derelict Developers 
     3 * All rights reserved. 
     4 * 
     5 * Redistribution and use in source and binary forms, with or without 
     6 * modification, are permitted provided that the following conditions are 
     7 * met: 
     8 * 
     9 * * Redistributions of source code must retain the above copyright 
     10 *   notice, this list of conditions and the following disclaimer. 
     11 * 
     12 * * Redistributions in binary form must reproduce the above copyright 
     13 *   notice, this list of conditions and the following disclaimer in the 
     14 *   documentation and/or other materials provided with the distribution. 
     15 * 
     16 * * Neither the names 'Derelict', 'DerelictGL', nor the names of its contributors 
     17 *   may be used to endorse or promote products derived from this software 
     18 *   without specific prior written permission. 
     19 * 
     20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
     21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
     22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
     23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
     24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
     25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
     27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
     28 * LIABILITY, WHETHER IN CONTRACT