1
0
Fork 0
Commit graph

3700 commits

Author SHA1 Message Date
mfranz
2ee5fbb2c6 - remove the Q section (this was meant to be an Easter Egg, but that
doesn't work out well with the option display and the help output)
- add notes about (for now?) reserved keys
- remove useless CDATA in my code parts
2008-10-02 15:21:49 +00:00
mfranz
e561c08c04 - gui.nas: make fuel&payload warning closable with Esc
- multikey.nas: minor clarification in the help output
2008-10-02 15:19:47 +00:00
mfranz
f754102ae3 - add TACAN function
- remove redundant "Radio" in radio entries
- fix location-on-ground
2008-10-02 11:39:45 +00:00
mfranz
a334ed9e7b add initial slightly greyed out help text about <Tab> options 2008-10-02 11:37:17 +00:00
mfranz
29f7d18865 repair :? help function ... sigh, should never have started with colorizing 2008-10-02 10:43:17 +00:00
mfranz
67c40af00c use patthern tree, offer options on <TAB> 2008-10-02 00:59:52 +00:00
mfranz
3fbb11b27a scanf: don't bark on empty test string if format ends with number element 2008-10-02 00:58:57 +00:00
mfranz
5fd89049bb add field width to %s & coding style 2008-10-01 19:51:44 +00:00
tat
d5877f3c5e Sorted the top level keys 2008-10-01 19:36:46 +00:00
tat
a8a95805b9 Added: command :ar<command> to execute route manager command; e.g. :ar@insert-1:KSFO will append KSFO to the waypoint list 2008-10-01 19:28:47 +00:00
tat
8c906246fa Added: command :Pg<airport>[ <runway>] to specify position on ground 2008-10-01 18:44:32 +00:00
tat
04d90bae5a Added: %s support for scanf 2008-10-01 18:36:09 +00:00
mfranz
22e2ef502d :rc%us%f ... set comm%u standby frequency
:rn%us%f   ... set nav%u standby frequency
:rt%3u[xy] ... set tacan channel %u[xy]
2008-10-01 17:56:42 +00:00
mfranz
283dd67ca8 whoops 2008-10-01 16:39:26 +00:00
mfranz
32c5cde2f0 move improved help screen generator multikey.{xml -> nas} 2008-10-01 16:30:25 +00:00
mfranz
772112df89 use color codes only when printing to the terminal 2008-10-01 14:04:47 +00:00
mfranz
ac1fbbbd66 colorize :? 2008-10-01 13:40:43 +00:00
mfranz
273788c75e remove v-group (this was only an example for testing purposes) 2008-10-01 13:04:23 +00:00
mfranz
0b2eab1196 output multikey command list with :? 2008-10-01 12:55:42 +00:00
mfranz
5917ef8cb3 add D (Dialog) entries 2008-10-01 12:23:24 +00:00
mfranz
5de5a3bf0c Oliver SCHROEDER: "config for the Saitek Pro Flight Yoke" 2008-09-30 20:45:02 +00:00
mfranz
613e693656 Be a bit more careful with the kbd hack ... not that I noticed any problems.
(Proper fix probaly necessary in OSG. On my TODO list.)
2008-09-30 20:41:06 +00:00
mfranz
0a15636bd4 :e -> {m,p,t} -> {<value>,CurUp,CurDn} adj. mixture/prop/throttle sel eng.
Same with  :e<number>...  for this engine only
2008-09-30 20:36:07 +00:00
mfranz
886cf8b382 also let adjEngControl return value (average of selected engines) 2008-09-30 20:33:18 +00:00
jons
b417e152e6 Add random horses 2008-09-30 19:23:16 +00:00
mfranz
b1a3428bd8 make slewProp(), and with it {aileron,elevator,rudder}Trim return new value 2008-09-30 18:11:46 +00:00
mfranz
f5babfe796 s/desc/_/ & cosmetics 2008-09-29 22:39:45 +00:00
mfranz
c7340f12bc more documentation & some cosmetics 2008-09-29 20:20:13 +00:00
mfranz
12412f0a56 does no longer work after the nasal update 2008-09-29 16:37:23 +00:00
mfranz
85c552c883 add documentation 2008-09-29 15:06:03 +00:00
mfranz
7274bfe94a s/desc/_/ (binding return variable) 2008-09-29 14:16:50 +00:00
mfranz
a472c009a7 - s/desc/_/ for return values
- return trim values
- more float precision limits
- consistency
2008-09-29 14:09:45 +00:00
mfranz
1b9f9a2f98 hack around kbd bug for now (eew!) 2008-09-29 13:30:42 +00:00
mfranz
024842d9b9 indendation fix, drop a few braces (because we can :-) 2008-09-29 10:06:50 +00:00
mfranz
df90d69de9 string.scanf(): return elements in vector given as argument; function
only returns success (0: no match, 1: extensible match, 2: safe match)
2008-09-29 10:06:16 +00:00
vmmeazza
9f8e759f36 Add Flap Effectivness 2008-09-29 09:02:44 +00:00
martin
aff0a17188 Modified 'apt.dat' to match the upcoming Scenery - no runways moved. 2008-09-28 23:52:12 +00:00
mfranz
2690987d74 add per-engine throttle/mixture/prop-pitch settings: :e2m0.5 2008-09-28 21:51:25 +00:00
mfranz
40f2977030 start vi-like multiple-key commands with ':'
Note that this key does sometimes fail to work. This is caused by the
way our keyboard works ATM. On an (US)English keyboard : and ; are on
the same key. If you do  Press-Shift >> Press-: >> Release-Shift -> Release-:
then not the ':' is released, but the ';'. The ':' remains registered as
pressed, so the next press fails. Another press restores the function.
We fixed this for the letter keys, as it is safe to assume that 'a' and
'A' are on the same key. Unfortunately, we can't make such assumptions
for non-letter keys. We should really track the HW-key numbers, not
the symbols printed on them!
2008-09-28 20:33:30 +00:00
mfranz
eb11977be2 implementation of vi-like multiple-key commands (as suggested by John DENKER) 2008-09-28 20:28:28 +00:00
mfranz
7fd2b75deb various formal improvements 2008-09-28 20:24:20 +00:00
mfranz
3197bc3f24 string.scanf(): more efficient and (more :) correct %f detection 2008-09-28 20:23:14 +00:00
mfranz
7458142f70 load multikey.xml file 2008-09-28 16:34:43 +00:00
mfranz
13a5e62995 scanf: '+' or '-' alone aren't really numbers 2008-09-28 16:20:49 +00:00
mfranz
e95edc0b43 Tatsuhiro NISHIOKA & /me: first draft of multikey definitions 2008-09-28 14:36:38 +00:00
abory
ac84c93b68 - Alexis Bory: minor fixes. 2008-09-27 20:33:29 +00:00
mfranz
2ea8466111 steering: vim typo 2008-09-26 22:53:57 +00:00
mfranz
d5605e2280 steering: fix after nasal update 2008-09-26 22:48:48 +00:00
mfranz
3f4df41fc7 add simple scanf function (a.k.a. poor man's regex) 2008-09-26 12:04:57 +00:00
mfranz
8d6c593c35 flightplan export: don't complain if no waypoints are set 2008-09-25 23:08:18 +00:00