Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tetris/data/overlays/debug.oxo @ 8461

Last change on this file since 8461 was 8079, checked in by landauf, 14 years ago

merged usability branch back to trunk

incomplete summary of the changes in this branch:

  • enhanced keyboard navigation in GUIs
  • implemented new graphics menu and changeable window size at runtime
  • added developer mode
  • HUD shows if game is paused, game pauses if ingame menu is opened
  • removed a few obsolete commands and hid some that are more for internal use
  • numpad works in console and gui
  • faster loading of level info
  • enhanced usage of compositors (Shader class)
  • improved camera handling, configurable FOV and aspect ratio
  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1<!-- DEBUG OVERLAY -->
2<OverlayGroup
3 name    = "Debug"
4 scale   = "1.0, 1.0"
5 scroll  = "0, 0"
6 visible = false
7>
8  <OverlayText
9   name     = "FPSTextCaption"
10   position = "0.03, 0.05"
11   font     = "Monofur"
12   caption  = "Frames per second:"
13   textsize = 0.03
14  />
15
16  <DebugFPSText
17   name     = "FPSText"
18   position = "0.3, 0.05"
19   font     = "Monofur"
20   textsize = 0.03
21  />
22
23  <OverlayText
24   name     = "RTRTextCaption"
25   position = "0.03, 0.09"
26   font     = "Monofur"
27   caption  = "Tick time in ms: "
28   textsize = 0.03
29  />
30
31  <DebugRTRText
32   name     = "RTRText"
33   position = "0.3, 0.09"
34   font     = "Monofur"
35   textsize = 0.03
36  />
37
38</OverlayGroup>
39
40<Template name="defaultHUD">
41  <OverlayGroup name = "defaultHUD" scale = "1, 1">
42    <ChatOverlay
43     name     = "chat"
44     position = "0.03, 0.08"
45     font     = "VeraMono"
46     caption  = ""
47     textsize = 0.025
48    />
49
50    <KillMessage
51     name     = "killmessage"
52     position = "0.5, 0.15"
53     font     = "VeraMono"
54     textsize = 0.035
55     colour   = "1.0, 1.0, 0.5, 1.0"
56     align    = "center"
57    />
58
59    <DeathMessage
60     name     = "deathmessage"
61     position = "0.5, 0.20"
62     font     = "VeraMono"
63     textsize = 0.035
64     colour   = "1.0, 0.3, 0.3, 1.0"
65     align    = "center"
66    />
67
68    <PauseNotice
69     name     = "pausenotice"
70     position = "0.5, 0.1"
71     font     = "VeraMono"
72     textsize = 0.03
73     colour   = "1.0, 1.0, 1.0, 1.0"
74     align    = "center"
75    />
76
77    <AnnounceMessage
78     name     = "announcemessage"
79     position = "0.5, 0.75"
80     font     = "VeraMono"
81     textsize = 0.05
82     colour   = "0.5, 0.5, 1.0, 1.0"
83     align    = "center"
84    />
85
86    <GametypeStatus
87     name     = "state"
88     position = "0.5, 0.85"
89     font     = "VeraMono"
90     textsize = 0.05
91     colour   = "1.0, 1.0, 0.0, 0.8"
92     align    = "center"
93    />
94  </OverlayGroup>
95</Template>
Note: See TracBrowser for help on using the repository browser.