Skip to content

Commit

Permalink
First push for Yeesha Page 27
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazado committed Dec 14, 2022
1 parent cca774a commit 6de2df1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
4 changes: 3 additions & 1 deletion Scripts/Python/clftYeeshaPage08.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
kYeeshaPage24 = 224
kYeeshaPage25 = 225
kYeeshaPage26 = 226
kYeeshaPage27 = 227
kYeeshaPageCancel = 299

isOpen = 0
Expand Down Expand Up @@ -227,7 +228,8 @@ def SetStdGUIVisibility(self, visible):
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage24)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage25)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage26)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage27)).hide()

ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage08)).show()

GUIDialogObject.value.draw.disable()
GUIDialogObject.value.draw.disable()
2 changes: 1 addition & 1 deletion Scripts/Python/psnlYeeshaPageChanges.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
from PlasmaVaultConstants import *
from PlasmaNetConstants import *
from xPsnlVaultSDL import *
import xLinkingBookDefs

PageNumber = ptAttribInt(1, "Yeesha Page Number")
stringShowStates = ptAttribString(2,"States in which shown")
Expand All @@ -63,7 +64,6 @@
respDisable = ptAttribResponder(6, "Disabled resp (if necessary)")

#globals
import xLinkingBookDefs
TotalPossibleYeeshaPages = len(xLinkingBookDefs.xYeeshaPages)
HideCleftPole = 0

Expand Down
4 changes: 3 additions & 1 deletion Scripts/Python/xLinkingBookDefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,13 @@
xYeeshaPage24 = ( "YeeshaPage24", '<pb><img src="xYeeshaPageAlphaSketchStorm*1#0.hsm" align=center check=00ff18,00800c,%d link=25>' )
xYeeshaPage25 = ( "YeeshaPage25", '<pb><img src="xYeeshaPageAlphaSketch14*1#0.hsm" align=center check=00ff18,00800c,%d link=26>' )
xYeeshaPage26 = ( "YeeshaPage26", '<pb><img src="xYeeshaPageVeelay7.dds" align=center check=00ff18,00800c,%d link=27>' )
xYeeshaPage27 = ( "YeeshaPage27", '<pb><img src="xYeeshaPageOcean.dds" align=center check=00ff18,00800c,%d link=28>' )


xYeeshaPages = [ xYeeshaPage1, xYeeshaPage2, xYeeshaPage3, xYeeshaPage4, xYeeshaPage5, xYeeshaPage6, xYeeshaPage7,\
xYeeshaPage8, xYeeshaPage9, xYeeshaPage10, xYeeshaPage12, xYeeshaPage13, xYeeshaPage14, xYeeshaPage15,\
xYeeshaPage16, xYeeshaPage17, xYeeshaPage18, xYeeshaPage19, xYeeshaPage20, xYeeshaPage21, xYeeshaPage22, xYeeshaPage23, xYeeshaPage24, xYeeshaPage25, xYeeshaPage26 ]
xYeeshaPage16, xYeeshaPage17, xYeeshaPage18, xYeeshaPage19, xYeeshaPage20, xYeeshaPage21, xYeeshaPage22,\
xYeeshaPage23, xYeeshaPage24, xYeeshaPage25, xYeeshaPage26, xYeeshaPage27 ]



Expand Down
8 changes: 7 additions & 1 deletion Scripts/Python/xYeeshaPages.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,16 @@
kYeeshaPage24 = 224
kYeeshaPage25 = 225
kYeeshaPage26 = 226
kYeeshaPage27 = 227
kYeeshaPageCancel = 299

YeeshaPageIDList = [ kYeeshaPage01, kYeeshaPage02, kYeeshaPage03, kYeeshaPage04,\
kYeeshaPage05, kYeeshaPage06, kYeeshaPage07, kYeeshaPage08,\
kYeeshaPage09, kYeeshaPage10, kYeeshaPage12, kYeeshaPage13,\
kYeeshaPage14, kYeeshaPage15, kYeeshaPage16, kYeeshaPage17,\
kYeeshaPage18, kYeeshaPage19, kYeeshaPage20, kYeeshaPage21, kYeeshaPage22, kYeeshaPage23, kYeeshaPage24, kYeeshaPage25, kYeeshaPage26 ]
kYeeshaPage18, kYeeshaPage19, kYeeshaPage20, kYeeshaPage21, \
kYeeshaPage22, kYeeshaPage23, kYeeshaPage24, kYeeshaPage25, \
kYeeshaPage26, kYeeshaPage27 ]


class xYeeshaPages(ptModifier):
Expand Down Expand Up @@ -236,6 +239,7 @@ def IDrawLinkPanel(self):
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage24)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage25)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage26)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage27)).hide()

#now draw correct panel
if (PageNumber.value) == 1:
Expand Down Expand Up @@ -288,6 +292,8 @@ def IDrawLinkPanel(self):
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage25)).show()
elif (PageNumber.value) == 26:
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage26)).show()
elif (PageNumber.value) == 27:
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage27)).show()


else:
Expand Down
4 changes: 2 additions & 2 deletions Scripts/dat/Personal.fni
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Graphics.Renderer.Setyon 10000
Graphics.Renderer.Fog.SetDefLinear 1 900 2
Graphics.Renderer.Fog.SetDefLinear 1 1800 2
Graphics.Renderer.Fog.SetDefColor .4 .4 .5
Graphics.Renderer.SetClearColor .4 .4 .5
Graphics.Renderer.SetClearColor .4 .4 .5

0 comments on commit 6de2df1

Please sign in to comment.