mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-23 11:42:31 +01: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:
1 parent
cbbac3936c
commit
c62d5e6ff4
4 files changed
+90
-25
No files matched your search
@@ -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