49 Commits

Author SHA1 Message Date
Kevin Ruland
05d1b91d90 Sizable commit with lots of changes to support decals in openrocket files. Added support for zip container support. Changed Decal to hold a String instead of URL. Refactored GeneralRocketLoader out of the RocketLoader hierarchy so the GeneralRocketLoader knows about files and RocketLoader only knows about streams. Changed the OpenRocket file format to 1.6 and added <appearance> and it's children for ambient light and decals. Implemented a DecalRegistry which is a member of the OpenRocketDocument. This class is used to get InputStreams for decals by their names. 2012-10-23 15:54:45 -05:00
Bill Kuker
4ab28bbf54 Make the default checkbox text work the right way: check box's text, not a separate label 2012-10-23 15:12:35 -05:00
Bill Kuker
6a2ebb6851 Add translatable text names to the texture wrap mode enum 2012-10-23 15:12:28 -05:00
Bill Kuker
dc66d2a93e English l10n on appearance config 2012-10-23 14:53:38 -05:00
Bill Kuker
3b368ac270 Reverting efforts to detect & reduce 3d crashes.
Reverting:
1073
1074
1075
1076

1078
1079
2012-09-28 20:25:31 +00:00
Sampo Niskanen
bfe48265e6 Add usage instructions to preset dialog 2012-09-27 16:36:45 +00:00
Bill Kuker
4073246388 Add a 3D enabled user preference
Add 3d Crash detection that disables 3d if the application crashes during one of several touchy phases of JOGL / Native / display driver initialization.
Always make the 3D view button clickable, but there is an explanation and a button to turn 3d on if it has been disabled
2012-09-27 14:44:04 +00:00
Kevin Ruland
a28c99fc54 Wired in the ComponentPresetEditor into the Edit menu. It is currently disabled because of some bugs in the ComponentPresetEditor. 2012-09-26 14:45:55 +00:00
Doug Pedrick
5b6e1ecf39 Added preference to auto-open last design file on startup. 2012-09-23 22:28:39 +00:00
Kevin Ruland
1542b2ee08 More localization updates by Ruslan Uss. 2012-09-15 22:54:27 +00:00
Kevin Ruland
b0d03cc473 More updates to localization provided by Ruslan Uss. 2012-09-11 16:10:51 +00:00
Richard Graham
1828f9d2fb Added gravitational acceleration and propellant mass datatypes. 2012-09-05 05:14:10 +00:00
Sampo Niskanen
31ace7b312 Material localization support 2012-08-25 20:10:58 +00:00
Kevin Ruland
6aac556a53 Added localization changes supplied by Russian USS. 2012-08-23 02:24:39 +00:00
Kevin Ruland
da430d3611 Applied patch for l10n supplied by Russian Uss. 2012-08-20 02:02:38 +00:00
Richard Graham
3d5ae6752a Big update to custom expression feature.
- supports range and index subexpressions and many new operators
 - switched to my patched version of exp4j to support all this.
 - expressions belong to rocket document. Accessed from analysis menu.
 - expression importing from file
 - datatypes section defined in file for storing datatypes other than internal ones
 - flightdatatype fix to forget outdated types
 - many GUI fixes to custom expressions
 - new unitgroups supported. Auto unit detection for SI units in custom expressions.

Had to carefully merge loading/saving code with Kevins recent de-localization update. Hopefully changes to materials saving kept but switched datatype access to just using symbol as the key.

