XML:PSUI: Difference between revisions

116 bytes added ,  24 December 2021
updating information pertaining to the Tool mode PSUI
(Created page with "{{XML_File_Header | type=PSUI | prev=PSpL | next=StNA | name=Part Specification UI}} ==General information== *PSUI is a global type (level0_Final.dat) and only two of them ex...")
 
(updating information pertaining to the Tool mode PSUI)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{XML_File_Header | type=PSUI | prev=PSpL | next=StNA | name=Part Specification UI}}
{{XML_File_Header | prev=PSpL | type=PSUI | next=SNDD | name=Part Specification UI}}


==General information==
==General information==
*PSUI is a global type (level0_Final.dat) and only two of them exist in vanilla Oni: PSUIpsui_g206 and PSUIpsui_oniUI.
*PSUI is a global type (level0_Final.dat) and only two of them exist in vanilla Oni: PSUIpsui_g206 and PSUIpsui_oniUI.
*Only PSUIpsui_oniUI is called upon in Oni. It contains a list of [[XML:PSpc|PSpcs]] that should be used to draw the game's interface, but in-game and out-of-game.
*Only PSUIpsui_oniUI is called upon in Oni. It contains a list of [[XML:PSpc|PSpcs]] that should be used to draw the game's interface, both in-game and out-of-game.
*PSUIpsui_g206 provided the GUI for [[Tool mode]]. Apparently _oniUI was created from _g206, as any elements in _oniUI that aren't actually used still link to PSpcs belonging to _g206.
*If you follow the PSpc links back to the actual TXMPs which they slice up to get their visual data from, the _oniUI PSpcs all link to TXMPnavi and the _g206 PSpcs all link to TXMPg206_controls_128x64.


==Example==
==Example==
Line 56: Line 58:
     </PSUI>
     </PSUI>
  </Oni>
  </Oni>
The references in this PSUI to PSpcs starting with "ps_g206" are probably development relics and represent elements that are never drawn in Oni's in-game or out-of-game GUI. The "ps_oniUI" PSpcs all link to TXMPnavi, which they slice up in order to draw the UI controls.


{{XML}}
{{XML}}