Browse Source

@author tag, license

master
Ondřej Hruška 8 years ago
parent
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

23
LICENSE.txt

@ -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.

2
src/com/porcupine/color/HSV.java

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

2
src/com/porcupine/color/RGB.java

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

2
src/com/porcupine/coord/Coord.java

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

2
src/com/porcupine/coord/CoordI.java

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

2
src/com/porcupine/coord/Rect.java

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

2
src/com/porcupine/coord/Vec.java

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

2
src/com/porcupine/ion/AbstractIonList.java

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

2
src/com/porcupine/ion/AbstractIonMap.java

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

2
src/com/porcupine/ion/Ion.java

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

2
src/com/porcupine/ion/IonList.java

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

2
src/com/porcupine/ion/IonMap.java

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

2
src/com/porcupine/ion/IonMarks.java

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

2
src/com/porcupine/ion/Ionizable.java

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

2
src/com/porcupine/ion/IonizableOptional.java

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

2
src/com/porcupine/ion/StreamUtils.java

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

8
src/com/porcupine/math/Calc.java

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

2
src/com/porcupine/math/Polar.java

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

2
src/com/porcupine/math/PolarDeg.java

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

2
src/com/porcupine/math/Range.java

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

2
src/com/porcupine/mutable/AbstractMutable.java

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

2
src/com/porcupine/mutable/MBoolean.java

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

2
src/com/porcupine/mutable/MDouble.java

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

2
src/com/porcupine/mutable/MFloat.java

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

2
src/com/porcupine/mutable/MInt.java

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

2
src/com/porcupine/mutable/MString.java

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

2
src/com/porcupine/struct/Struct2.java

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

2
src/com/porcupine/struct/Struct3.java

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

2
src/com/porcupine/struct/Struct4.java

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

2
src/com/porcupine/struct/Struct5.java

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

2
src/com/porcupine/struct/Struct6.java

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

2
src/com/porcupine/struct/Struct7.java

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

2
src/com/porcupine/struct/Struct8.java

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

2
src/com/porcupine/time/FpsMeter.java

@ -5,7 +5,7 @@ package com.porcupine.time;
* Class for counting FPS in games.<br>
* 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 {

2
src/com/porcupine/time/TimerDelta.java

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

2
src/com/porcupine/time/TimerInterpolating.java

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

2
src/com/porcupine/util/FileSuffixFilter.java

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

2
src/com/porcupine/util/FileUtils.java

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

8
src/com/porcupine/util/PropertyManager.java

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

2
src/com/porcupine/util/StringUtils.java

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

2
src/com/porcupine/util/VarargsParser.java

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

2
src/net/tortuga/App.java

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

2
src/net/tortuga/Constants.java

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

2
src/net/tortuga/CustomIonMarks.java

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

2
src/net/tortuga/GameConfig.java

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

2
src/net/tortuga/LoadingManager.java

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

2
src/net/tortuga/StaticInitializer.java

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

2
src/net/tortuga/ThreadScreenshotTrigger.java

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

2
src/net/tortuga/animations/EmptyAnimator.java

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

2
src/net/tortuga/animations/WaterAnimator.java

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

2
src/net/tortuga/annotations/Internal.java

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

2
src/net/tortuga/annotations/NeedsOverride.java

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

2
src/net/tortuga/annotations/Unimplemented.java

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

2
src/net/tortuga/annotations/Unused.java

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

10
src/net/tortuga/fonts/FontManager.java

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

2
src/net/tortuga/gui/panels/Panel.java

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

2
src/net/tortuga/gui/panels/PanelConfig.java

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

2
src/net/tortuga/gui/panels/PanelEmpty.java

@ -7,7 +7,7 @@ import net.tortuga.gui.screens.Screen;
/**
* 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 {

2
src/net/tortuga/gui/panels/PanelGame.java

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

2
src/net/tortuga/gui/panels/PanelMenu.java

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

2
src/net/tortuga/gui/panels/PanelSplash.java

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

4
src/net/tortuga/gui/panels/dialogs/PanelDialogModal.java

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

2
src/net/tortuga/gui/screens/Screen.java

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

2
src/net/tortuga/gui/screens/ScreenGame.java

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

2
src/net/tortuga/gui/screens/ScreenMenuMain.java

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

2
src/net/tortuga/gui/screens/ScreenSplash.java

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

4
src/net/tortuga/gui/widgets/GuiRoot.java

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

2
src/net/tortuga/gui/widgets/IScrollable.java

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

2
src/net/tortuga/gui/widgets/IScrollbar.java

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

2
src/net/tortuga/gui/widgets/IWidget.java

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

2
src/net/tortuga/gui/widgets/LeftTopRightBottom.java

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

2
src/net/tortuga/gui/widgets/Widget.java

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

2
src/net/tortuga/gui/widgets/composite/DragDropServer.java

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

2
src/net/tortuga/gui/widgets/composite/IDragSlot.java

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

2
src/net/tortuga/gui/widgets/composite/PgmShopBase.java

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

2
src/net/tortuga/gui/widgets/display/ColorRectange.java

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

2
src/net/tortuga/gui/widgets/display/Icon.java

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

2
src/net/tortuga/gui/widgets/display/Image.java

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

2
src/net/tortuga/gui/widgets/display/Text.java

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

2
src/net/tortuga/gui/widgets/display/TextDouble.java

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

2
src/net/tortuga/gui/widgets/input/Button.java

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

2
src/net/tortuga/gui/widgets/input/ButtonIcon.java

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

2
src/net/tortuga/gui/widgets/input/ButtonVertical.java

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

2
src/net/tortuga/gui/widgets/input/Checkbox.java

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

4
src/net/tortuga/gui/widgets/input/RadioButton.java

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