Hopefully can get the changes to exp4j upstream so we don't need to keep using this patched version.
2012-08-05 23:59:54 +00:00
Sampo Niskanen
723539619c Component preset updates 2012-06-18 19:48:57 +00:00
Richard Graham
71b36bc481 - Implemented copying of custom expressions to other simulations in expression builder dialog. Note the small changes to various files are to allow simulations access to parent document.
- Switched to unicode char escapes
- Removed dynamic setting of flightdatatype priority
- Now hiding up down arrows in custom expression pane when unusable
- Localized custom expression operator discriptions.
2012-06-11 04:47:49 +00:00
Doug Pedrick
17fa9ae55d Added most recently used design file list to File menu. 2012-06-06 02:22:19 +00:00
Richard Graham
16eed9a30b Added new feature : user configurable custom expression evaluation for the simulation, driven by exp4j. 2012-06-02 17:58:47 +00:00
Doug Pedrick
c89c927e0c Printable Centering Ring templates. 2012-05-24 23:28:58 +00:00
Kevin Ruland
a41e6ef5a3 Change label for UNIT_WINDSPEED in pref dialog to "Wind speed". 2012-05-17 14:24:22 +00:00
Kevin Ruland
7420f5c18b Added UNITS_WINDSPEED so the preferred units for entering wind speed can be configured separately from rocket velocities. 2012-05-16 06:36:58 +00:00
Doug Pedrick
3d73e9d9eb Initial GUI for editing and saving component presets. See ComponentPresetPanel.main() for standalone execution. 2012-05-05 02:23:14 +00:00
Kevin Ruland
3792528e01 Added LaunchLug, Streamer and Parachute ComponentPresets. 2012-05-01 17:40:55 +00:00
Kevin Ruland
27411395f9 Change nose cone preset to use Aft Outer Diameter, Aft Shoulder Length, and Aft Shoulder Diameter to be consistent with Transitions. Added a bunch of unit tests and correct behavior of the rocketcomponent setters to clear the preset appropriately. Modified the temporary csv data files to use the "aft" specifiers. 2012-04-22 20:26:22 +00:00
Sampo Niskanen
1c411548a7 Support for opening recovery device on stage separation 2012-04-19 17:24:03 +00:00
Kevin Ruland
74cee3dbbe Added show all compatible types to Chooser. Revised logic for showing match fore diameter check box. 2012-04-19 16:18:23 +00:00
Kevin Ruland
94e8b3460b Made the ComponentPresetChooserDialog much more cool by reworking the table. User can hide and unhide columns, reorder columns, and change units by using a right click context menu in the header bar. 2012-04-18 17:43:09 +00:00
Kevin Ruland
f69ed1ea2f Added filter check boxes to limit the displayed components based on fitting with the previous or next component. 2012-04-16 19:17:17 +00:00
Kevin Ruland
9d467dafba Implement Transition preset components. 2012-04-13 19:39:33 +00:00
Kevin Ruland
b850d6615f First cut at making component presets work for nose cones. 2012-04-12 05:55:07 +00:00
Kevin Ruland
2e66939727 Added a filter on all columns. Uses case insensitive match with unicode folding so it should work fine in Turkey. 2012-04-12 04:52:32 +00:00
Kevin Ruland
a5d5e3d500 Implement persistence of ComponentPreset favorites to preferences. Implement favorite check box in ComponentPresetChooserDialog. Added getPresetType to RocketComponent which returns the ComponentPreset.Type of the most compatible presets. 2012-04-04 21:29:33 +00:00
Kevin Ruland
26f8fdf63b Added table contents to ComponentPresetChooserDialog. 2012-04-03 03:39:11 +00:00
Sampo Niskanen
871ff23523 Preset dialog 2012-04-02 14:23:39 +00:00
Kevin Ruland
b1b1b91c89 Removed unused key. 2012-04-02 01:35:44 +00:00
Sampo Niskanen
70e7936454 Updates and fixed to preset handling 2012-04-01 19:16:25 +00:00
Kevin Ruland
6f465cd0a2 Reimplement ComponentPreset to be a bag of typed parameters. This provides greater flexibility.
Added PresetCSVReader which reads Components from CSV files based on the headers defined in the file.
Added placeholder for a Table dialog containing the ComponentPresets.
2012-04-01 03:27:45 +00:00
Kevin Ruland
6de0ea7083 Initial work on BodyTube ComponentPresets. 2012-03-29 02:47:49 +00:00
Jason Blood
9cfea90a52 Fin import now works with any color image 2012-03-18 18:28:11 +00:00
Sampo Niskanen
4b6b244772 Fin import updates 2012-03-17 15:58:41 +00:00
Sampo Niskanen
d320dc7086 Importing of image to freeform fin set 2012-03-14 07:03:32 +00:00
Sampo Niskanen
a406956b06 Guided tour updates 2012-03-10 15:03:02 +00:00
Doug Pedrick
82b28e7a75 DGP - fix misspelling 2012-02-26 17:21:55 +00:00
Sampo Niskanen
e56dabfd78 Support for configurable stage separation 2012-02-10 18:00:43 +00:00
Sampo Niskanen
4e778c2d97 document loading refactoring 2012-01-25 21:42:20 +00:00
Kevin Ruland
c3cfb2e781 Persist the Velocity at launch rod clearance in ork file. Added to column in SimulationPanel. Added computation of Velocity at deployment in FlightData. Persist Velocity at deployment in ork file and added to SimulationPanel and DesignReport.
Added l10n message keys for new column in SimulationPanel.

Added function MathUtil.interpolate which does linear interpolation of intermediate values.  This is used in FlightData for computing Velocity at deployment and Velocity at launch rod clearance.
2012-01-17 02:46:49 +00:00
Kevin Ruland
a497e6bbdb Move l10n/ in to resources/. 2012-01-11 03:26:17 +00:00