Changeset 132
- Timestamp:
- 04/20/06 14:39:50 (2 years ago)
- Files:
-
- trunk/DerelictAL/derelict/openal/al.d (modified) (2 diffs)
- trunk/DerelictAL/derelict/openal/alctypes.d (modified) (3 diffs)
- trunk/DerelictAL/derelict/openal/almanual.d (modified) (1 diff)
- trunk/DerelictAL/derelict/openal/alstatic.d (modified) (1 diff)
- trunk/DerelictAL/derelict/openal/altypes.d (modified) (3 diffs)
- trunk/DerelictFT/derelict/freetype/ft.d (modified) (1 diff)
- trunk/DerelictFT/derelict/freetype/ftfuncs.d (modified) (1 diff)
- trunk/DerelictFT/derelict/freetype/fttypes.d (modified) (1 diff)
- trunk/DerelictFT/derelict/freetype/internal.d (modified) (1 diff)
- trunk/DerelictGL/derelict/opengl/gl.d (modified) (1 diff)
- trunk/DerelictGL/derelict/opengl/glfuncs.d (modified) (1 diff)
- trunk/DerelictGL/derelict/opengl/gltypes.d (modified) (1 diff)
- trunk/DerelictGL/derelict/opengl/glx.d (modified) (1 diff)
- trunk/DerelictGL/derelict/opengl/internal.d (modified) (1 diff)
- trunk/DerelictGL/derelict/opengl/wgl.d (modified) (1 diff)
- trunk/DerelictGL/derelict/opengl/wingdi.d (modified) (2 diffs)
- trunk/DerelictGL/license.txt (deleted)
- trunk/DerelictGLFW/derelict/glfw/glfw.d (modified) (1 diff)
- trunk/DerelictGLU/derelict/opengl/glu.d (modified) (1 diff)
- trunk/DerelictIL/derelict/devil/il.d (modified) (1 diff)
- trunk/DerelictIL/derelict/devil/ilfuncs.d (modified) (5 diffs)
- trunk/DerelictIL/derelict/devil/iltypes.d (modified) (3 diffs)
- trunk/DerelictIL/derelict/devil/internal.d (modified) (1 diff)
- trunk/DerelictILU/derelict/ilu/ilu.d (modified) (1 diff)
- trunk/DerelictILU/derelict/ilu/ilufuncs.d (modified) (5 diffs)
- trunk/DerelictILU/derelict/ilu/ilutypes.d (modified) (2 diffs)
- trunk/DerelictILU/derelict/ilu/internal.d (modified) (1 diff)
- trunk/DerelictILUT/derelict/ilut/ilut.d (modified) (1 diff)
- trunk/DerelictILUT/derelict/ilut/ilutfuncs.d (modified) (6 diffs)
- trunk/DerelictILUT/derelict/ilut/iluttypes.d (modified) (1 diff)
- trunk/DerelictILUT/derelict/ilut/internal.d (modified) (1 diff)
- trunk/DerelictSDL/derelict/sdl/active.d (modified) (3 diffs)
- trunk/DerelictSDL/derelict/sdl/audio.d (modified) (6 diffs)
- trunk/DerelictSDL/derelict/sdl/byteorder.d (modified) (1 diff)
- trunk/DerelictSDL/derelict/sdl/cdrom.d (modified) (5 diffs)
- trunk/DerelictSDL/derelict/sdl/cpuinfo.d (modified) (2 diffs)
- trunk/DerelictSDL/derelict/sdl/endian.d (modified) (4 diffs)
- trunk/DerelictSDL/derelict/sdl/error.d (modified) (1 diff)
- trunk/DerelictSDL/derelict/sdl/events.d (modified) (4 diffs)
- trunk/DerelictSDL/derelict/sdl/joystick.d (modified) (3 diffs)
- trunk/DerelictSDL/derelict/sdl/keyboard.d (modified) (4 diffs)
- trunk/DerelictSDL/derelict/sdl/keysym.d (modified) (2 diffs)
- trunk/DerelictSDL/derelict/sdl/loadso.d (modified) (2 diffs)
- trunk/DerelictSDL/derelict/sdl/mouse.d (modified) (3 diffs)
- trunk/DerelictSDL/derelict/sdl/mutex.d (modified) (6 diffs)
- trunk/DerelictSDL/derelict/sdl/rwops.d (modified) (4 diffs)
- trunk/DerelictSDL/derelict/sdl/sdl.d (modified) (1 diff)
- trunk/DerelictSDL/derelict/sdl/sdlversion.d (modified) (4 diffs)
- trunk/DerelictSDL/derelict/sdl/syswm.d (modified) (3 diffs)
- trunk/DerelictSDL/derelict/sdl/thread.d (modified) (3 diffs)
- trunk/DerelictSDL/derelict/sdl/timer.d (modified) (3 diffs)
- trunk/DerelictSDL/derelict/sdl/types.d (modified) (2 diffs)
- trunk/DerelictSDL/derelict/sdl/video.d (modified) (7 diffs)
- trunk/DerelictSDLImage/derelict/sdl/image.d (modified) (1 diff)
- trunk/DerelictSDLMixer/derelict/sdl/mixer.d (modified) (1 diff)
- trunk/DerelictSDLNet/derelict/sdl/net.d (modified) (1 diff)
- trunk/DerelictSDLttf/derelict/sdl/ttf.d (modified) (1 diff)
- trunk/DerelictUtil/derelict/util/exception.d (modified) (6 diffs)
- trunk/DerelictUtil/derelict/util/loader.d (modified) (4 diffs)
- trunk/docs/credit.html (modified) (3 diffs)
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 */ 1 32 module derelict.openal.al; 2 33 … … 5 36 6 37 version(DerelictAL_Static) 7 import derelict.openal.alstatic;38 import derelict.openal.alstatic; 8 39 else 9 import derelict.openal.almanual;40 import derelict.openal.almanual; 10 41 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 */ 1 32 module derelict.openal.alctypes; 2 33 … … 6 37 else 7 38 { 8 struct ALCdevice {}9 alias void ALCcontext;39 struct ALCdevice {} 40 alias void ALCcontext; 10 41 } 11 42 … … 23 54 alias void ALCvoid; 24 55 25 const ALCenum ALC_INVALID = 0;26 const ALCboolean ALC_FALSE = 0;27 const ALCboolean ALC_TRUE = 1;56 const ALCenum ALC_INVALID = 0; 57 const ALCboolean ALC_FALSE = 0; 58 const ALCboolean ALC_TRUE = 1; 28 59 29 const ALCenum ALC_FREQUENCY = 0x1007;30 const ALCenum ALC_REFRESH = 0x1008;31 const ALCenum ALC_SYNC = 0x1009;60 const ALCenum ALC_FREQUENCY = 0x1007; 61 const ALCenum ALC_REFRESH = 0x1008; 62 const ALCenum ALC_SYNC = 0x1009; 32 63 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;64 const ALCenum ALC_NO_ERROR = ALC_FALSE; 65 const ALCenum ALC_INVALID_DEVICE = 0xA001; 66 const ALCenum ALC_INVALID_CONTEXT = 0xA002; 67 const ALCenum ALC_INVALID_ENUM = 0xA003; 68 const ALCenum ALC_INVALID_VALUE = 0xA004; 69 const ALCenum ALC_OUT_OF_MEMORY = 0xA005; 39 70 40 const ALCenum ALC_DEFAULT_DEVICE_SPECIFIER = 0x1004;41 const ALCenum ALC_DEVICE_SPECIFIER = 0x1005;42 const ALCenum ALC_EXTENSIONS = 0x1006;71 const ALCenum ALC_DEFAULT_DEVICE_SPECIFIER = 0x1004; 72 const ALCenum ALC_DEVICE_SPECIFIER = 0x1005; 73 const ALCenum ALC_EXTENSIONS = 0x1006; 43 74 44 const ALCenum ALC_MAJOR_VERSION = 0x1000;45 const ALCenum ALC_MINOR_VERSION = 0x1001;75 const ALCenum ALC_MAJOR_VERSION = 0x1000; 76 const ALCenum ALC_MINOR_VERSION = 0x1001; 46 77 47 const ALCenum ALC_ATTRIBUTES_SIZE = 0x1002;48 const ALCenum ALC_ALL_ATTRIBUTES = 0x1003;78 const ALCenum ALC_ATTRIBUTES_SIZE = 0x1002; 79 const 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 */ 1 32 module derelict.openal.almanual; 2 33 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 */ 1 32 module derelict.openal.alstatic; 2 33 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 */ 1 32 module derelict.openal.altypes; 2 33 … … 13 44 version(linux) 14 45 { 15 alias int ALsizei;46 alias int ALsizei; 16 47 } 17 48 else 18 49 { 19 alias uint ALsizei;50 alias uint ALsizei; 20 51 } 21 52 … … 27 58 28 59 29 const ALenum AL_INVALD = -1;30 const ALenum AL_NONE = 0;31 const ALenum AL_FALSE = 0;32 const ALenum AL_TRUE = 1;60 const ALenum AL_INVALD = -1; 61 const ALenum AL_NONE = 0; 62 const ALenum AL_FALSE = 0; 63 const ALenum AL_TRUE = 1; 33 64 34 const ALenum AL_SOURCE_TYPE = 0x200;35 const ALenum AL_SOURCE_ABSOLUTE = 0x201;36 const ALenum AL_SOURCE_RELATIVE = 0x202;65 const ALenum AL_SOURCE_TYPE = 0x200; 66 const ALenum AL_SOURCE_ABSOLUTE = 0x201; 67 const ALenum AL_SOURCE_RELATIVE = 0x202; 37 68 38 const ALenum AL_CONE_INNER_ANGLE = 0x1001;39 const ALenum AL_CONE_OUTER_ANGLE = 0x1002;69 const ALenum AL_CONE_INNER_ANGLE = 0x1001; 70 const ALenum AL_CONE_OUTER_ANGLE = 0x1002; 40 71 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;72 const ALenum AL_PITCH = 0x1003; 73 const ALenum AL_POSITION = 0x1004; 74 const ALenum AL_DIRECTION = 0x1005; 75 const ALenum AL_VELOCITY = 0x1006; 76 const ALenum AL_LOOPING = 0x1007; 77 const ALenum AL_BUFFER = 0x1009; 78 const ALenum AL_GAIN = 0x100A; 79 const ALenum AL_MIN_GAIN = 0x100D; 80 const ALenum AL_MAX_GAIN = 0x100E; 81 const ALenum AL_ORIENTATION = 0x100F; 51 82 52 83 version(linux) 53 84 { 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; 56 87 } 57 88 58 const ALenum AL_CHANNEL_MASK = 0x3000;89 const ALenum AL_CHANNEL_MASK = 0x3000; 59 90 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;91 const ALenum AL_SOURCE_STATE = 0x1010; 92 const ALenum AL_INITIAL = 0x1011; 93 const ALenum AL_PLAYING = 0x1012; 94 const ALenum AL_PAUSED = 0x1013; 95 const ALenum AL_STOPPED = 0x1014; 65 96 66 const ALenum AL_BUFFERS_QUEUED = 0x1015;67 const ALenum AL_BUFFERS_PROCESSED = 0x1016;97 const ALenum AL_BUFFERS_QUEUED = 0x1015; 98 const ALenum AL_BUFFERS_PROCESSED = 0x1016; 68 99 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;100 const ALenum AL_FORMAT_MONO8 = 0x1100; 101 const ALenum AL_FORMAT_MONO16 = 0x1101; 102 const ALenum AL_FORMAT_STEREO8 = 0x1102; 103 const ALenum AL_FORMAT_STEREO16 = 0x1103; 73 104 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;105 const ALenum AL_REFERENCE_DISTANCE = 0x1020; 106 const ALenum AL_ROLLOFF_FACTOR = 0x1021; 107 const ALenum AL_CONE_OUTER_GAIN = 0x1022; 108 const ALenum AL_MAX_DISTANCE = 0x1023; 78 109 79 110 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;111 const ALenum AL_FREQUENCEY = 0x2001; 112 const ALenum AL_BITS = 0x2002; 113 const ALenum AL_CHANNELS = 0x2003; 114 const ALenum AL_SIZE = 0x2004; 115 const ALenum AL_DATA = 0x2005; 85 116 86 const ALenum AL_UNUSED = 0x2010;87 const ALenum AL_PENDING = 0x2011;88 const ALenum AL_PROCESSID = 0x2012;117 const ALenum AL_UNUSED = 0x2010; 118 const ALenum AL_PENDING = 0x2011; 119 const ALenum AL_PROCESSID = 0x2012; 89 120 90 const ALenum AL_NO_ERROR = AL_FALSE;121 const ALenum AL_NO_ERROR = AL_FALSE; 91 122 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;123 const ALenum AL_INVALID_NAME = 0xA001; 124 const ALenum AL_ILLEGAL_ENUM = 0xA002; 125 const ALenum AL_INVALID_ENUM = 0xA002; 126 const ALenum AL_INVALID_VALUE = 0xA003; 127 const ALenum AL_ILLEGAL_COMMAND = 0xA004; 128 const ALenum AL_INVALID_OPERATION = 0xA004; 129 const ALenum AL_OUT_OF_MEMORY = 0xA005; 99 130 100 const ALenum AL_VENDOR = 0xB001;101 const ALenum AL_VERSION = 0xB002;102 const ALenum AL_RENDERER = 0xB003;103 const ALenum AL_EXTENSIONS = 0xB004;131 const ALenum AL_VENDOR = 0xB001; 132 const ALenum AL_VERSION = 0xB002; 133 const ALenum AL_RENDERER = 0xB003; 134 const ALenum AL_EXTENSIONS = 0xB004; 104 135 105 const ALenum AL_DOPPLER_FACTOR = 0xC001;136 const ALenum AL_DOPPLER_FACTOR = 0xC001; 106 137 107 138 version(linux) 108 139 { 109 const ALenum AL_DISTANCE_SCALE= 0xC002;140 const ALenum AL_DISTANCE_SCALE = 0xC002; 110 141 } 111 142 112 const ALenum AL_DISTANCE_MODEL = 0xD000;113 const ALenum AL_INVERSE_DISTANCE = 0xD001;114 const ALenum AL_INVERSE_DISTANCE_CLAMPED = 0xD002;143 const ALenum AL_DISTANCE_MODEL = 0xD000; 144 const ALenum AL_INVERSE_DISTANCE = 0xD001; 145 const ALenum AL_INVERSE_DISTANCE_CLAMPED = 0xD002; 115 146 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 */ 1 32 module derelict.freetype.ft; 2 33 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 */ 1 32 module derelict.freetype.ftfuncs; 2 33 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 */ 1 32 module derelict.freetype.fttypes; 2 33 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 */ 1 32 module derelict.freetype.internal; 2 33 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 */ 1 32 module derelict.opengl.gl; 2 3 /*4 * Mesa 3-D graphics library5 * Version: 4.06 *7 * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.8 *9 * Permission is hereby granted, free of charge, to any person obtaining a10 * copy of this software and associated documentation files (the "Software"),11 * to deal in the Software without restriction, including without limitation12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,13 * and/or sell copies of the Software, and to permit persons to whom the14 * Software is furnished to do so, subject to the following conditions:15 *16 * The above copyright notice and this permission notice shall be included17 * in all copies or substantial portions of the Software.18 *19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL22 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN23 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.25 */26 33 27 34 import derelict.opengl.gltypes; 28 35 import derelict.opengl.glfuncs; 29 36 30 private 37 private 31 38 { 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 } 41 48 } 42 49 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 */ 1 32 module derelict.opengl.glfuncs; 2 33 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 */ 1 32 module derelict.opengl.gltypes; 2 3 /*4 * Mesa 3-D graphics library5 * Version: 4.06 *7 * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.8 *9 * Permission is hereby granted, free of charge, to any person obtaining a10 * copy of this software and associated documentation files (the "Software"),11 * to deal in the Software without restriction, including without limitation12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,13 * and/or sell copies of the Software, and to permit persons to whom the14 * Software is furnished to do so, subject to the following conditions:15 *16 * The above copyright notice and this permission notice shall be included17 * in all copies or substantial portions of the Software.18 *19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL22 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN23 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.25 */26 33 27 34 alias 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
