Last active
December 19, 2015 12:59
-
-
Save sapier/5959230 to your computer and use it in GitHub Desktop.
Drawing of background/overlay/header/footer
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
texturepack --> file from texturepack | |
game --> file from game | |
default --> file from engine | |
Overlay/Background | |
--------------------------------------------------------------------------------- | |
background false | |
if singleplayertab | |
try1 texturepack game overlay --> successfull | |
try2 game overlay --> successfull | |
try1 texturepack game background --> successfull --> background true | |
try2 game background --> successfull --> background true | |
else | |
try1 texturepack overlay --> successfull | |
try2 default overlay --> successfull | |
try1 texturepack background --> successfull --> background true | |
try2 default background --> successfull --> background true | |
disable clouds | |
if not background and clouds enabled | |
set clouds | |
Header/Footer | |
--------------------------------------------------------------------------------- | |
if singleplayer tab | |
try1 texturepack game --> successfull done | |
try2 game --> successfull done | |
reset to empty | |
else | |
try1 texturepack --> successfull done | |
try2 default --> successfull done | |
reset to empty | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment