Normand Briere
2019-08-19 22e8ab6479334206f97b0093f6c5ffd14610cce3
More credits
1 files modified
3 files added
70 ■■■■■ changed files
ObjEditor.java 70 ●●●●● patch | view | raw | blame | history
icons/3delicious.png patch | view | raw | blame | history
icons/archive3d.png patch | view | raw | blame | history
icons/turbosquid.png patch | view | raw | blame | history
ObjEditor.java
....@@ -460,8 +460,11 @@
460460 importOBJItem.addActionListener(this);
461461 import3DSItem = menu.add(new MenuItem("3DS file..."));
462462 import3DSItem.addActionListener(this);
463
+ if (Globals.ADVANCED)
464
+ {
463465 importVRMLX3DItem = menu.add(new MenuItem("VRML/X3D file..."));
464466 importVRMLX3DItem.addActionListener(this);
467
+ }
465468 menu.add("-");
466469 importGFDItem = menu.add(new MenuItem("Grafreed file..."));
467470 importGFDItem.addActionListener(this);
....@@ -1789,11 +1792,11 @@
17891792 cLabel ogaLabel = new cLabel(" Most Skyboxes courtesy of OpenGameArt!", !Globals.NIMBUSLAF);
17901793 creditsPanel.add(ogaLabel);
17911794
1792
- cButton opengameartButton;
1793
- creditsPanel.add(opengameartButton = GetButton("icons/sara-logo.png", !Globals.NIMBUSLAF));
1794
- opengameartButton.setToolTipText("https://opengameart.org");
1795
+ cButton creditButton;
1796
+ creditsPanel.add(creditButton = GetButton("icons/sara-logo.png", !Globals.NIMBUSLAF));
1797
+ creditButton.setToolTipText("https://opengameart.org");
17951798
1796
- opengameartButton.addMouseListener(new MouseAdapter()
1799
+ creditButton.addMouseListener(new MouseAdapter()
17971800 {
17981801 public void mouseClicked(MouseEvent e)
17991802 {
....@@ -1808,7 +1811,64 @@
18081811 }
18091812 });
18101813
1811
- for (int i=10; --i>=0;)
1814
+ ogaLabel = new cLabel(" Download 3D models! (.3ds and .obj only)", !Globals.NIMBUSLAF);
1815
+ creditsPanel.add(ogaLabel);
1816
+
1817
+ creditsPanel.add(creditButton = GetButton("icons/3delicious.png", !Globals.NIMBUSLAF));
1818
+ creditButton.setToolTipText("https://3delicious.net");
1819
+
1820
+ creditButton.addMouseListener(new MouseAdapter()
1821
+ {
1822
+ public void mouseClicked(MouseEvent e)
1823
+ {
1824
+ try
1825
+ {
1826
+ Desktop.getDesktop().browse(new java.net.URI("https://3delicious.net"));
1827
+ } catch (Exception e1)
1828
+// } catch (java.io.IOException | java.net.URISyntaxException e1)
1829
+ {
1830
+ e1.printStackTrace();
1831
+ }
1832
+ }
1833
+ });
1834
+
1835
+ creditsPanel.add(creditButton = GetButton("icons/archive3d.png", !Globals.NIMBUSLAF));
1836
+ creditButton.setToolTipText("https://archive3d.net");
1837
+
1838
+ creditButton.addMouseListener(new MouseAdapter()
1839
+ {
1840
+ public void mouseClicked(MouseEvent e)
1841
+ {
1842
+ try
1843
+ {
1844
+ Desktop.getDesktop().browse(new java.net.URI("https://archive3d.net"));
1845
+ } catch (Exception e1)
1846
+// } catch (java.io.IOException | java.net.URISyntaxException e1)
1847
+ {
1848
+ e1.printStackTrace();
1849
+ }
1850
+ }
1851
+ });
1852
+
1853
+ creditsPanel.add(creditButton = GetButton("icons/turbosquid.png", !Globals.NIMBUSLAF));
1854
+ creditButton.setToolTipText("https://turbosquid.com");
1855
+
1856
+ creditButton.addMouseListener(new MouseAdapter()
1857
+ {
1858
+ public void mouseClicked(MouseEvent e)
1859
+ {
1860
+ try
1861
+ {
1862
+ Desktop.getDesktop().browse(new java.net.URI("https://www.turbosquid.com/Search/3D-Models/free"));
1863
+ } catch (Exception e1)
1864
+// } catch (java.io.IOException | java.net.URISyntaxException e1)
1865
+ {
1866
+ e1.printStackTrace();
1867
+ }
1868
+ }
1869
+ });
1870
+
1871
+ for (int i=6; --i>=0;)
18121872 {
18131873 creditsPanel.add(new cGridBag());
18141874 }
icons/3delicious.png
Binary files differ
icons/archive3d.png
Binary files differ
icons/turbosquid.png
Binary files differ