aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/stubs.cpp
diff options
context:
space:
mode:
authordaoge_cmd <3523206925@qq.com>2026-03-01 12:16:08 +0800
committerdaoge_cmd <3523206925@qq.com>2026-03-01 12:16:08 +0800
commitb691c43c44ff180d10e7d4a9afc83b98551ff586 (patch)
tree3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.Client/stubs.cpp
parentdef8cb415354ac390b7e89052a50605285f1aca9 (diff)
Initial commit
Diffstat (limited to 'Minecraft.Client/stubs.cpp')
-rw-r--r--Minecraft.Client/stubs.cpp119
1 files changed, 119 insertions, 0 deletions
diff --git a/Minecraft.Client/stubs.cpp b/Minecraft.Client/stubs.cpp
new file mode 100644
index 00000000..0c7e680a
--- /dev/null
+++ b/Minecraft.Client/stubs.cpp
@@ -0,0 +1,119 @@
+#include "stdafx.h"
+
+void glReadPixels(int,int, int, int, int, int, ByteBuffer *)
+{
+}
+
+void glClearDepth(double)
+{
+}
+
+void glVertexPointer(int, int, int, int)
+{
+}
+
+void glVertexPointer(int, int, FloatBuffer *)
+{
+}
+
+void glTexCoordPointer(int, int, int, int)
+{
+}
+
+void glTexCoordPointer(int, int, FloatBuffer *)
+{
+}
+
+void glNormalPointer(int, int, int)
+{
+}
+
+void glNormalPointer(int, ByteBuffer *)
+{
+}
+
+void glEnableClientState(int)
+{
+}
+
+void glDisableClientState(int)
+{
+}
+
+void glColorPointer(int, int, int, int)
+{
+}
+
+void glColorPointer(int, bool, int, ByteBuffer *)
+{
+}
+
+void glDrawArrays(int,int,int)
+{
+}
+
+void glNormal3f(float,float,float)
+{
+}
+
+void glGenQueriesARB(IntBuffer *)
+{
+}
+
+void glBeginQueryARB(int,int)
+{
+}
+
+void glEndQueryARB(int)
+{
+}
+
+void glGetQueryObjectuARB(int,int,IntBuffer *)
+{
+}
+
+void glShadeModel(int)
+{
+}
+
+void glColorMaterial(int,int)
+{
+}
+
+//1.8.2
+void glClientActiveTexture(int)
+{
+}
+
+void glActiveTexture(int)
+{
+}
+
+void glFlush()
+{
+}
+
+void glTexGeni(int,int,int)
+{
+}
+
+#ifdef _XBOX
+// 4J Stu - Added these to stop us needing to pull in loads of media libraries just to use Qnet
+#include <xcam.h>
+DWORD XCamInitialize(){ return 0; }
+VOID XCamShutdown() {}
+
+DWORD XCamCreateStreamEngine(
+ CONST XCAM_STREAM_ENGINE_INIT_PARAMS *pParams,
+ PIXCAMSTREAMENGINE *ppEngine
+ ) { return 0; }
+
+DWORD XCamSetView(
+ XCAMZOOMFACTOR ZoomFactor,
+ LONG XCenter,
+ LONG YCenter,
+ PXOVERLAPPED pOverlapped
+) { return 0; }
+
+XCAMDEVICESTATE XCamGetStatus() { return XCAMDEVICESTATE_DISCONNECTED; }
+#endif \ No newline at end of file