1
0
Fork 0
Commit graph

138 commits

Author SHA1 Message Date
mfranz
5bc6fb2c62 - make it resizable
- cleanup
2009-02-09 22:27:26 +00:00
mfranz
071eb664f8 export to a place where the security code actually allows it 2009-01-10 16:51:26 +00:00
mfranz
f277c52fd7 use global constants D2R, R2D, M2FT, FT2M 2008-11-20 11:26:41 +00:00
mfranz
0e63bc73bc also dump a google maps link 2008-11-19 21:47:51 +00:00
mfranz
c350a7b6a8 s/fixpath/normpath/ (as in python) 2008-10-15 16:35:11 +00:00
mfranz
8d6c593c35 flightplan export: don't complain if no waypoints are set 2008-09-25 23:08:18 +00:00
mfranz
2e6ffd34e6 s/system/type/ ... that's more consistent with the rest and less confusing 2008-08-13 22:56:21 +00:00
mfranz
0ccd7a62cd let aircraft declare from which refueling system they can receive 2008-08-13 22:00:54 +00:00
mfranz
205675455c - make modelmgr a singleton class
- add selected_models() function
- fix help screen
2008-05-21 23:33:23 +00:00
mfranz
d12dfeda42 bah ... put the clone/copy function on the 'c' 2008-05-10 18:27:15 +00:00
mfranz
8361721c72 make Shift-d clone all selected objects (same key as in Blender :-) 2008-05-10 18:23:52 +00:00
mfranz
a571440567 - let Ctrl-g have the same meaning as g (necessary for LMB emulation)
- more cosmetics
2008-05-10 11:09:33 +00:00
mfranz
4c16eacf96 - make MMB-transformation step size depend on viewer distance
- add cursor.ac to the model selection list (useful as rotation center)
2008-05-09 20:40:10 +00:00
mfranz
6e36e21f7b - support *.osg models (priority: *.xml -> *.osg -> *.ac)
- cleanup
2008-05-09 16:47:38 +00:00
mfranz
e5b1c408dc mouse walk -> operation mode: with Ctrl modifier down, don't move the
ufo position, but the selected objects: ctrl-mmb left/right/up/down move
the objects left/right/away/nearer, and ctrl-mmb-lmb l/r/u/d rotate them
all around the active object ('m'-key marker!) or raise/lower them.

