From bc3949db1a6e81501c25cdcf398ebf9bda3cb51d Mon Sep 17 00:00:00 2001 From: Matei Date: Sun, 18 Sep 2005 03:16:12 +0000 Subject: [PATCH] Added a fairly primitive water plane. This includes several things: - Hotkeys Q, A, Z to toggle, raise and lower the water plane respectively. - A unit trait, named anchor, that says whether it attaches to the terrain or the water. - Small changes to rendering code. This was SVN commit r2744. --- binaries/data/config/system.cfg | 5 +- .../official/entities/template_entity.xml | 3 + .../official/entities/units/hele_ship.xml | 13 ++- .../data/mods/official/gui/test/4_session.xml | 27 +++++ .../maps/scenarios/neareastern_generated.pmp | 2 +- .../maps/scenarios/neareastern_generated.xml | 4 +- .../data/profiles/default/settings/history | 100 +++++++++--------- 7 files changed, 99 insertions(+), 55 deletions(-) diff --git a/binaries/data/config/system.cfg b/binaries/data/config/system.cfg index 2e14648e98..1e3991024d 100644 --- a/binaries/data/config/system.cfg +++ b/binaries/data/config/system.cfg @@ -164,6 +164,9 @@ hotkey.contextorder.previous = RightBracket ; Cycle left through orders (conte hotkey.orbital.toggle = V ; Enable/disable ball arena. hotkey.orbital.cheat = "LeftCtrl+Backslash" ; Freeze ball. hotkey.dudemachine.random = "Ctrl+ForwardSlash" ; Create random Dude. +hotkey.water.toggle = "Q" ; Toggle water rendering +hotkey.water.raise = "A" ; Raise water plane +hotkey.water.lower = "Z" ; Lower water plane ; > OVERLAY KEYS hotkey.fps.toggle = "Shift+F" ; Toggle frame counter. @@ -203,4 +206,4 @@ hotkey.audio.toggle = "Ctrl+A" ; Enable/disable sound. ; shift+# ; add group # to selection ; ctrl+# ; save selection as group # ; alt+# (hold down) ; snap view to group # (while alt is held down) -; mouse on map edge ; scroll in this direction \ No newline at end of file +; mouse on map edge ; scroll in this direction diff --git a/binaries/data/mods/official/entities/template_entity.xml b/binaries/data/mods/official/entities/template_entity.xml index 1a0bc9a6c6..702a4e09b1 100755 --- a/binaries/data/mods/official/entities/template_entity.xml +++ b/binaries/data/mods/official/entities/template_entity.xml @@ -28,6 +28,9 @@ +