master
Ondřej Hruška 11 years ago
parent 86d1230ce5
commit 93964fbcf6
  1. 23
      LICENSE.txt
  2. 2
      src/com/porcupine/color/HSV.java
  3. 2
      src/com/porcupine/color/RGB.java
  4. 2
      src/com/porcupine/coord/Coord.java
  5. 2
      src/com/porcupine/coord/CoordI.java
  6. 2
      src/com/porcupine/coord/Rect.java
  7. 2
      src/com/porcupine/coord/Vec.java
  8. 2
      src/com/porcupine/ion/AbstractIonList.java
  9. 2
      src/com/porcupine/ion/AbstractIonMap.java
  10. 2
      src/com/porcupine/ion/Ion.java
  11. 2
      src/com/porcupine/ion/IonList.java
  12. 2
      src/com/porcupine/ion/IonMap.java
  13. 2
      src/com/porcupine/ion/IonMarks.java
  14. 2
      src/com/porcupine/ion/Ionizable.java
  15. 2
      src/com/porcupine/ion/IonizableOptional.java
  16. 2
      src/com/porcupine/ion/StreamUtils.java
  17. 8
      src/com/porcupine/math/Calc.java
  18. 2
      src/com/porcupine/math/Polar.java
  19. 2
      src/com/porcupine/math/PolarDeg.java
  20. 2
      src/com/porcupine/math/Range.java
  21. 2
      src/com/porcupine/mutable/AbstractMutable.java
  22. 2
      src/com/porcupine/mutable/MBoolean.java
  23. 2
      src/com/porcupine/mutable/MDouble.java
  24. 2
      src/com/porcupine/mutable/MFloat.java
  25. 2
      src/com/porcupine/mutable/MInt.java
  26. 2
      src/com/porcupine/mutable/MString.java
  27. 2
      src/com/porcupine/struct/Struct2.java
  28. 2
      src/com/porcupine/struct/Struct3.java
  29. 2
      src/com/porcupine/struct/Struct4.java
  30. 2
      src/com/porcupine/struct/Struct5.java
  31. 2
      src/com/porcupine/struct/Struct6.java
  32. 2
      src/com/porcupine/struct/Struct7.java
  33. 2
      src/com/porcupine/struct/Struct8.java
  34. 2
      src/com/porcupine/time/FpsMeter.java
  35. 2
      src/com/porcupine/time/TimerDelta.java
  36. 2
      src/com/porcupine/time/TimerInterpolating.java
  37. 2
      src/com/porcupine/util/FileSuffixFilter.java
  38. 2
      src/com/porcupine/util/FileUtils.java
  39. 8
      src/com/porcupine/util/PropertyManager.java
  40. 2
      src/com/porcupine/util/StringUtils.java
  41. 2
      src/com/porcupine/util/VarargsParser.java
  42. 2
      src/net/tortuga/App.java
  43. 2
      src/net/tortuga/Constants.java
  44. 2
      src/net/tortuga/CustomIonMarks.java
  45. 2
      src/net/tortuga/GameConfig.java
  46. 2
      src/net/tortuga/LoadingManager.java
  47. 2
      src/net/tortuga/StaticInitializer.java
  48. 2
      src/net/tortuga/ThreadScreenshotTrigger.java
  49. 2
      src/net/tortuga/animations/EmptyAnimator.java
  50. 2
      src/net/tortuga/animations/WaterAnimator.java
  51. 2
      src/net/tortuga/annotations/Internal.java
  52. 2
      src/net/tortuga/annotations/NeedsOverride.java
  53. 2
      src/net/tortuga/annotations/Unimplemented.java
  54. 2
      src/net/tortuga/annotations/Unused.java
  55. 10
      src/net/tortuga/fonts/FontManager.java
  56. 2
      src/net/tortuga/gui/panels/Panel.java
  57. 2
      src/net/tortuga/gui/panels/PanelConfig.java
  58. 2
      src/net/tortuga/gui/panels/PanelEmpty.java
  59. 2
      src/net/tortuga/gui/panels/PanelGame.java
  60. 2
      src/net/tortuga/gui/panels/PanelMenu.java
  61. 2
      src/net/tortuga/gui/panels/PanelSplash.java
  62. 4
      src/net/tortuga/gui/panels/dialogs/PanelDialogModal.java
  63. 2
      src/net/tortuga/gui/screens/Screen.java
  64. 2
      src/net/tortuga/gui/screens/ScreenGame.java
  65. 2
      src/net/tortuga/gui/screens/ScreenMenuMain.java
  66. 2
      src/net/tortuga/gui/screens/ScreenSplash.java
  67. 4
      src/net/tortuga/gui/widgets/GuiRoot.java
  68. 2
      src/net/tortuga/gui/widgets/IScrollable.java
  69. 2
      src/net/tortuga/gui/widgets/IScrollbar.java
  70. 2
      src/net/tortuga/gui/widgets/IWidget.java
  71. 2
      src/net/tortuga/gui/widgets/LeftTopRightBottom.java
  72. 2
      src/net/tortuga/gui/widgets/Widget.java
  73. 2
      src/net/tortuga/gui/widgets/composite/DragDropServer.java
  74. 2
      src/net/tortuga/gui/widgets/composite/IDragSlot.java
  75. 2
      src/net/tortuga/gui/widgets/composite/PgmShopBase.java
  76. 2
      src/net/tortuga/gui/widgets/display/ColorRectange.java
  77. 2
      src/net/tortuga/gui/widgets/display/Icon.java
  78. 2
      src/net/tortuga/gui/widgets/display/Image.java
  79. 2
      src/net/tortuga/gui/widgets/display/Text.java
  80. 2
      src/net/tortuga/gui/widgets/display/TextDouble.java
  81. 2
      src/net/tortuga/gui/widgets/input/Button.java
  82. 2
      src/net/tortuga/gui/widgets/input/ButtonIcon.java
  83. 2
      src/net/tortuga/gui/widgets/input/ButtonVertical.java
  84. 2
      src/net/tortuga/gui/widgets/input/Checkbox.java
  85. 4
      src/net/tortuga/gui/widgets/input/RadioButton.java
  86. 2
      src/net/tortuga/gui/widgets/input/ScrollbarBase.java
  87. 2
      src/net/tortuga/gui/widgets/input/ScrollbarH.java
  88. 2
      src/net/tortuga/gui/widgets/input/ScrollbarV.java
  89. 2
      src/net/tortuga/gui/widgets/input/Slider.java
  90. 2
      src/net/tortuga/gui/widgets/input/SliderGalvanic.java
  91. 2
      src/net/tortuga/gui/widgets/input/TextInput.java
  92. 2
      src/net/tortuga/gui/widgets/layout/AmbRenderer.java
  93. 2
      src/net/tortuga/gui/widgets/layout/FullWidthLayout.java
  94. 2
      src/net/tortuga/gui/widgets/layout/Gap.java
  95. 2
      src/net/tortuga/gui/widgets/layout/LayoutBase.java
  96. 2
      src/net/tortuga/gui/widgets/layout/LayoutH.java
  97. 2
      src/net/tortuga/gui/widgets/layout/LayoutV.java
  98. 2
      src/net/tortuga/gui/widgets/layout/ScrollingLayoutH.java
  99. 2
      src/net/tortuga/gui/widgets/layout/frame/FrameBase.java
  100. 2
      src/net/tortuga/gui/widgets/layout/frame/FrameBelt.java
  101. Some files were not shown because too many files have changed in this diff Show More