(the gear-key 'g' can for now be used as a Ctrl replacement for people
with 2 button mouse; will probably be moved to a better place ...)
2008-05-08 20:11:39 +00:00
mfranz
59d9f53e57 mouse walk: wrap mouse, so that the walking range is only limited by the
size of the mouse pad, not by the screen size  :-)
2008-05-08 10:23:19 +00:00
mfranz
076bc0f176 mouse walk: don't use Ctrl+MMB for left/right/up/down, but MMB+LMB 2008-05-07 18:03:38 +00:00
mfranz
3d1582798a - center controls when starting/stopping mouse walk, as well as at startup
- make shift modifier increase walking speed
2008-05-06 22:49:02 +00:00
mfranz
ef20bebf4f mouse walk: a bit more progression on x/y/z; no progression on hdg change 2008-05-05 21:47:39 +00:00
mfranz
49763a91b0 move dialogs up so that the mouse button listener doesn't bark 2008-05-05 18:45:21 +00:00
mfranz
53958680a8 center adjust dialog sliders on mouse walk 2008-05-05 18:16:05 +00:00
mfranz
b4b686b5ff let Mouse Walk zero the throttle 2008-05-05 17:31:36 +00:00
mfranz
7f42abb076 - Do The Mouse Walk. ... MMB[+Ctrl] drag in pointer mode
- drop redundant braces
2008-05-05 13:22:01 +00:00
mfranz
623dcb0602 g-click:
- don't open status dialog if not necessary
- adjust ufo heading to view direction
2008-05-04 21:56:34 +00:00
mfranz
67b14bb1ae Francesco BRISA (& me): add teleport function
When holding the gear key or button down (as a kind of modifier) and after
left-clicking on the terrain, teleport the UFO to the click position.
Keep heading if no model is active, otherise look there. Keep altitude-agl.
2008-05-04 21:16:48 +00:00
sydadams
1fd7c79eea removed testing nasal file... 2008-05-03 16:05:19 +00:00
sydadams
05e0e19087 Added runway offsets and other minor changes 2008-05-03 02:47:34 +00:00
mfranz
a197f006ae enable Exorcist-style head turns, so that we can disabled them globally 2008-04-15 17:26:02 +00:00
mfranz
3e99323d0e if (exactly) two objects are selected, print the direct distance to the screen 2008-03-18 22:58:42 +00:00
mfranz
0c38aa1e8c Stewart ANDREASON:
- fix --altitude in dumped command line ('d'-key)
- implement vertical movement on Home/End and KP7/1
2008-03-12 20:47:53 +00:00
mfranz
a7cdd684a1 add a "Camera View", which is an exact copy of "Cockpit View" and selected
(but disabled) by default. You won't notice any difference, unless you
place, let's say, an A-10-model.xml in the scenery. Some of the A-10's "select"
animations unselect the fuselage and other parts, when they thinks the A-10
is in cockpit view, not knowing that it's actually the *ufo*, which is in
cockpit view.
2007-12-14 10:50:02 +00:00
mfranz
28def78cef write proper END <wpt> 2007-10-18 21:31:29 +00:00
mfranz
33805eaa58 export flightplan on 'n'-key 2007-10-18 21:20:39 +00:00
mfranz
9ce73af7a4 replace depreciated cmdarg() in listener functions by regular arg 2007-10-15 18:59:34 +00:00
sydadams
3122e459d6 *** empty log message *** 2007-08-21 05:35:40 +00:00
sydadams
a7f90a8cb8 Changed speed match function to use target distance instead of airspeed ... not perfected yet ,but better ... 2007-08-20 06:22:06 +00:00
sydadams
514f2c1ce7 cam updates from pigeon ... 2007-08-20 04:22:36 +00:00
mfranz
aebc22d105 - add tanker to ai aircraft section
- minor reorganization
2007-07-27 17:41:59 +00:00
mfranz
41fef27ec0 die, yellow glider, die! 2007-07-11 17:24:32 +00:00
mfranz
26e9387de3 don't show on mpmap 2007-07-11 16:55:55 +00:00
mfranz
5e6f9dde43 - add aircraft select dialog (^-button)
- disable smooth throttle for now (breaks non-js-throttles)
2007-07-09 22:32:58 +00:00
mfranz
1fefa1c206 Syd's MIBS:
A camera tool for making fgfs videos (heavily used by Michelle) and for
tracking MP and AI aircraft. It's planned to include this into the regular
ufo, but for now it's better to keep them separated. Comes with its own
panel, which (hopefully) is self-explaining.

Shouldn't be announced on the fgfs page as separate aircraft (if that's
possible). Work in progress ...
2007-07-08 18:15:02 +00:00
mfranz
d1adc37872 fix export file format (the <models> tags got lost in one of the last commits) 2007-07-01 13:07:08 +00:00
mfranz
2ee85ac82b add wx-toggle, data-toggle, echo-toggle hotspots to the radar. (Same order
as on the 737 panel, but no labels yet. Aliens don't need that stuff.)
2007-06-25 21:23:28 +00:00
mfranz
4866bfb66f - shorter update intervals (ufo technology!)
- only update the radar when the panel is actually visible
2007-06-24 22:45:10 +00:00
mfranz
ccd0df2d1b s/wxradar/radar/ 2007-06-24 19:52:12 +00:00
mfranz
f6da3a3882 New panel that consists of a radar screen only (activate with Shift-p).
At the moment only the range can be changed via panel click action
(click on the range numbers). Weather radar can be turned on in
/instrumentation/radar/display-controls/WX. ai/mp display to come.

For those who miss the old 2D panel, just use an aircraft with a decent
panel and add --fdm=ufo for the same effect.
2007-06-24 19:38:38 +00:00
mfranz
f827653668 - create new Nasal module string.nas with simple shell style pattern matching
algorithm (needed for the file selector and useful for other purposes, like
  assembling lists of livery or screenshot files etc.)
- io.nas: move fixpath to string.nas (it's not only useful for file paths
  but can also be used for property paths)
- screen.nas: move trim to string.nas (used by screen.nas and nasal-console.xml)
- gui.nas: add pattern matching to FileSelctor
- ufo.nas: use patterm matching (only *.ac and *.xml files shall be listed)
2007-06-22 14:13:30 +00:00
mfranz
35bd6c379a sort the model list again after adding models from the file selector,
or the binsearch will have a hard time ...
2007-06-19 21:21:14 +00:00
mfranz
e880d5ecee - l-key opens file selector to load 3D model file from the disk. This model
is added to the list and activated.
- simplify savexml handling using the "data" node for temporary data
2007-06-18 16:35:03 +00:00