Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-09-04 17:57:00 +0000
committerStijn Buys <ingar@osirion.org>2011-09-04 17:57:00 +0000
commited8a36e6c93fa2b3c98d126d2f9134663e306dc3 (patch)
tree0bafa02b19fce69ec3bcf56a2e1f3d0ad0ab5c3d /base
parenta255ef3a31f51907b222aaba330ddd84c7a1bd44 (diff)
Moved menu definitions to a seperate ini file.
Diffstat (limited to 'base')
-rw-r--r--base/ini/menu.ini120
-rw-r--r--base/ini/ui.ini121
2 files changed, 120 insertions, 121 deletions
diff --git a/base/ini/menu.ini b/base/ini/menu.ini
new file mode 100644
index 0000000..5370a32
--- /dev/null
+++ b/base/ini/menu.ini
@@ -0,0 +1,120 @@
+;
+; menu.ini
+; client menu definitions
+;
+
+;
+; main menu
+; ------------------------------------------------------------------
+
+[menu]
+label=main
+
+[label]
+text=Project::OSiRiON
+
+[button]
+text=New Game
+command=connect
+
+[button]
+text=Multiplayer
+command=connect osirion.org
+
+[button]
+text=Options
+command=menu options
+
+[button]
+text=Quit
+command=quit
+;
+; game menu
+; ------------------------------------------------------------------
+
+[menu]
+label=game
+
+[label]
+text=Project::OSiRiON
+
+[button]
+text=Options
+command=menu options
+
+[button]
+text=Disconnect
+command=disconnect
+
+[button]
+text=Quit
+command=quit
+
+[button]
+text=Close menu
+command=menu hide
+
+;
+; join menu
+; ------------------------------------------------------------------
+
+[menu]
+label=join
+
+[label]
+text=Project::OSiRiON
+
+[button]
+text=Join
+; note: we use comma as command seperator in .ini files.
+command=join, menu hide
+
+[button]
+text=Disconnect
+command=disconnect
+
+[button]
+text=Main menu
+command=menu game
+
+;
+; options menu
+; ------------------------------------------------------------------
+
+[menu]
+label=options
+background=bitmaps/banner
+
+[label]
+text=Options
+
+[button]
+text=Toggle fullscreen
+command=toggle r_fullscreen
+align=left
+
+[button]
+text=Toggle grid
+command=toggle r_grid
+align=left
+
+[button]
+text=Toggle keypress
+command=toggle draw_keypress
+align=left
+
+[button]
+text=Toggle stats
+command=toggle draw_stats
+align=left
+
+[button]
+text=Toggle wireframe
+command=toggle r_wireframe
+align=left
+
+[button]
+text=Return
+text=Close menu
+align=center
+command=menu default
diff --git a/base/ini/ui.ini b/base/ini/ui.ini
index ed37a8b..4a5aa1b 100644
--- a/base/ini/ui.ini
+++ b/base/ini/ui.ini
@@ -44,124 +44,3 @@ fancy=0 1 0
warning=1 1 0
; error text color
error=1 0 0
-
-;
-; main menu
-; ------------------------------------------------------------------
-
-[menu]
-label=main
-; background bitmap
-background=bitmaps/banner
-
-[label]
-text=Main Menu
-
-[button]
-text=New Game
-command=connect
-
-[button]
-text=Multiplayer
-command=connect osirion.org
-
-[button]
-text=Options
-command=menu options
-
-[button]
-text=Quit
-command=quit
-
-;
-; options menu
-; ------------------------------------------------------------------
-
-[menu]
-label=options
-background=bitmaps/banner
-
-[label]
-text=Options
-
-[button]
-text=Toggle fullscreen
-command=toggle r_fullscreen
-align=left
-
-[button]
-text=Toggle grid
-command=toggle r_grid
-align=left
-
-[button]
-text=Toggle keypress
-command=toggle draw_keypress
-align=left
-
-[button]
-text=Toggle stats
-command=toggle draw_stats
-align=left
-
-[button]
-text=Toggle wireframe
-command=toggle r_wireframe
-align=left
-
-[button]
-text=Return
-command=menu previous
-align=center
-
-;
-; game menu
-; ------------------------------------------------------------------
-
-[menu]
-label=game
-background=bitmaps/banner
-
-[label]
-text=Main Menu
-
-[button]
-text=Options
-command=menu options
-
-[button]
-text=Disconnect
-command=disconnect
-
-[button]
-text=Quit
-command=quit
-
-[button]
-text=Return
-command=menu hide
-
-;
-; join menu
-; ------------------------------------------------------------------
-
-[menu]
-label=join
-background=bitmaps/banner
-
-[label]
-text=Project::OSiRiON
-
-[button]
-text=Join
-; note: we use comma as command seperator in .ini files.
-command=join, menu hide
-
-[button]
-text=Disconnect
-command=disconnect
-
-[button]
-text=Main menu
-command=menu game
-