-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tanks v1.1.1 - New graphics options and bug fixes
- Loading branch information
Showing
118 changed files
with
4,251 additions
and
3,118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
package basewindow; | ||
|
||
public abstract class BaseShapeRenderer | ||
{ | ||
public boolean supportsBatching = false; | ||
|
||
public abstract void fillOval(double x, double y, double sX, double sY); | ||
|
||
public abstract void fillOval(double x, double y, double z, double sX, double sY, boolean depthTest); | ||
|
||
public abstract void fillPartialOval(double x, double y, double sX, double sY, double start, double end); | ||
|
||
public abstract void fillFacingOval(double x, double y, double z, double sX, double sY, boolean depthTest); | ||
|
||
public abstract void fillGlow(double x, double y, double sX, double sY); | ||
|
||
public abstract void fillGlow(double x, double y, double z, double sX, double sY, boolean depthTest); | ||
|
||
public abstract void fillFacingGlow(double x, double y, double z, double sX, double sY, boolean depthTest); | ||
|
||
public abstract void fillGlow(double x, double y, double sX, double sY, boolean shade); | ||
|
||
public abstract void fillGlow(double x, double y, double sX, double sY, boolean shade, boolean light); | ||
|
||
public abstract void fillGlow(double x, double y, double z, double sX, double sY, boolean depthTest, boolean shade); | ||
|
||
public abstract void fillGlow(double x, double y, double z, double sX, double sY, boolean depthTest, boolean shade, boolean light); | ||
|
||
public abstract void fillFacingGlow(double x, double y, double z, double sX, double sY, boolean depthTest, boolean shade); | ||
|
||
public abstract void fillFacingGlow(double x, double y, double z, double sX, double sY, boolean depthTest, boolean shade, boolean light); | ||
|
||
public abstract void drawOval(double x, double y, double sX, double sY); | ||
|
||
public abstract void drawOval(double x, double y, double z, double sX, double sY); | ||
|
||
public abstract void fillRect(double x, double y, double sX, double sY); | ||
|
||
public abstract void fillBox(double x, double y, double z, double sX, double sY, double sZ); | ||
|
||
public abstract void fillBox(double x, double y, double z, double sX, double sY, double sZ, byte options); | ||
|
||
public abstract void fillQuad(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4); | ||
|
||
public abstract void fillQuadBox(double x1, double y1, | ||
double x2, double y2, | ||
double x3, double y3, | ||
double x4, double y4, | ||
double z, double sZ, | ||
byte options); | ||
|
||
public abstract void drawRect(double x, double y, double sX, double sY); | ||
|
||
public abstract void drawImage(double x, double y, double sX, double sY, String image, boolean scaled); | ||
|
||
public abstract void drawImage(double x, double y, double z, double sX, double sY, String image, boolean scaled); | ||
|
||
public abstract void drawImage(double x, double y, double sX, double sY, double u1, double v1, double u2, double v2, String image, boolean scaled); | ||
|
||
public abstract void drawImage(double x, double y, double z, double sX, double sY, double u1, double v1, double u2, double v2, String image, boolean scaled); | ||
|
||
public abstract void drawImage(double x, double y, double z, double sX, double sY, double u1, double v1, double u2, double v2, String image, boolean scaled, boolean depthtest); | ||
|
||
public abstract void drawImage(double x, double y, double sX, double sY, String image, double rotation, boolean scaled); | ||
|
||
public abstract void drawImage(double x, double y, double z, double sX, double sY, String image, double rotation, boolean scaled); | ||
|
||
public abstract void drawImage(double x, double y, double sX, double sY, double u1, double v1, double u2, double v2, String image, double rotation, boolean scaled); | ||
|
||
public abstract void drawImage(double x, double y, double z, double sX, double sY, double u1, double v1, double u2, double v2, String image, double rotation, boolean scaled); | ||
|
||
public abstract void drawImage(double x, double y, double z, double sX, double sY, double u1, double v1, double u2, double v2, String image, double rotation, boolean scaled, boolean depthtest); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package basewindow; | ||
|
||
public interface IModel | ||
{ | ||
void draw(double posX, double posY, double posZ, double sX, double sY, double sZ, double yaw, double pitch, double roll, boolean depthTest); | ||
void draw(double posX, double posY, double sX, double sY, double yaw); | ||
} |
Oops, something went wrong.