diff options
Diffstat (limited to 'src/jake2/render')
-rw-r--r-- | src/jake2/render/fastj/Draw.java | 18 | ||||
-rw-r--r-- | src/jake2/render/fastj/Image.java | 2 | ||||
-rw-r--r-- | src/jake2/render/fastj/Main.java | 12 | ||||
-rw-r--r-- | src/jake2/render/fastj/Model.java | 6 | ||||
-rw-r--r-- | src/jake2/render/fastj/Warp.java | 2 |
5 files changed, 20 insertions, 20 deletions
diff --git a/src/jake2/render/fastj/Draw.java b/src/jake2/render/fastj/Draw.java index a291306..3023578 100644 --- a/src/jake2/render/fastj/Draw.java +++ b/src/jake2/render/fastj/Draw.java @@ -65,7 +65,7 @@ public abstract class Draw extends Image { smoothly scrolled off. ================ */ - protected void Draw_Char(int x, int y, int num) { + public void Draw_Char(int x, int y, int num) { num &= 255; @@ -100,7 +100,7 @@ public abstract class Draw extends Image { Draw_FindPic ============= */ - protected image_t Draw_FindPic(String name) { + public image_t Draw_FindPic(String name) { image_t image = null; String fullname; @@ -120,7 +120,7 @@ public abstract class Draw extends Image { Draw_GetPicSize ============= */ - protected void Draw_GetPicSize(Dimension dim, String pic) { + public void Draw_GetPicSize(Dimension dim, String pic) { image_t image = Draw_FindPic(pic); dim.width = (image != null) ? image.width : -1; @@ -132,7 +132,7 @@ public abstract class Draw extends Image { Draw_StretchPic ============= */ - protected void Draw_StretchPic (int x, int y, int w, int h, String pic) { + public void Draw_StretchPic (int x, int y, int w, int h, String pic) { image_t image; @@ -171,7 +171,7 @@ public abstract class Draw extends Image { Draw_Pic ============= */ - protected void Draw_Pic(int x, int y, String pic) + public void Draw_Pic(int x, int y, String pic) { image_t image; @@ -212,7 +212,7 @@ public abstract class Draw extends Image { refresh window. ============= */ - protected void Draw_TileClear(int x, int y, int w, int h, String pic) { + public void Draw_TileClear(int x, int y, int w, int h, String pic) { image_t image; image = Draw_FindPic(pic); @@ -249,7 +249,7 @@ public abstract class Draw extends Image { Fills a box of pixels with a single color ============= */ - protected void Draw_Fill(int x, int y, int w, int h, int colorIndex) { + public void Draw_Fill(int x, int y, int w, int h, int colorIndex) { if ( colorIndex > 255) Com.Error(Defines.ERR_FATAL, "Draw_Fill: bad color"); @@ -283,7 +283,7 @@ public abstract class Draw extends Image { Draw_FadeScreen ================ */ - protected void Draw_FadeScreen() { + public void Draw_FadeScreen() { gl.glEnable(GL_BLEND); gl.glDisable(GL_TEXTURE_2D); gl.glColor4f(0, 0, 0, 0.8f); @@ -310,7 +310,7 @@ public abstract class Draw extends Image { Draw_StretchRaw ============= */ - protected void Draw_StretchRaw (int x, int y, int w, int h, int cols, int rows, byte[] data) + public void Draw_StretchRaw (int x, int y, int w, int h, int cols, int rows, byte[] data) { int i, j, trows; int sourceIndex; diff --git a/src/jake2/render/fastj/Image.java b/src/jake2/render/fastj/Image.java index edbc013..12ae0df 100644 --- a/src/jake2/render/fastj/Image.java +++ b/src/jake2/render/fastj/Image.java @@ -1452,7 +1452,7 @@ public abstract class Image extends Main { /* * R_RegisterSkin */ - protected image_t R_RegisterSkin(String name) { + public image_t R_RegisterSkin(String name) { return GL_FindImage(name, it_skin); } diff --git a/src/jake2/render/fastj/Main.java b/src/jake2/render/fastj/Main.java index 61ea6c3..ee41440 100644 --- a/src/jake2/render/fastj/Main.java +++ b/src/jake2/render/fastj/Main.java @@ -917,7 +917,7 @@ public abstract class Main extends Base { @@@@@@@@@@@@@@@@@@@@@ */ - protected void R_RenderFrame(refdef_t fd) { + public void R_RenderFrame(refdef_t fd) { R_RenderView(fd); R_SetLightLevel(); R_SetGL2D(); @@ -1074,7 +1074,7 @@ public abstract class Main extends Base { return R_Init(0, 0); } - protected boolean R_Init(int vid_xpos, int vid_ypos) { + public boolean R_Init(int vid_xpos, int vid_ypos) { assert(Warp.SIN.length == 256) : "warpsin table bug"; @@ -1100,7 +1100,7 @@ public abstract class Main extends Base { return true; } - protected boolean R_Init2() { + public boolean R_Init2() { VID.MenuInit(); /* @@ -1300,7 +1300,7 @@ public abstract class Main extends Base { R_Shutdown =============== */ - protected void R_Shutdown() { + public void R_Shutdown() { Cmd.RemoveCommand("modellist"); Cmd.RemoveCommand("screenshot"); Cmd.RemoveCommand("imagelist"); @@ -1321,7 +1321,7 @@ public abstract class Main extends Base { R_BeginFrame @@@@@@@@@@@@@@@@@@@@@ */ - protected void R_BeginFrame(float camera_separation) { + public void R_BeginFrame(float camera_separation) { gl_state.camera_separation = camera_separation; @@ -1436,7 +1436,7 @@ public abstract class Main extends Base { R_SetPalette ============= */ - protected void R_SetPalette(byte[] palette) { + public void R_SetPalette(byte[] palette) { // 256 RGB values (768 bytes) // or null int i; diff --git a/src/jake2/render/fastj/Model.java b/src/jake2/render/fastj/Model.java index ea5696a..1d7ea87 100644 --- a/src/jake2/render/fastj/Model.java +++ b/src/jake2/render/fastj/Model.java @@ -1082,7 +1082,7 @@ public abstract class Model extends Surf { * * Specifies the model that will be used as the world @@@@@@@@@@@@@@@@@@@@@ */ - protected void R_BeginRegistration(String model) { + public void R_BeginRegistration(String model) { resetModelArrays(); // resetPolygonArrays(); Polygon.reset(); @@ -1109,7 +1109,7 @@ public abstract class Model extends Surf { * * @@@@@@@@@@@@@@@@@@@@@ */ - protected model_t R_RegisterModel(String name) { + public model_t R_RegisterModel(String name) { model_t mod = null; int i; qfiles.dsprite_t sprout; @@ -1145,7 +1145,7 @@ public abstract class Model extends Surf { * * @@@@@@@@@@@@@@@@@@@@@ */ - protected void R_EndRegistration() { + public void R_EndRegistration() { model_t mod; for (int i = 0; i < mod_numknown; i++) { diff --git a/src/jake2/render/fastj/Warp.java b/src/jake2/render/fastj/Warp.java index f9a275a..36d2a5f 100644 --- a/src/jake2/render/fastj/Warp.java +++ b/src/jake2/render/fastj/Warp.java @@ -623,7 +623,7 @@ public abstract class Warp extends Model { // 3dstudio environment map names String[] suf = { "rt", "bk", "lf", "ft", "up", "dn" }; - protected void R_SetSky(String name, float rotate, float[] axis) { + public void R_SetSky(String name, float rotate, float[] axis) { assert (axis.length == 3) : "vec3_t bug"; int i; String pathname; |