Browse Source

Fixed audio file names

tags/2.7
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 @@
<packaging>jar</packaging>

<name>DroidQuest</name>
<url>https://github.com/ThomasFooteDQ/DroidQuest</url>
<url>https://github.com/cromerc/DroidQuest</url>

<properties>
<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 {
}

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) {

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

@@ -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;

Loading…
Cancel
Save