forked from etternagame/etterna
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mouse visibility in customize gameplay & replays (fullscreen)
- Loading branch information
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
9 changes: 7 additions & 2 deletions
9
Themes/Til Death/BGAnimations/ScreenGameplay overlay/default.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
-- Everything relating to the gameplay screen is gradually moved to WifeJudgmentSpotting.lua | ||
local inReplay = GAMESTATE:GetPlayerState(PLAYER_1):GetPlayerController() == "PlayerController_Replay" | ||
local inCustomize = playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).CustomizeGameplay | ||
local t = Def.ActorFrame {} | ||
t[#t + 1] = LoadActor("WifeJudgmentSpotting") | ||
t[#t + 1] = LoadActor("titlesplash") | ||
t[#t + 1] = LoadActor("leaderboard") | ||
if GAMESTATE:GetPlayerState(PLAYER_1):GetPlayerController() == "PlayerController_Replay" then | ||
if inReplay then | ||
t[#t + 1] = LoadActor("replayscrolling") | ||
end | ||
if playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).CustomizeGameplay then | ||
if inCustomize then | ||
t[#t + 1] = LoadActor("messagebox") | ||
end | ||
if inReplay or inCustomize then | ||
t[#t + 1] = LoadActor("../_cursor") | ||
end | ||
return t |