From b2c948fe840c08b7a70d7c294dff53ca613180c5 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Fri, 27 Nov 2015 00:33:39 -0300 Subject: [PATCH] Fixed audio file names --- pom.xml | 2 +- src/com/droidquest/RoomDisplay.java | 3 +-- src/com/droidquest/levels/Level.java | 8 +++----- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 52d4ec1..cec3205 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ jar DroidQuest - https://github.com/ThomasFooteDQ/DroidQuest + https://github.com/cromerc/DroidQuest UTF-8 diff --git a/src/com/droidquest/RoomDisplay.java b/src/com/droidquest/RoomDisplay.java index 37607f8..337d376 100644 --- a/src/com/droidquest/RoomDisplay.java +++ b/src/com/droidquest/RoomDisplay.java @@ -188,8 +188,7 @@ public class RoomDisplay extends JPanel { } level.roomdisplay.useSounds = tempsound; - level.PlaySound(level.currentViewer.room, Level.TRANSPORTSOUND); - + level.PlaySound(level.currentViewer.room, Level.TRANSPORTSOUND); // Handle menu item initialization if (level.gameCursor instanceof LabCursor) { diff --git a/src/com/droidquest/levels/Level.java b/src/com/droidquest/levels/Level.java index beed263..5169582 100644 --- a/src/com/droidquest/levels/Level.java +++ b/src/com/droidquest/levels/Level.java @@ -52,9 +52,9 @@ public class Level implements ImageObserver, Serializable { public transient static String ATTACHSOUND = "attach.WAV"; public transient static String DETATCHSOUND = "detatch.WAV"; public transient static String PICKUPSOUND = "pickup2.WAV"; - public transient static String DROPSOUND = "drop2.WAV"; - public transient static String BEEPSOUND = "beep2.WAV"; - public transient static String BUMPSOUND = "bump2.WAV"; + public transient static String DROPSOUND = "drop.WAV"; + public transient static String BEEPSOUND = "beep.WAV"; + public transient static String BUMPSOUND = "bump.WAV"; public transient static String CHARGESOUND = "charge.WAV"; public transient static String DISCHARGESOUND = "discharge.WAV"; public transient static String BURNSOUND = "burn.WAV"; @@ -68,9 +68,7 @@ public class Level implements ImageObserver, Serializable { BURNSOUND, ENDMUSICSOUND, STARTMUSICSOUND, TELEPORTSOUND, TRANSPORTSOUND }; - /* Cromer: Disable cheatmode */ public transient boolean cheatmode = false; - /* Cromer */ Level() { Item.level = this;