1
0
Fork 0
Commit graph

3208 commits

Author SHA1 Message Date
mfranz
e6e1f8ae20 - move color functions from debug.nas to string.nas
- multikey.nas: add exit/no-exit markers to help output
2008-10-03 15:20:12 +00:00
mfranz
4f7c928cb6 - use aircraft.teleport() function
- implement :%0 to :%4 as :%<digit>
2008-10-03 10:49:50 +00:00
mfranz
597a7d2187 add teleport() function 2008-10-03 10:48:39 +00:00
mfranz
fbef57eab3 - fix :Pg (Position on ground): s/seed/speed/
- add :%0 to :%4 for OSG on-screen statistics levels (3 and 4 need OSG/HEAD)
- add setpropf() and getpropf() functions
2008-10-03 09:51:55 +00:00
mfranz
fbd73ee7d3 multikey.nas: don't show empty ("reserved") entries
string.nas: scanf: detect %% correctly
2008-10-03 09:47:40 +00:00
abory
8fcaaf4491 - Alexis Bory: As seen previously with Till, the nasty F-14 radar brakes multiplayer.dialog.show() unless we better test the "valid" node. 2008-10-02 20:12:00 +00:00
tat
1f6a12a0f6 Fixed: tacan channel postfix - from {x,y} to {X,Y} 2008-10-02 17:48:24 +00:00
tat
f691df726b Removed RouteManager raw command, and added add/delete/insert/clear/pop commands 2008-10-02 15:56:48 +00:00
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