mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LCE-Revelations.git
synced 2026-06-04 21:04:31 +00:00
Fix music selection to match TU19 behavior
Menu music (menu1-4) now plays only on the title screen, creative music (creative1-6) only plays in creative mode, and survival mode correctly plays only calm/hal/nuance/piano tracks. Reordered the eMUSICFILES enum so piano tracks are contiguous with the survival range, added game-mode-aware track selection via getOverworldMusicID, and re-enabled the playStreaming call in setLevel to stop menu music when entering gameplay. Added debug logging for track selection.
This commit is contained in:
@@ -27,6 +27,7 @@ public:
|
||||
void adjustPlayer(shared_ptr<Player> player);
|
||||
bool isCutScene();
|
||||
void setLocalMode(GameType *mode);
|
||||
GameType* getLocalPlayerMode() const { return localPlayerMode; }
|
||||
virtual void initPlayer(shared_ptr<Player> player);
|
||||
virtual bool canHurtPlayer();
|
||||
virtual bool destroyBlock(int x, int y, int z, int face);
|
||||
|
||||
Reference in New Issue
Block a user