1
0
forked from 0ad/0ad

Much longer config file

This was SVN commit r806.
This commit is contained in:
MarkT 2004-07-22 16:20:43 +00:00
parent 1e719e9262
commit be524141be
3 changed files with 28 additions and 5 deletions

View File

@ -1,3 +1,5 @@
; System settings:
novbo=true
shadows=true
vsync=false
@ -7,6 +9,18 @@ vsync=false
; xres = 1280
; yres = 960
; General preferences:
; selection.outline.quality = 9; ( higher => very slightly slower, better quality)
; view.scroll.speed = 60
; view.rotate.speed = 0.002
; view.rotate.abouttarget.speed = 0.01
; view.drag.speed = 0.5
; view.zoom.speed = 256.0
; view.zoom.wheel.speed = 16.0
; view.zoom.smoothness = 0.02 ; between 0 and 1
; view.snap.smoothness = 0.02 ; less is sharper, more is softer
; Hotkey mappings:
; Each one of the specified keys will trigger the action on the left
@ -24,13 +38,17 @@ hotkey.camera.zoom.in = Plus, Equals, NumPlus
hotkey.camera.zoom.out = Minus, NumMinus
hotkey.camera.zoom.wheel.in = WheelDown
hotkey.camera.zoom.wheel.out = WheelUp
hotkey.camera.rotate = "LeftCtrl+MouseMiddle", "RightCtrl+MouseMiddle", "MouseLeft+MouseRight"
hotkey.camera.rotate = "LeftCtrl+MouseMiddle", "RightCtrl+MouseMiddle"
hotkey.camera.rotate.abouttarget = "MouseLeft+MouseRight"
hotkey.camera.pan = MouseMiddle
hotkey.camera.pan.left = LeftArrow
hotkey.camera.pan.right = RightArrow
hotkey.camera.pan.forward = UpArrow
hotkey.camera.pan.backward = DownArrow
hotkey.console.toggle = F1, BackQuote
hotkey.camera.bookmark.modifier = BackQuote
hotkey.camera.bookmark.save = LeftCtrl, RightCtrl
hotkey.camera.bookmark.snap = LeftAlt, RightAlt
hotkey.console.toggle = F1
hotkey.selection.add = LeftShift, RightShift
hotkey.selection.remove = LeftCtrl, RightCtrl
hotkey.selection.group.add = LeftShift, RightShift
@ -41,5 +59,8 @@ hotkey.contextorder.next = LeftBracket
hotkey.contextorder.previous = RightBracket
hotkey.highlightall = O
hotkey.orbital.toggle = V
hotkey.orbital.cheat = "LeftCtrl+Backslash"

View File

@ -29,6 +29,7 @@
<!ENTITY % ex_settings
"checked %bool; #IMPLIED
font CDATA #IMPLIED
hotkey CDATA #IMPLIED
input-initvalue-destroyed-at-focus %bool; #IMPLIED
rectcolor-selected CDATA #IMPLIED
scrollbar %bool; #IMPLIED

View File

@ -17,7 +17,6 @@
{
if( !getGUIObjectByName( 'arena' ).hidden )
{
writeConsole( "Updating..." );
g_ballx += g_balldx;
g_bally += g_balldy;
if (g_ballx > 600) {
@ -115,13 +114,15 @@ Nunc bibendum metus a tellus. Nulla lorem metus, convallis id, lobortis eu, elem
</object>
<object type="button" name="ball" sprite="sprite1" size="0 0 1 1" z="120">
<object type="button" name="ball" sprite="sprite1" size="0 0 1 1" z="120" hotkey="orbital.cheat">
<action on="Press"><![CDATA[
writeConsole(mouse);
g_balldx = 0;
g_balldy = 0;
]]></action>
</object>
<object type="button" sprite="sprite1" size="592 2 608 18" z="200"> |v|
<object type="button" sprite="sprite1" size="592 2 608 18" z="200" hotkey="orbital.toggle"> |v|
<action on="Press"><![CDATA[
var arena = getGUIObjectByName('arena');
arena.hidden = !arena.hidden;