@ -0,0 +1,23 @@
Copyright (c) 2013, Ondřej Hruška (MightyPork), <ondra@ondrovo.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

@ -9,7 +9,7 @@ import com.porcupine.math.Calc;
/** /**
* HSV color * HSV color
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class HSV { public class HSV {

@ -9,7 +9,7 @@ import com.porcupine.math.Calc;
/** /**
* RGB color * RGB color
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class RGB { public class RGB {

@ -9,7 +9,7 @@ import com.porcupine.math.Calc;
/** /**
* Coordinate class, object with three or two double coordinates.<br> * Coordinate class, object with three or two double coordinates.<br>
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Coord { public class Coord {

@ -5,7 +5,7 @@ package com.porcupine.coord;
* Simple integer coordinate class<br> * Simple integer coordinate class<br>
* Unlike Coord, this is suitable for using in array indices etc. * Unlike Coord, this is suitable for using in array indices etc.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class CoordI { public class CoordI {

@ -7,7 +7,7 @@ import com.porcupine.math.Calc;
/** /**
* Rectangle determined by two coordinates - min and max. * Rectangle determined by two coordinates - min and max.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Rect { public class Rect {

@ -4,7 +4,7 @@ package com.porcupine.coord;
/** /**
* Vector in 2D/3D space. * Vector in 2D/3D space.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Vec extends Coord { public class Vec extends Coord {

@ -10,7 +10,7 @@ import java.util.ArrayList;
/** /**
* Ionizable Arraylist * Ionizable Arraylist
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @param <T> * @param <T>
*/ */
public abstract class AbstractIonList<T> extends ArrayList<T> implements Ionizable { public abstract class AbstractIonList<T> extends ArrayList<T> implements Ionizable {

@ -10,7 +10,7 @@ import java.util.LinkedHashMap;
/** /**
* Ionizable HashMap * Ionizable HashMap
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @param <V> * @param <V>
*/ */
public abstract class AbstractIonMap<V> extends LinkedHashMap<String, V> implements Ionizable { public abstract class AbstractIonMap<V> extends LinkedHashMap<String, V> implements Ionizable {

@ -11,7 +11,7 @@ import com.porcupine.math.Calc;
/** /**
* Universal data storage system * Universal data storage system
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Ion { public class Ion {

@ -10,7 +10,7 @@ import java.util.ArrayList;
/** /**
* Ionizable Arraylist * Ionizable Arraylist
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
@SuppressWarnings("javadoc") @SuppressWarnings("javadoc")
public class IonList extends ArrayList<Object> implements Ionizable { public class IonList extends ArrayList<Object> implements Ionizable {

@ -11,7 +11,7 @@ import java.util.Map.Entry;
/** /**
* Ionizable HashMap * Ionizable HashMap
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
@SuppressWarnings("javadoc") @SuppressWarnings("javadoc")
public class IonMap extends LinkedHashMap<String, Object> implements Ionizable { public class IonMap extends LinkedHashMap<String, Object> implements Ionizable {

@ -4,7 +4,7 @@ package com.porcupine.ion;
/** /**
* Byte marks used to structure data in Ion files. * Byte marks used to structure data in Ion files.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class IonMarks { public class IonMarks {

@ -11,7 +11,7 @@ import java.io.OutputStream;
* All classes implementing Ionizable must be registered to {@link Ion} using * All classes implementing Ionizable must be registered to {@link Ion} using
* Ion.registerIonizable(obj.class). * Ion.registerIonizable(obj.class).
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public interface Ionizable { public interface Ionizable {

@ -4,7 +4,7 @@ package com.porcupine.ion;
/** /**
* Optional ionizable * Optional ionizable
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public interface IonizableOptional extends Ionizable { public interface IonizableOptional extends Ionizable {

@ -10,7 +10,7 @@ import java.nio.ByteBuffer;
/** /**
* Utilities to store and load objects to streams. * Utilities to store and load objects to streams.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
@SuppressWarnings("javadoc") @SuppressWarnings("javadoc")

@ -15,7 +15,7 @@ import com.porcupine.coord.Vec;
/** /**
* Math helper * Math helper
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Calc { public class Calc {
@ -129,7 +129,7 @@ public class Calc {
/** /**
* Calc subclass with buffer utils. * Calc subclass with buffer utils.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public static class Buffers { public static class Buffers {
@ -174,7 +174,7 @@ public class Calc {
/** /**
* Angle calculations for degrees. * Angle calculations for degrees.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public static class Deg { public static class Deg {
@ -334,7 +334,7 @@ public class Calc {
/** /**
* Angle calculations for radians. * Angle calculations for radians.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public static class Rad { public static class Rad {

@ -7,7 +7,7 @@ import com.porcupine.coord.Coord;
/** /**
* Polar coordinate * Polar coordinate
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Polar { public class Polar {

@ -9,7 +9,7 @@ import com.porcupine.math.Calc.Rad;
/** /**
* Polar coordinate in degrees * Polar coordinate in degrees
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class PolarDeg { public class PolarDeg {

@ -7,7 +7,7 @@ import java.util.Random;
/** /**
* Numeric range, able to generate random numbers and give min/max values. * Numeric range, able to generate random numbers and give min/max values.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Range { public class Range {

@ -4,7 +4,7 @@ package com.porcupine.mutable;
/** /**
* Mutable object * Mutable object
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @param <T> type * @param <T> type
*/ */
public abstract class AbstractMutable<T> { public abstract class AbstractMutable<T> {

@ -4,7 +4,7 @@ package com.porcupine.mutable;
/** /**
* Mutable boolean * Mutable boolean
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class MBoolean extends AbstractMutable<Boolean> { public class MBoolean extends AbstractMutable<Boolean> {

@ -4,7 +4,7 @@ package com.porcupine.mutable;
/** /**
* Mutable double * Mutable double
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class MDouble extends AbstractMutable<Double> { public class MDouble extends AbstractMutable<Double> {

@ -4,7 +4,7 @@ package com.porcupine.mutable;
/** /**
* Mutable float * Mutable float
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class MFloat extends AbstractMutable<Float> { public class MFloat extends AbstractMutable<Float> {

@ -4,7 +4,7 @@ package com.porcupine.mutable;
/** /**
* Mutable integer * Mutable integer
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class MInt extends AbstractMutable<Integer> { public class MInt extends AbstractMutable<Integer> {

@ -4,7 +4,7 @@ package com.porcupine.mutable;
/** /**
* Mutable string * Mutable string
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class MString extends AbstractMutable<String> { public class MString extends AbstractMutable<String> {

@ -7,7 +7,7 @@ import com.porcupine.math.Calc;
/** /**
* Structure of 2 objects. * Structure of 2 objects.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
* @param <T1> 1st object class * @param <T1> 1st object class
* @param <T2> 2nd object class * @param <T2> 2nd object class

@ -7,7 +7,7 @@ import com.porcupine.math.Calc;
/** /**
* Structure of 3 objects. * Structure of 3 objects.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
* @param <T1> 1st object class * @param <T1> 1st object class
* @param <T2> 2nd object class * @param <T2> 2nd object class

@ -7,7 +7,7 @@ import com.porcupine.math.Calc;
/** /**
* Structure of 4 objects. * Structure of 4 objects.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
* @param <T1> 1st object class * @param <T1> 1st object class
* @param <T2> 2nd object class * @param <T2> 2nd object class

@ -7,7 +7,7 @@ import com.porcupine.math.Calc;
/** /**
* Structure of 5 objects. * Structure of 5 objects.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
* @param <T1> 1st object class * @param <T1> 1st object class
* @param <T2> 2nd object class * @param <T2> 2nd object class

@ -7,7 +7,7 @@ import com.porcupine.math.Calc;
/** /**
* Structure of 6 objects. * Structure of 6 objects.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
* @param <T1> 1st object class * @param <T1> 1st object class
* @param <T2> 2nd object class * @param <T2> 2nd object class

@ -7,7 +7,7 @@ import com.porcupine.math.Calc;
/** /**
* Structure of 7 objects. * Structure of 7 objects.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
* @param <T1> 1st object class * @param <T1> 1st object class
* @param <T2> 2nd object class * @param <T2> 2nd object class

@ -7,7 +7,7 @@ import com.porcupine.math.Calc;
/** /**
* Structure of 7 objects. * Structure of 7 objects.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
* @param <T1> 1st object class * @param <T1> 1st object class
* @param <T2> 2nd object class * @param <T2> 2nd object class

@ -5,7 +5,7 @@ package com.porcupine.time;
* Class for counting FPS in games.<br> * Class for counting FPS in games.<br>
* This class can be used also as a simple frequency meter - output is in Hz. * This class can be used also as a simple frequency meter - output is in Hz.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class FpsMeter { public class FpsMeter {

@ -4,7 +4,7 @@ package com.porcupine.time;
/** /**
* Timer for delta timing * Timer for delta timing
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class TimerDelta { public class TimerDelta {

@ -4,7 +4,7 @@ package com.porcupine.time;
/** /**
* Timer for interpolated timing * Timer for interpolated timing
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class TimerInterpolating { public class TimerInterpolating {

@ -8,7 +8,7 @@ import java.io.FileFilter;
/** /**
* File filter for certain suffixes * File filter for certain suffixes
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class FileSuffixFilter implements FileFilter { public class FileSuffixFilter implements FileFilter {

@ -15,7 +15,7 @@ import net.tortuga.util.Log;
/** /**
* Utilities for filesystem * Utilities for filesystem
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class FileUtils { public class FileUtils {

@ -15,7 +15,7 @@ import com.porcupine.math.Calc;
* Methods starting with put are for filling. Most of the others are shortcuts * Methods starting with put are for filling. Most of the others are shortcuts
* to getters. * to getters.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class PropertyManager { public class PropertyManager {
@ -25,7 +25,7 @@ public class PropertyManager {
* newlines can be inserted to separate categories, and individual keys can * newlines can be inserted to separate categories, and individual keys can
* have their own inline comments. * have their own inline comments.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
*/ */
private static class PC_SortedProperties extends Properties { private static class PC_SortedProperties extends Properties {
@ -335,7 +335,7 @@ public class PropertyManager {
/** /**
* Property entry in Property manager. * Property entry in Property manager.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
*/ */
private class Property { private class Property {
@ -602,7 +602,7 @@ public class PropertyManager {
/** /**
* Property type enum. * Property type enum.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
*/ */
private enum PropertyType private enum PropertyType

@ -4,7 +4,7 @@ package com.porcupine.util;
/** /**
* General purpose string utilities * General purpose string utilities
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class StringUtils { public class StringUtils {

@ -15,7 +15,7 @@ import java.util.LinkedHashMap;
* Map&lt;String, Integer&gt; args = new VarargsParser&lt;String, Integer&gt;().parse(array); * Map&lt;String, Integer&gt; args = new VarargsParser&lt;String, Integer&gt;().parse(array);
* </pre> * </pre>
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @param <K> Type for Map keys * @param <K> Type for Map keys
* @param <V> Type for Map values * @param <V> Type for Map values
*/ */

@ -54,7 +54,7 @@ import com.porcupine.util.FileUtils;
/** /**
* SECTOR main class * SECTOR main class
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class App { public class App {

@ -7,7 +7,7 @@ import com.porcupine.coord.Coord;
/** /**
* Sector constants * Sector constants
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
@SuppressWarnings("javadoc") @SuppressWarnings("javadoc")
public class Constants { public class Constants {

@ -17,7 +17,7 @@ import com.porcupine.ion.Ion;
/** /**
* Class adding ION marks for custom ionizable objects * Class adding ION marks for custom ionizable objects
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
@SuppressWarnings("javadoc") @SuppressWarnings("javadoc")
public class CustomIonMarks { public class CustomIonMarks {

@ -9,7 +9,7 @@ import com.porcupine.util.PropertyManager;
/** /**
* Configuration * Configuration
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
@SuppressWarnings("javadoc") @SuppressWarnings("javadoc")
public class GameConfig { public class GameConfig {

@ -10,7 +10,7 @@ import net.tortuga.util.Log;
/** /**
* Class responsible for resource loading. * Class responsible for resource loading.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class LoadingManager { public class LoadingManager {

@ -12,7 +12,7 @@ import net.tortuga.level.program.StoneRegistry;
* Initialization utility, initializing all the static stuff that is needed * Initialization utility, initializing all the static stuff that is needed
* before starting main loop. * before starting main loop.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class StaticInitializer { public class StaticInitializer {

@ -8,7 +8,7 @@ import org.lwjgl.input.Keyboard;
/** /**
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ThreadScreenshotTrigger extends Thread { public class ThreadScreenshotTrigger extends Thread {

@ -4,7 +4,7 @@ package net.tortuga.animations;
/** /**
* Empty animation (no effect) * Empty animation (no effect)
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class EmptyAnimator implements IRenderer { public class EmptyAnimator implements IRenderer {

@ -26,7 +26,7 @@ import com.porcupine.math.Calc;
/** /**
* Map water animator * Map water animator
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class WaterAnimator implements IRenderer { public class WaterAnimator implements IRenderer {

@ -6,6 +6,6 @@ package net.tortuga.annotations;
* Used where private is not possible, but public does not mean available for * Used where private is not possible, but public does not mean available for
* anyone. * anyone.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public @interface Internal {} public @interface Internal {}

@ -4,6 +4,6 @@ package net.tortuga.annotations;
/** /**
* Describes an incomplete method or class * Describes an incomplete method or class
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public @interface NeedsOverride {} public @interface NeedsOverride {}

@ -4,6 +4,6 @@ package net.tortuga.annotations;
/** /**
* Marks unimplemented method, which is not abstract. * Marks unimplemented method, which is not abstract.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public @interface Unimplemented {} public @interface Unimplemented {}

@ -5,6 +5,6 @@ package net.tortuga.annotations;
* Annotation for apparently unused methods, to indicate that they can be safely * Annotation for apparently unused methods, to indicate that they can be safely
* removed when preparing the game for final release * removed when preparing the game for final release
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public @interface Unused {} public @interface Unused {}

@ -16,7 +16,7 @@ import com.porcupine.coord.Coord;
/** /**
* Remade universal font manager for Sector. * Remade universal font manager for Sector.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class FontManager { public class FontManager {
@ -25,7 +25,7 @@ public class FontManager {
/** /**
* Glyph tables. * Glyph tables.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public static class Glyphs { public static class Glyphs {
@ -79,7 +79,7 @@ public class FontManager {
/** /**
* Font style * Font style
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public static enum Style public static enum Style
{ {
@ -116,7 +116,7 @@ public class FontManager {
/** /**
* Preloaded font identifier [name, size, style] * Preloaded font identifier [name, size, style]
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public static class FontId { public static class FontId {
@ -207,7 +207,7 @@ public class FontManager {
/** /**
* Group of styles of one font. * Group of styles of one font.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public static class FontFamily extends HashMap<Style, String> { public static class FontFamily extends HashMap<Style, String> {
} }

@ -20,7 +20,7 @@ import com.porcupine.coord.Vec;
/** /**
* Panel class, control module for screen. * Panel class, control module for screen.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public abstract class Panel implements IInputHandler, IRenderer { public abstract class Panel implements IInputHandler, IRenderer {

@ -25,7 +25,7 @@ import com.porcupine.color.RGB;
/** /**
* Overlay panel for paused game. * Overlay panel for paused game.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class PanelConfig extends PanelGui { public class PanelConfig extends PanelGui {

@ -7,7 +7,7 @@ import net.tortuga.gui.screens.Screen;
/** /**
* Empty do-nothing panel, used in Screens with no Gui instead of NULL. * Empty do-nothing panel, used in Screens with no Gui instead of NULL.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class PanelEmpty extends Panel { public class PanelEmpty extends Panel {

@ -45,7 +45,7 @@ import com.porcupine.math.Calc;
/** /**
* Game panel * Game panel
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class PanelGame extends PanelGui { public class PanelGame extends PanelGui {

@ -17,7 +17,7 @@ import net.tortuga.textures.Tx;
/** /**
* Main menu panel * Main menu panel
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class PanelMenu extends PanelGui { public class PanelMenu extends PanelGui {

@ -17,7 +17,7 @@ import com.porcupine.color.RGB;
/** /**
* Splash panel * Splash panel
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class PanelSplash extends PanelGui { public class PanelSplash extends PanelGui {

@ -21,14 +21,14 @@ import com.porcupine.color.RGB;
/** /**
* Main menu panel * Main menu panel
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class PanelDialogModal extends PanelGui { public class PanelDialogModal extends PanelGui {
/** /**
* Dialog click handler * Dialog click handler
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public interface IDialogListener { public interface IDialogListener {

@ -24,7 +24,7 @@ import com.porcupine.coord.Vec;
* Screen animates 3D world, while contained panels render 2D overlays, process * Screen animates 3D world, while contained panels render 2D overlays, process
* inputs and run the game logic. * inputs and run the game logic.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public abstract class Screen implements IRenderer { public abstract class Screen implements IRenderer {

@ -21,7 +21,7 @@ import com.porcupine.coord.Rect;
/** /**
* main menu screen * main menu screen
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ScreenGame extends Screen { public class ScreenGame extends Screen {

@ -13,7 +13,7 @@ import com.porcupine.coord.Rect;
/** /**
* main menu screen * main menu screen
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ScreenMenuMain extends Screen { public class ScreenMenuMain extends Screen {

@ -13,7 +13,7 @@ import com.porcupine.coord.Rect;
/** /**
* Splash screen * Splash screen
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ScreenSplash extends Screen { public class ScreenSplash extends Screen {

@ -23,14 +23,14 @@ import com.porcupine.coord.Coord;
/** /**
* Root widget, container of layouts * Root widget, container of layouts
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class GuiRoot implements Comparable<GuiRoot> { public class GuiRoot implements Comparable<GuiRoot> {
/** /**
* Widget event listener * Widget event listener
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public static interface EventListener { public static interface EventListener {

@ -4,7 +4,7 @@ package net.tortuga.gui.widgets;
/** /**
* Scrollable element * Scrollable element
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public interface IScrollable { public interface IScrollable {

@ -4,7 +4,7 @@ package net.tortuga.gui.widgets;
/** /**
* Scrollable element * Scrollable element
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public interface IScrollbar { public interface IScrollbar {

@ -8,7 +8,7 @@ import com.porcupine.coord.Rect;
/** /**
* GUI widget interface * GUI widget interface
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public interface IWidget { public interface IWidget {

@ -4,7 +4,7 @@ package net.tortuga.gui.widgets;
/** /**
* Set of 4 numbers for sides (left, right, top, bottom) * Set of 4 numbers for sides (left, right, top, bottom)
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class LeftTopRightBottom { public class LeftTopRightBottom {

@ -16,7 +16,7 @@ import com.porcupine.coord.Rect;
/** /**
* Abstract widget class * Abstract widget class
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public abstract class Widget implements IWidget, Comparable<Widget> { public abstract class Widget implements IWidget, Comparable<Widget> {

@ -18,7 +18,7 @@ import com.porcupine.coord.Coord;
* Drag'n'Drop server widget (should be placed below all widgets that use it) - * Drag'n'Drop server widget (should be placed below all widgets that use it) -
* handles dragging and rendering. * handles dragging and rendering.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class DragDropServer extends Widget { public class DragDropServer extends Widget {

@ -4,7 +4,7 @@ package net.tortuga.gui.widgets.composite;
/** /**
* Drag'n'drop stone * Drag'n'drop stone
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public interface IDragSlot { public interface IDragSlot {

@ -12,7 +12,7 @@ import com.porcupine.coord.Coord;
/** /**
* Program shop slot * Program shop slot
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public abstract class PgmShopBase extends Widget implements IDragSlot { public abstract class PgmShopBase extends Widget implements IDragSlot {

@ -11,7 +11,7 @@ import com.porcupine.coord.Coord;
/** /**
* Space * Space
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ColorRectange extends Widget { public class ColorRectange extends Widget {

@ -16,7 +16,7 @@ import com.porcupine.coord.CoordI;
/** /**
* Icon 32x32 from texture sheet * Icon 32x32 from texture sheet
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Icon extends Widget { public class Icon extends Widget {

@ -12,7 +12,7 @@ import com.porcupine.coord.Coord;
/** /**
* Image from texture * Image from texture
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Image extends Widget { public class Image extends Widget {

@ -19,7 +19,7 @@ import com.porcupine.coord.CoordI;
/** /**
* Passive text label * Passive text label
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Text extends Widget { public class Text extends Widget {

@ -11,7 +11,7 @@ import com.porcupine.coord.Coord;
/** /**
* Passive text label * Passive text label
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class TextDouble extends Widget { public class TextDouble extends Widget {

@ -19,7 +19,7 @@ import com.porcupine.coord.Coord;
/** /**
* Clickable button. * Clickable button.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Button extends Widget { public class Button extends Widget {

@ -13,7 +13,7 @@ import com.porcupine.coord.Rect;
/** /**
* Button with icon * Button with icon
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ButtonIcon extends Button { public class ButtonIcon extends Button {

@ -13,7 +13,7 @@ import com.porcupine.coord.Coord;
/** /**
* Vertical (left tab) button * Vertical (left tab) button
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ButtonVertical extends Button { public class ButtonVertical extends Button {

@ -19,7 +19,7 @@ import com.porcupine.coord.Rect;
/** /**
* Clcikable button. * Clcikable button.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Checkbox extends Widget { public class Checkbox extends Widget {

@ -15,14 +15,14 @@ import com.porcupine.coord.Rect;
/** /**
* Radio button. * Radio button.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class RadioButton extends Checkbox { public class RadioButton extends Checkbox {
/** /**
* Radio group. * Radio group.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public static class RadioGroup extends HashSet<RadioButton> { public static class RadioGroup extends HashSet<RadioButton> {
} }

@ -13,7 +13,7 @@ import com.porcupine.math.Calc;
/** /**
* Clcikable button. * Clcikable button.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public abstract class ScrollbarBase extends Widget implements IScrollbar { public abstract class ScrollbarBase extends Widget implements IScrollbar {

@ -14,7 +14,7 @@ import com.porcupine.coord.Rect;
/** /**
* Horizontal scrollbar * Horizontal scrollbar
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ScrollbarH extends ScrollbarBase { public class ScrollbarH extends ScrollbarBase {

@ -14,7 +14,7 @@ import com.porcupine.coord.Rect;
/** /**
* Clcikable button. * Clcikable button.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ScrollbarV extends ScrollbarBase { public class ScrollbarV extends ScrollbarBase {

@ -16,7 +16,7 @@ import com.porcupine.math.Calc;
/** /**
* Clcikable button. * Clcikable button.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Slider extends Widget { public class Slider extends Widget {

@ -13,7 +13,7 @@ import com.porcupine.coord.Rect;
/** /**
* Clcikable button. * Clcikable button.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class SliderGalvanic extends Slider { public class SliderGalvanic extends Slider {

@ -19,7 +19,7 @@ import com.porcupine.util.StringUtils;
/** /**
* Clcikable button. * Clcikable button.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class TextInput extends Widget { public class TextInput extends Widget {

@ -10,7 +10,7 @@ import com.porcupine.coord.Coord;
/** /**
* Space * Space
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class AmbRenderer extends Widget { public class AmbRenderer extends Widget {

@ -16,7 +16,7 @@ import com.porcupine.coord.Vec;
/** /**
* Frame for widgets (with shadow and border + background) * Frame for widgets (with shadow and border + background)
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class FullWidthLayout extends Widget implements IRefreshable { public class FullWidthLayout extends Widget implements IRefreshable {

@ -9,7 +9,7 @@ import com.porcupine.coord.Coord;
/** /**
* Space * Space
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Gap extends Widget { public class Gap extends Widget {

@ -16,7 +16,7 @@ import com.porcupine.coord.Coord;
/** /**
* Base for layouts. * Base for layouts.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public abstract class LayoutBase extends Widget { public abstract class LayoutBase extends Widget {

@ -11,7 +11,7 @@ import com.porcupine.math.Calc;
/** /**
* Horizontal layout widget * Horizontal layout widget
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class LayoutH extends LayoutBase { public class LayoutH extends LayoutBase {

@ -11,7 +11,7 @@ import com.porcupine.math.Calc;
/** /**
* Vertical layout widget * Vertical layout widget
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class LayoutV extends LayoutBase { public class LayoutV extends LayoutBase {

@ -20,7 +20,7 @@ import com.porcupine.coord.Rect;
/** /**
* Horizontal scrolling layout * Horizontal scrolling layout
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ScrollingLayoutH extends LayoutH implements IScrollable { public class ScrollingLayoutH extends LayoutH implements IScrollable {

@ -16,7 +16,7 @@ import com.porcupine.coord.Vec;
/** /**
* Frame for widgets (with shadow and border + background) * Frame for widgets (with shadow and border + background)
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public abstract class FrameBase extends Widget { public abstract class FrameBase extends Widget {

@ -12,7 +12,7 @@ import com.porcupine.coord.Rect;
/** /**
* Frame for widgets (with shadow and border + background) * Frame for widgets (with shadow and border + background)
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class FrameBelt extends FrameBase { public class FrameBelt extends FrameBase {

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save