fix: "jake2" -> "lwjake2"
This commit is contained in:
@@ -25,7 +25,7 @@ import lwjake2.qcommon.Qcommon;
|
|||||||
import lwjake2.sys.Timer;
|
import lwjake2.sys.Timer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Jake2 is the main class of Quake2 for Java.
|
* LWJake2 is the main class of Quake2 for Java.
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public final class LWJake2 {
|
public final class LWJake2 {
|
||||||
|
|||||||
@@ -42,70 +42,70 @@ public class GameSave {
|
|||||||
|
|
||||||
private static String preloadclasslist [] =
|
private static String preloadclasslist [] =
|
||||||
{
|
{
|
||||||
"jake2.game.PlayerWeapon",
|
"lwjake2.game.PlayerWeapon",
|
||||||
"jake2.game.AIAdapter",
|
"lwjake2.game.AIAdapter",
|
||||||
"jake2.game.Cmd",
|
"lwjake2.game.Cmd",
|
||||||
"jake2.game.EdictFindFilter",
|
"lwjake2.game.EdictFindFilter",
|
||||||
"jake2.game.EdictIterator",
|
"lwjake2.game.EdictIterator",
|
||||||
"jake2.game.EndianHandler",
|
"lwjake2.game.EndianHandler",
|
||||||
"jake2.game.EntBlockedAdapter",
|
"lwjake2.game.EntBlockedAdapter",
|
||||||
"jake2.game.EntDieAdapter",
|
"lwjake2.game.EntDieAdapter",
|
||||||
"jake2.game.EntDodgeAdapter",
|
"lwjake2.game.EntDodgeAdapter",
|
||||||
"jake2.game.EntInteractAdapter",
|
"lwjake2.game.EntInteractAdapter",
|
||||||
"jake2.game.EntPainAdapter",
|
"lwjake2.game.EntPainAdapter",
|
||||||
"jake2.game.EntThinkAdapter",
|
"lwjake2.game.EntThinkAdapter",
|
||||||
"jake2.game.EntTouchAdapter",
|
"lwjake2.game.EntTouchAdapter",
|
||||||
"jake2.game.EntUseAdapter",
|
"lwjake2.game.EntUseAdapter",
|
||||||
"jake2.game.GameAI",
|
"lwjake2.game.GameAI",
|
||||||
"jake2.game.GameBase",
|
"lwjake2.game.GameBase",
|
||||||
"jake2.game.GameChase",
|
"lwjake2.game.GameChase",
|
||||||
"jake2.game.GameCombat",
|
"lwjake2.game.GameCombat",
|
||||||
"jake2.game.GameFunc",
|
"lwjake2.game.GameFunc",
|
||||||
"jake2.game.GameMisc",
|
"lwjake2.game.GameMisc",
|
||||||
"jake2.game.GameSVCmds",
|
"lwjake2.game.GameSVCmds",
|
||||||
"jake2.game.GameSave",
|
"lwjake2.game.GameSave",
|
||||||
"jake2.game.GameSpawn",
|
"lwjake2.game.GameSpawn",
|
||||||
"jake2.game.GameTarget",
|
"lwjake2.game.GameTarget",
|
||||||
"jake2.game.GameTrigger",
|
"lwjake2.game.GameTrigger",
|
||||||
"jake2.game.GameTurret",
|
"lwjake2.game.GameTurret",
|
||||||
"jake2.game.GameUtil",
|
"lwjake2.game.GameUtil",
|
||||||
"jake2.game.GameWeapon",
|
"lwjake2.game.GameWeapon",
|
||||||
"jake2.game.Info",
|
"lwjake2.game.Info",
|
||||||
"jake2.game.ItemDropAdapter",
|
"lwjake2.game.ItemDropAdapter",
|
||||||
"jake2.game.ItemUseAdapter",
|
"lwjake2.game.ItemUseAdapter",
|
||||||
"jake2.game.Monster",
|
"lwjake2.game.Monster",
|
||||||
"jake2.game.PlayerClient",
|
"lwjake2.game.PlayerClient",
|
||||||
"jake2.game.PlayerHud",
|
"lwjake2.game.PlayerHud",
|
||||||
"jake2.game.PlayerTrail",
|
"lwjake2.game.PlayerTrail",
|
||||||
"jake2.game.PlayerView",
|
"lwjake2.game.PlayerView",
|
||||||
"jake2.game.SuperAdapter",
|
"lwjake2.game.SuperAdapter",
|
||||||
"jake2.game.monsters.M_Actor",
|
"lwjake2.game.monsters.M_Actor",
|
||||||
"jake2.game.monsters.M_Berserk",
|
"lwjake2.game.monsters.M_Berserk",
|
||||||
"jake2.game.monsters.M_Boss2",
|
"lwjake2.game.monsters.M_Boss2",
|
||||||
"jake2.game.monsters.M_Boss3",
|
"lwjake2.game.monsters.M_Boss3",
|
||||||
"jake2.game.monsters.M_Boss31",
|
"lwjake2.game.monsters.M_Boss31",
|
||||||
"jake2.game.monsters.M_Boss32",
|
"lwjake2.game.monsters.M_Boss32",
|
||||||
"jake2.game.monsters.M_Brain",
|
"lwjake2.game.monsters.M_Brain",
|
||||||
"jake2.game.monsters.M_Chick",
|
"lwjake2.game.monsters.M_Chick",
|
||||||
"jake2.game.monsters.M_Flash",
|
"lwjake2.game.monsters.M_Flash",
|
||||||
"jake2.game.monsters.M_Flipper",
|
"lwjake2.game.monsters.M_Flipper",
|
||||||
"jake2.game.monsters.M_Float",
|
"lwjake2.game.monsters.M_Float",
|
||||||
"jake2.game.monsters.M_Flyer",
|
"lwjake2.game.monsters.M_Flyer",
|
||||||
"jake2.game.monsters.M_Gladiator",
|
"lwjake2.game.monsters.M_Gladiator",
|
||||||
"jake2.game.monsters.M_Gunner",
|
"lwjake2.game.monsters.M_Gunner",
|
||||||
"jake2.game.monsters.M_Hover",
|
"lwjake2.game.monsters.M_Hover",
|
||||||
"jake2.game.monsters.M_Infantry",
|
"lwjake2.game.monsters.M_Infantry",
|
||||||
"jake2.game.monsters.M_Insane",
|
"lwjake2.game.monsters.M_Insane",
|
||||||
"jake2.game.monsters.M_Medic",
|
"lwjake2.game.monsters.M_Medic",
|
||||||
"jake2.game.monsters.M_Mutant",
|
"lwjake2.game.monsters.M_Mutant",
|
||||||
"jake2.game.monsters.M_Parasite",
|
"lwjake2.game.monsters.M_Parasite",
|
||||||
"jake2.game.monsters.M_Player",
|
"lwjake2.game.monsters.M_Player",
|
||||||
"jake2.game.monsters.M_Soldier",
|
"lwjake2.game.monsters.M_Soldier",
|
||||||
"jake2.game.monsters.M_Supertank",
|
"lwjake2.game.monsters.M_Supertank",
|
||||||
"jake2.game.monsters.M_Tank",
|
"lwjake2.game.monsters.M_Tank",
|
||||||
"jake2.game.GameItems",
|
"lwjake2.game.GameItems",
|
||||||
// DANGER! init as last, when all adatpers are != null
|
// DANGER! init as last, when all adatpers are != null
|
||||||
"jake2.game.GameItemList"
|
"lwjake2.game.GameItemList"
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -34,158 +34,158 @@ import java.awt.DisplayMode;
|
|||||||
public class DummyRenderer implements refexport_t {
|
public class DummyRenderer implements refexport_t {
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#Init(int, int)
|
* @see lwjake2.client.refexport_t#Init(int, int)
|
||||||
*/
|
*/
|
||||||
public boolean Init(int vid_xpos, int vid_ypos) {
|
public boolean Init(int vid_xpos, int vid_ypos) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#Shutdown()
|
* @see lwjake2.client.refexport_t#Shutdown()
|
||||||
*/
|
*/
|
||||||
public void Shutdown() {
|
public void Shutdown() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#BeginRegistration(java.lang.String)
|
* @see lwjake2.client.refexport_t#BeginRegistration(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public void BeginRegistration(String map) {
|
public void BeginRegistration(String map) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#RegisterModel(java.lang.String)
|
* @see lwjake2.client.refexport_t#RegisterModel(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public model_t RegisterModel(String name) {
|
public model_t RegisterModel(String name) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#RegisterSkin(java.lang.String)
|
* @see lwjake2.client.refexport_t#RegisterSkin(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public Q2Image RegisterSkin(String name) {
|
public Q2Image RegisterSkin(String name) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#RegisterPic(java.lang.String)
|
* @see lwjake2.client.refexport_t#RegisterPic(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public Q2Image RegisterPic(String name) {
|
public Q2Image RegisterPic(String name) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#SetSky(java.lang.String, float, float[])
|
* @see lwjake2.client.refexport_t#SetSky(java.lang.String, float, float[])
|
||||||
*/
|
*/
|
||||||
public void SetSky(String name, float rotate, float[] axis) {
|
public void SetSky(String name, float rotate, float[] axis) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#EndRegistration()
|
* @see lwjake2.client.refexport_t#EndRegistration()
|
||||||
*/
|
*/
|
||||||
public void EndRegistration() {
|
public void EndRegistration() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#RenderFrame(jake2.client.refdef_t)
|
* @see lwjake2.client.refexport_t#RenderFrame(jake2.client.refdef_t)
|
||||||
*/
|
*/
|
||||||
public void RenderFrame(refdef_t fd) {
|
public void RenderFrame(refdef_t fd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#DrawGetPicSize(java.awt.Dimension, java.lang.String)
|
* @see lwjake2.client.refexport_t#DrawGetPicSize(java.awt.Dimension, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public void DrawGetPicSize(Dimension dim, String name) {
|
public void DrawGetPicSize(Dimension dim, String name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#DrawPic(int, int, java.lang.String)
|
* @see lwjake2.client.refexport_t#DrawPic(int, int, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public void DrawPic(int x, int y, String name) {
|
public void DrawPic(int x, int y, String name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#DrawStretchPic(int, int, int, int, java.lang.String)
|
* @see lwjake2.client.refexport_t#DrawStretchPic(int, int, int, int, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public void DrawStretchPic(int x, int y, int w, int h, String name) {
|
public void DrawStretchPic(int x, int y, int w, int h, String name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#DrawChar(int, int, int)
|
* @see lwjake2.client.refexport_t#DrawChar(int, int, int)
|
||||||
*/
|
*/
|
||||||
public void DrawChar(int x, int y, int num) {
|
public void DrawChar(int x, int y, int num) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#DrawTileClear(int, int, int, int, java.lang.String)
|
* @see lwjake2.client.refexport_t#DrawTileClear(int, int, int, int, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public void DrawTileClear(int x, int y, int w, int h, String name) {
|
public void DrawTileClear(int x, int y, int w, int h, String name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#DrawFill(int, int, int, int, int)
|
* @see lwjake2.client.refexport_t#DrawFill(int, int, int, int, int)
|
||||||
*/
|
*/
|
||||||
public void DrawFill(int x, int y, int w, int h, int c) {
|
public void DrawFill(int x, int y, int w, int h, int c) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#DrawFadeScreen()
|
* @see lwjake2.client.refexport_t#DrawFadeScreen()
|
||||||
*/
|
*/
|
||||||
public void DrawFadeScreen() {
|
public void DrawFadeScreen() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#DrawStretchRaw(int, int, int, int, int, int, byte[])
|
* @see lwjake2.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) {
|
public void DrawStretchRaw(int x, int y, int w, int h, int cols, int rows, byte[] data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#CinematicSetPalette(byte[])
|
* @see lwjake2.client.refexport_t#CinematicSetPalette(byte[])
|
||||||
*/
|
*/
|
||||||
public void CinematicSetPalette(byte[] palette) {
|
public void CinematicSetPalette(byte[] palette) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#BeginFrame(float)
|
* @see lwjake2.client.refexport_t#BeginFrame(float)
|
||||||
*/
|
*/
|
||||||
public void BeginFrame(float camera_separation) {
|
public void BeginFrame(float camera_separation) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#EndFrame()
|
* @see lwjake2.client.refexport_t#EndFrame()
|
||||||
*/
|
*/
|
||||||
public void EndFrame() {
|
public void EndFrame() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#AppActivate(boolean)
|
* @see lwjake2.client.refexport_t#AppActivate(boolean)
|
||||||
*/
|
*/
|
||||||
public void AppActivate(boolean activate) {
|
public void AppActivate(boolean activate) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#updateScreen(java.lang.Runnable)
|
* @see lwjake2.client.refexport_t#updateScreen(java.lang.Runnable)
|
||||||
*/
|
*/
|
||||||
public void updateScreen(Runnable callback) {
|
public void updateScreen(Runnable callback) {
|
||||||
callback.run();
|
callback.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#apiVersion()
|
* @see lwjake2.client.refexport_t#apiVersion()
|
||||||
*/
|
*/
|
||||||
public int apiVersion() {
|
public int apiVersion() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#getModeList()
|
* @see lwjake2.client.refexport_t#getModeList()
|
||||||
*/
|
*/
|
||||||
public DisplayMode[] getModeList() {
|
public DisplayMode[] getModeList() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.client.refexport_t#getKeyboardHandler()
|
* @see lwjake2.client.refexport_t#getKeyboardHandler()
|
||||||
*/
|
*/
|
||||||
public KBD getKeyboardHandler() {
|
public KBD getKeyboardHandler() {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ final class LWJGLRenderer extends Misc implements refexport_t, Ref {
|
|||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#Init()
|
* @see lwjake2.client.refexport_t#Init()
|
||||||
*/
|
*/
|
||||||
public boolean Init(int vid_xpos, int vid_ypos) {
|
public boolean Init(int vid_xpos, int vid_ypos) {
|
||||||
|
|
||||||
@@ -71,139 +71,139 @@ final class LWJGLRenderer extends Misc implements refexport_t, Ref {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#Shutdown()
|
* @see lwjake2.client.refexport_t#Shutdown()
|
||||||
*/
|
*/
|
||||||
public void Shutdown() {
|
public void Shutdown() {
|
||||||
R_Shutdown();
|
R_Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#BeginRegistration(java.lang.String)
|
* @see lwjake2.client.refexport_t#BeginRegistration(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public final void BeginRegistration(String map) {
|
public final void BeginRegistration(String map) {
|
||||||
R_BeginRegistration(map);
|
R_BeginRegistration(map);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#RegisterModel(java.lang.String)
|
* @see lwjake2.client.refexport_t#RegisterModel(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public final model_t RegisterModel(String name) {
|
public final model_t RegisterModel(String name) {
|
||||||
return R_RegisterModel(name);
|
return R_RegisterModel(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#RegisterSkin(java.lang.String)
|
* @see lwjake2.client.refexport_t#RegisterSkin(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public final Q2Image RegisterSkin(String name) {
|
public final Q2Image RegisterSkin(String name) {
|
||||||
return R_RegisterSkin(name);
|
return R_RegisterSkin(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#RegisterPic(java.lang.String)
|
* @see lwjake2.client.refexport_t#RegisterPic(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public final Q2Image RegisterPic(String name) {
|
public final Q2Image RegisterPic(String name) {
|
||||||
return Draw_FindPic(name);
|
return Draw_FindPic(name);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#SetSky(java.lang.String, float, float[])
|
* @see lwjake2.client.refexport_t#SetSky(java.lang.String, float, float[])
|
||||||
*/
|
*/
|
||||||
public final void SetSky(String name, float rotate, float[] axis) {
|
public final void SetSky(String name, float rotate, float[] axis) {
|
||||||
R_SetSky(name, rotate, axis);
|
R_SetSky(name, rotate, axis);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#EndRegistration()
|
* @see lwjake2.client.refexport_t#EndRegistration()
|
||||||
*/
|
*/
|
||||||
public final void EndRegistration() {
|
public final void EndRegistration() {
|
||||||
R_EndRegistration();
|
R_EndRegistration();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#RenderFrame(jake2.client.refdef_t)
|
* @see lwjake2.client.refexport_t#RenderFrame(jake2.client.refdef_t)
|
||||||
*/
|
*/
|
||||||
public final void RenderFrame(refdef_t fd) {
|
public final void RenderFrame(refdef_t fd) {
|
||||||
R_RenderFrame(fd);
|
R_RenderFrame(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#DrawGetPicSize(java.awt.Dimension, java.lang.String)
|
* @see lwjake2.client.refexport_t#DrawGetPicSize(java.awt.Dimension, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public final void DrawGetPicSize(Dimension dim, String name) {
|
public final void DrawGetPicSize(Dimension dim, String name) {
|
||||||
Draw_GetPicSize(dim, name);
|
Draw_GetPicSize(dim, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#DrawPic(int, int, java.lang.String)
|
* @see lwjake2.client.refexport_t#DrawPic(int, int, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public final void DrawPic(int x, int y, String name) {
|
public final void DrawPic(int x, int y, String name) {
|
||||||
Draw_Pic(x, y, name);
|
Draw_Pic(x, y, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#DrawStretchPic(int, int, int, int, java.lang.String)
|
* @see lwjake2.client.refexport_t#DrawStretchPic(int, int, int, int, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public final void DrawStretchPic(int x, int y, int w, int h, String name) {
|
public final void DrawStretchPic(int x, int y, int w, int h, String name) {
|
||||||
Draw_StretchPic(x, y, w, h, name);
|
Draw_StretchPic(x, y, w, h, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#DrawChar(int, int, int)
|
* @see lwjake2.client.refexport_t#DrawChar(int, int, int)
|
||||||
*/
|
*/
|
||||||
public final void DrawChar(int x, int y, int num) {
|
public final void DrawChar(int x, int y, int num) {
|
||||||
Draw_Char(x, y, num);
|
Draw_Char(x, y, num);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#DrawTileClear(int, int, int, int, java.lang.String)
|
* @see lwjake2.client.refexport_t#DrawTileClear(int, int, int, int, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public final void DrawTileClear(int x, int y, int w, int h, String name) {
|
public final void DrawTileClear(int x, int y, int w, int h, String name) {
|
||||||
Draw_TileClear(x, y, w, h, name);
|
Draw_TileClear(x, y, w, h, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#DrawFill(int, int, int, int, int)
|
* @see lwjake2.client.refexport_t#DrawFill(int, int, int, int, int)
|
||||||
*/
|
*/
|
||||||
public final void DrawFill(int x, int y, int w, int h, int c) {
|
public final void DrawFill(int x, int y, int w, int h, int c) {
|
||||||
Draw_Fill(x, y, w, h, c);
|
Draw_Fill(x, y, w, h, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#DrawFadeScreen()
|
* @see lwjake2.client.refexport_t#DrawFadeScreen()
|
||||||
*/
|
*/
|
||||||
public final void DrawFadeScreen() {
|
public final void DrawFadeScreen() {
|
||||||
Draw_FadeScreen();
|
Draw_FadeScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#DrawStretchRaw(int, int, int, int, int, int, byte[])
|
* @see lwjake2.client.refexport_t#DrawStretchRaw(int, int, int, int, int, int, byte[])
|
||||||
*/
|
*/
|
||||||
public final void DrawStretchRaw(int x, int y, int w, int h, int cols, int rows, byte[] data) {
|
public final void DrawStretchRaw(int x, int y, int w, int h, int cols, int rows, byte[] data) {
|
||||||
Draw_StretchRaw(x, y, w, h, cols, rows, data);
|
Draw_StretchRaw(x, y, w, h, cols, rows, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#CinematicSetPalette(byte[])
|
* @see lwjake2.client.refexport_t#CinematicSetPalette(byte[])
|
||||||
*/
|
*/
|
||||||
public final void CinematicSetPalette(byte[] palette) {
|
public final void CinematicSetPalette(byte[] palette) {
|
||||||
R_SetPalette(palette);
|
R_SetPalette(palette);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#BeginFrame(float)
|
* @see lwjake2.client.refexport_t#BeginFrame(float)
|
||||||
*/
|
*/
|
||||||
public final void BeginFrame(float camera_separation) {
|
public final void BeginFrame(float camera_separation) {
|
||||||
R_BeginFrame(camera_separation);
|
R_BeginFrame(camera_separation);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#EndFrame()
|
* @see lwjake2.client.refexport_t#EndFrame()
|
||||||
*/
|
*/
|
||||||
public final void EndFrame() {
|
public final void EndFrame() {
|
||||||
GLimp_EndFrame();
|
GLimp_EndFrame();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see jake2.client.refexport_t#AppActivate(boolean)
|
* @see lwjake2.client.refexport_t#AppActivate(boolean)
|
||||||
*/
|
*/
|
||||||
public final void AppActivate(boolean activate) {
|
public final void AppActivate(boolean activate) {
|
||||||
GLimp_AppActivate(activate);
|
GLimp_AppActivate(activate);
|
||||||
|
|||||||
@@ -35,57 +35,57 @@ public final class DummyDriver implements Sound {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#Init()
|
* @see lwjake2.sound.Sound#Init()
|
||||||
*/
|
*/
|
||||||
public boolean Init() {
|
public boolean Init() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#Shutdown()
|
* @see lwjake2.sound.Sound#Shutdown()
|
||||||
*/
|
*/
|
||||||
public void Shutdown() {
|
public void Shutdown() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#BeginRegistration()
|
* @see lwjake2.sound.Sound#BeginRegistration()
|
||||||
*/
|
*/
|
||||||
public void BeginRegistration() {
|
public void BeginRegistration() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#RegisterSound(java.lang.String)
|
* @see lwjake2.sound.Sound#RegisterSound(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public sfx_t RegisterSound(String sample) {
|
public sfx_t RegisterSound(String sample) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#EndRegistration()
|
* @see lwjake2.sound.Sound#EndRegistration()
|
||||||
*/
|
*/
|
||||||
public void EndRegistration() {
|
public void EndRegistration() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#StartLocalSound(java.lang.String)
|
* @see lwjake2.sound.Sound#StartLocalSound(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public void StartLocalSound(String sound) {
|
public void StartLocalSound(String sound) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#StartSound(float[], int, int, jake2.sound.sfx_t, float, float, float)
|
* @see lwjake2.sound.Sound#StartSound(float[], int, int, lwjake2.sound.sfx_t, float, float, float)
|
||||||
*/
|
*/
|
||||||
public void StartSound(float[] origin, int entnum, int entchannel, sfx_t sfx, float fvol, float attenuation, float timeofs) {
|
public void StartSound(float[] origin, int entnum, int entchannel, sfx_t sfx, float fvol, float attenuation, float timeofs) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#Update(float[], float[], float[], float[])
|
* @see lwjake2.sound.Sound#Update(float[], float[], float[], float[])
|
||||||
*/
|
*/
|
||||||
public void Update(float[] origin, float[] forward, float[] right, float[] up) {
|
public void Update(float[] origin, float[] forward, float[] right, float[] up) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#RawSamples(int, int, int, int, byte[])
|
* @see lwjake2.sound.Sound#RawSamples(int, int, int, int, byte[])
|
||||||
*/
|
*/
|
||||||
public void RawSamples(int samples, int rate, int width, int channels, ByteBuffer data) {
|
public void RawSamples(int samples, int rate, int width, int channels, ByteBuffer data) {
|
||||||
}
|
}
|
||||||
@@ -94,13 +94,13 @@ public final class DummyDriver implements Sound {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#StopAllSounds()
|
* @see lwjake2.sound.Sound#StopAllSounds()
|
||||||
*/
|
*/
|
||||||
public void StopAllSounds() {
|
public void StopAllSounds() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#getName()
|
* @see lwjake2.sound.Sound#getName()
|
||||||
*/
|
*/
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return "dummy";
|
return "dummy";
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.SoundImpl#Init()
|
* @see lwjake2.sound.SoundImpl#Init()
|
||||||
*/
|
*/
|
||||||
public boolean Init() {
|
public boolean Init() {
|
||||||
|
|
||||||
@@ -154,7 +154,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
private ByteBuffer sfxDataBuffer = Lib.newByteBuffer(2 * 1024 * 1024);
|
private ByteBuffer sfxDataBuffer = Lib.newByteBuffer(2 * 1024 * 1024);
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.SoundImpl#RegisterSound(jake2.sound.sfx_t)
|
* @see lwjake2.sound.SoundImpl#RegisterSound(jake2.sound.sfx_t)
|
||||||
*/
|
*/
|
||||||
private void initBuffer(byte[] samples, int bufferId, int freq) {
|
private void initBuffer(byte[] samples, int bufferId, int freq) {
|
||||||
ByteBuffer data = sfxDataBuffer.slice();
|
ByteBuffer data = sfxDataBuffer.slice();
|
||||||
@@ -183,7 +183,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.SoundImpl#Shutdown()
|
* @see lwjake2.sound.SoundImpl#Shutdown()
|
||||||
*/
|
*/
|
||||||
public void Shutdown() {
|
public void Shutdown() {
|
||||||
StopAllSounds();
|
StopAllSounds();
|
||||||
@@ -206,7 +206,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.SoundImpl#StartSound(float[], int, int, jake2.sound.sfx_t, float, float, float)
|
* @see lwjake2.sound.SoundImpl#StartSound(float[], int, int, lwjake2.sound.sfx_t, float, float, float)
|
||||||
*/
|
*/
|
||||||
public void StartSound(float[] origin, int entnum, int entchannel, sfx_t sfx, float fvol, float attenuation, float timeofs) {
|
public void StartSound(float[] origin, int entnum, int entchannel, sfx_t sfx, float fvol, float attenuation, float timeofs) {
|
||||||
|
|
||||||
@@ -229,7 +229,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
private FloatBuffer listenerOrientation = Lib.newFloatBuffer(6);
|
private FloatBuffer listenerOrientation = Lib.newFloatBuffer(6);
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.SoundImpl#Update(float[], float[], float[], float[])
|
* @see lwjake2.sound.SoundImpl#Update(float[], float[], float[], float[])
|
||||||
*/
|
*/
|
||||||
public void Update(float[] origin, float[] forward, float[] right, float[] up) {
|
public void Update(float[] origin, float[] forward, float[] right, float[] up) {
|
||||||
|
|
||||||
@@ -257,7 +257,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.SoundImpl#StopAllSounds()
|
* @see lwjake2.sound.SoundImpl#StopAllSounds()
|
||||||
*/
|
*/
|
||||||
public void StopAllSounds() {
|
public void StopAllSounds() {
|
||||||
// mute the listener (master)
|
// mute the listener (master)
|
||||||
@@ -267,7 +267,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#getName()
|
* @see lwjake2.sound.Sound#getName()
|
||||||
*/
|
*/
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return "lwjgl";
|
return "lwjgl";
|
||||||
@@ -277,7 +277,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
boolean s_registering;
|
boolean s_registering;
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#BeginRegistration()
|
* @see lwjake2.sound.Sound#BeginRegistration()
|
||||||
*/
|
*/
|
||||||
public void BeginRegistration() {
|
public void BeginRegistration() {
|
||||||
s_registration_sequence++;
|
s_registration_sequence++;
|
||||||
@@ -285,7 +285,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#RegisterSound(java.lang.String)
|
* @see lwjake2.sound.Sound#RegisterSound(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public sfx_t RegisterSound(String name) {
|
public sfx_t RegisterSound(String name) {
|
||||||
sfx_t sfx = FindName(name, true);
|
sfx_t sfx = FindName(name, true);
|
||||||
@@ -298,7 +298,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#EndRegistration()
|
* @see lwjake2.sound.Sound#EndRegistration()
|
||||||
*/
|
*/
|
||||||
public void EndRegistration() {
|
public void EndRegistration() {
|
||||||
int i;
|
int i;
|
||||||
@@ -479,7 +479,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#StartLocalSound(java.lang.String)
|
* @see lwjake2.sound.Sound#StartLocalSound(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public void StartLocalSound(String sound) {
|
public void StartLocalSound(String sound) {
|
||||||
sfx_t sfx;
|
sfx_t sfx;
|
||||||
@@ -495,7 +495,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
private ShortBuffer streamBuffer = sfxDataBuffer.slice().order(ByteOrder.BIG_ENDIAN).asShortBuffer();
|
private ShortBuffer streamBuffer = sfxDataBuffer.slice().order(ByteOrder.BIG_ENDIAN).asShortBuffer();
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see jake2.sound.Sound#RawSamples(int, int, int, int, byte[])
|
* @see lwjake2.sound.Sound#RawSamples(int, int, int, int, byte[])
|
||||||
*/
|
*/
|
||||||
public void RawSamples(int samples, int rate, int width, int channels, ByteBuffer data) {
|
public void RawSamples(int samples, int rate, int width, int channels, ByteBuffer data) {
|
||||||
int format;
|
int format;
|
||||||
|
|||||||
Reference in New Issue
Block a user