Browse Source

Fixed audio file names

Chris Cromer 3 years ago
parent
commit
b2c948fe84
3 changed files with 5 additions and 8 deletions
  1. 1
    1
      pom.xml
  2. 1
    2
      src/com/droidquest/RoomDisplay.java
  3. 3
    5
      src/com/droidquest/levels/Level.java

+ 1
- 1
pom.xml View File

@@ -8,7 +8,7 @@
8 8
 	<packaging>jar</packaging>
9 9
 
10 10
 	<name>DroidQuest</name>
11
-	<url>https://github.com/ThomasFooteDQ/DroidQuest</url>
11
+	<url>https://github.com/cromerc/DroidQuest</url>
12 12
 
13 13
 	<properties>
14 14
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

+ 1
- 2
src/com/droidquest/RoomDisplay.java View File

@@ -188,8 +188,7 @@ public class RoomDisplay extends JPanel {
188 188
                     }
189 189
 
190 190
                     level.roomdisplay.useSounds = tempsound;
191
-                    level.PlaySound(level.currentViewer.room, Level.TRANSPORTSOUND);
192
-
191
+					level.PlaySound(level.currentViewer.room, Level.TRANSPORTSOUND);
193 192
 
194 193
                     // Handle menu item initialization
195 194
                     if (level.gameCursor instanceof LabCursor) {

+ 3
- 5
src/com/droidquest/levels/Level.java View File

@@ -52,9 +52,9 @@ public class Level implements ImageObserver, Serializable {
52 52
     public transient static String ATTACHSOUND = "attach.WAV";
53 53
     public transient static String DETATCHSOUND = "detatch.WAV";
54 54
     public transient static String PICKUPSOUND = "pickup2.WAV";
55
-    public transient static String DROPSOUND = "drop2.WAV";
56
-    public transient static String BEEPSOUND = "beep2.WAV";
57
-    public transient static String BUMPSOUND = "bump2.WAV";
55
+    public transient static String DROPSOUND = "drop.WAV";
56
+    public transient static String BEEPSOUND = "beep.WAV";
57
+    public transient static String BUMPSOUND = "bump.WAV";
58 58
     public transient static String CHARGESOUND = "charge.WAV";
59 59
     public transient static String DISCHARGESOUND = "discharge.WAV";
60 60
     public transient static String BURNSOUND = "burn.WAV";
@@ -68,9 +68,7 @@ public class Level implements ImageObserver, Serializable {
68 68
             BURNSOUND, ENDMUSICSOUND, STARTMUSICSOUND,
69 69
             TELEPORTSOUND, TRANSPORTSOUND
70 70
     };
71
-    /* Cromer: Disable cheatmode */
72 71
     public transient boolean cheatmode = false;
73
-    /* Cromer */
74 72
 
75 73
     Level() {
76 74
         Item.level = this;

Loading…
Cancel
Save