aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-02-07 17:43:23 +0000
committerCarsten Weisse <[email protected]>2005-02-07 17:43:23 +0000
commit0d8dc119e91fd4da0fc6e10b11dc11be8447bcc6 (patch)
tree5500176078abd9fe9e600f81a13281cb4cc76ca1 /src/jake2/render
parentf806cec0692aecc1f1d8aed97862c596f4ed4dc5 (diff)
is used for dedicated mode
Diffstat (limited to 'src/jake2/render')
-rw-r--r--src/jake2/render/DummyRenderer.java182
1 files changed, 182 insertions, 0 deletions
diff --git a/src/jake2/render/DummyRenderer.java b/src/jake2/render/DummyRenderer.java
new file mode 100644
index 0000000..8d4d4a2
--- /dev/null
+++ b/src/jake2/render/DummyRenderer.java
@@ -0,0 +1,182 @@
+/*
+ * DummyRenderer.java
+ * Copyright (C) 2003
+ *
+ * $Id: DummyRenderer.java,v 1.1 2005-02-07 17:43:23 cawe Exp $
+ */
+
+package jake2.render;
+
+import java.awt.Dimension;
+import java.awt.DisplayMode;
+
+import jake2.client.refdef_t;
+import jake2.client.refexport_t;
+import jake2.qcommon.xcommand_t;
+import jake2.sys.KBD;
+
+/**
+ * DummyRenderer
+ *
+ * @author cwei
+ */
+public class DummyRenderer implements refexport_t {
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#Init(int, int)
+ */
+ public boolean Init(int vid_xpos, int vid_ypos) {
+ return false;
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#Shutdown()
+ */
+ public void Shutdown() {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#BeginRegistration(java.lang.String)
+ */
+ public void BeginRegistration(String map) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#RegisterModel(java.lang.String)
+ */
+ public model_t RegisterModel(String name) {
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#RegisterSkin(java.lang.String)
+ */
+ public image_t RegisterSkin(String name) {
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#RegisterPic(java.lang.String)
+ */
+ public image_t RegisterPic(String name) {
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#SetSky(java.lang.String, float, float[])
+ */
+ public void SetSky(String name, float rotate, float[] axis) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#EndRegistration()
+ */
+ public void EndRegistration() {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#RenderFrame(jake2.client.refdef_t)
+ */
+ public void RenderFrame(refdef_t fd) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#DrawGetPicSize(java.awt.Dimension, java.lang.String)
+ */
+ public void DrawGetPicSize(Dimension dim, String name) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#DrawPic(int, int, java.lang.String)
+ */
+ public void DrawPic(int x, int y, String name) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#DrawStretchPic(int, int, int, int, java.lang.String)
+ */
+ public void DrawStretchPic(int x, int y, int w, int h, String name) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#DrawChar(int, int, int)
+ */
+ public void DrawChar(int x, int y, int num) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#DrawTileClear(int, int, int, int, java.lang.String)
+ */
+ public void DrawTileClear(int x, int y, int w, int h, String name) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#DrawFill(int, int, int, int, int)
+ */
+ public void DrawFill(int x, int y, int w, int h, int c) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#DrawFadeScreen()
+ */
+ public void DrawFadeScreen() {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#DrawStretchRaw(int, int, int, int, int, int, byte[])
+ */
+ public void DrawStretchRaw(int x, int y, int w, int h, int cols, int rows, byte[] data) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#CinematicSetPalette(byte[])
+ */
+ public void CinematicSetPalette(byte[] palette) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#BeginFrame(float)
+ */
+ public void BeginFrame(float camera_separation) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#EndFrame()
+ */
+ public void EndFrame() {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#AppActivate(boolean)
+ */
+ public void AppActivate(boolean activate) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#updateScreen(jake2.qcommon.xcommand_t)
+ */
+ public void updateScreen(xcommand_t callback) {
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#apiVersion()
+ */
+ public int apiVersion() {
+ return 0;
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#getModeList()
+ */
+ public DisplayMode[] getModeList() {
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see jake2.client.refexport_t#getKeyboardHandler()
+ */
+ public KBD getKeyboardHandler() {
+ return null;
+ }
+
+}