Permalink
Browse files

LET'S KEEP MOVING THINGS YAAAAY

  • Loading branch information...
JarrettBillingsley committed Jun 17, 2011
1 parent 562ca3e commit 4b276c569dfffcf969ab64370a49ee79d7503783
File renamed without changes.
View
28 mdcl.d
@@ -29,20 +29,18 @@ import tango.io.Console;
import minid.api;
import minid.ex_commandline;
version = MdclAllAddons;
version(MdclAllAddons)
version(MDAllAddons)
{
version = MdclSdlAddon;
version = MdclGlAddon;
version = MdclNetAddon;
version = MdclPcreAddon;
version = MDSdlAddon;
version = MDGlAddon;
version = MDNetAddon;
version = MDPcreAddon;
}
version(MdclSdlAddon) import minid.addons.sdl;
version(MdclGlAddon) import minid.addons.gl;
version(MdclNetAddon) import minid.addons.net;
version(MdclPcreAddon) import minid.addons.pcre;
version(MDSdlAddon) import minid.addons.sdl;
version(MDGlAddon) import minid.addons.gl;
version(MDNetAddon) import minid.addons.net;
version(MDPcreAddon) import minid.addons.pcre;
const char[] Usage =
"Usage:
@@ -163,10 +161,10 @@ void main(char[][] args)
auto t = openVM(&vm);
loadStdlibs(t, MDStdlib.All);
version(MdclSdlAddon) SdlLib.init(t);
version(MdclGlAddon) GlLib.init(t);
version(MdclNetAddon) NetLib.init(t);
version(MdclPcreAddon) PcreLib.init(t);
version(MDSdlAddon) SdlLib.init(t);
version(MDGlAddon) GlLib.init(t);
version(MDNetAddon) NetLib.init(t);
version(MDPcreAddon) PcreLib.init(t);
auto params = parseArguments(t, args);
View
@@ -25,6 +25,12 @@ subject to the following restrictions:
module minid.addons.gl;
version(MDAllAddons)
version = MDGlAddon;
version(MDGlAddon)
{
import tango.stdc.stringz;
import derelict.opengl.gl;
@@ -1878,4 +1884,6 @@ static:
pushInt(t, GL_COMPRESSED_SLUMINANCE); newGlobal(t, "GL_COMPRESSED_SLUMINANCE");
pushInt(t, GL_COMPRESSED_SLUMINANCE_ALPHA); newGlobal(t, "GL_COMPRESSED_SLUMINANCE_ALPHA");
}
}
}
View
@@ -1,5 +1,11 @@
module minid.addons.gl_ext;
version(MDAllAddons)
version = MDGlAddon;
version(MDGlAddon)
{
import derelict.opengl.extension.ext.bindable_uniform;
import derelict.opengl.gl;
import derelict.opengl.glext;
@@ -3162,3 +3168,5 @@ void loadExtensionFlags(MDThread* t)
// SGIS
pushBool(t, SGISGenerateMipMap.isEnabled); fielda(t, -2, "SGISGenerateMipMap");
}
}
View
@@ -1,5 +1,11 @@
module minid.addons.gl_wrap;
version(MDAllAddons)
version = MDGlAddon;
version(MDGlAddon)
{
import tango.core.Traits;
import tango.stdc.stringz;
@@ -121,4 +127,6 @@ uword wrapGL(alias f)(MDThread* t)
return 0;
else
return 1;
}
}
View
@@ -25,6 +25,12 @@ subject to the following restrictions:
module minid.addons.net;
version(MDAllAddons)
version = MDNetAddon;
version(MDNetAddon)
{
import tango.net.InternetAddress;
import tango.net.device.Socket;
@@ -346,4 +352,6 @@ static:
memb.base.print.newline;
return 0;
}
}
}
View
@@ -29,6 +29,12 @@ subject to the following restrictions:
module minid.addons.pcre;
version(MDAllAddons)
version = MDPcreAddon;
version(MDPcreAddon)
{
import tango.stdc.stdlib;
import tango.stdc.stringz;
import tango.sys.Environment;
@@ -861,4 +867,6 @@ static this()
}
else
throw new LoaderException("Cannot load PCRE because libpcre is missing");
}
}
View
@@ -25,6 +25,12 @@ subject to the following restrictions:
module minid.addons.sdl;
version(MDAllAddons)
version = MDSdlAddon;
version(MDSdlAddon)
{
import tango.stdc.stringz;
import Utf = tango.text.convert.Utf;
@@ -1101,4 +1107,6 @@ private void pushKeyNamespace(MDThread* t)
pushInt(t, KMOD_SHIFT); fielda(t, -2, "shift");
pushInt(t, KMOD_ALT); fielda(t, -2, "alt");
fielda(t, -2, "mod");
}
}

0 comments on commit 4b276c5

Please sign in to comment.