author tag, license

This commit is contained in:
2014-05-25 01:04:43 +02:00
parent a61f3c90bb
commit 1c5afad9ce
48 changed files with 55 additions and 55 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
/** Zero Coord */ /** Zero Coord */
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
/** /**
+1 -1
View File
@@ -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 {
/** /**
+1 -1
View File
@@ -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")
+4 -4
View File
@@ -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 {
@@ -117,7 +117,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 {
@@ -157,7 +157,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 {
/** 180° in degrees */ /** 180° in degrees */
@@ -294,7 +294,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 {
/** 180° in radians */ /** 180° in radians */
+1 -1
View File
@@ -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 {
/** angle in radians */ /** angle in radians */
+1 -1
View File
@@ -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 {
/** angle in degrees */ /** angle in degrees */
+1 -1
View File
@@ -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 {
private double min = 0; private double min = 0;
@@ -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> {
+1 -1
View File
@@ -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> {
/** /**
+1 -1
View File
@@ -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> {
/** /**
+1 -1
View File
@@ -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> {
/** /**
+1 -1
View File
@@ -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> {
/** /**
+1 -1
View File
@@ -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> {
/** /**
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -15,7 +15,7 @@ import net.spritegen.util.Log;
/** /**
* Utilities for filesystem * Utilities for filesystem
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class FileUtils { public class FileUtils {
+4 -4
View File
@@ -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 {
/** /**
@@ -24,7 +24,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 {
@@ -319,7 +319,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 {
@@ -565,7 +565,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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -14,7 +14,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
*/ */
+1 -1
View File
@@ -38,7 +38,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 {
+1 -1
View File
@@ -9,7 +9,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 {
+1 -1
View File
@@ -8,7 +8,7 @@ import com.mykaruga.models.Models;
* 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 {
+1 -1
View File
@@ -19,7 +19,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{ public abstract class Screen{
+1 -1
View File
@@ -30,7 +30,7 @@ import static org.lwjgl.util.glu.GLU.*;
/** /**
* Splash screen * Splash screen
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ScreenSprites extends Screen { public class ScreenSprites extends Screen {
@@ -16,7 +16,7 @@ import org.newdawn.slick.util.ResourceLoader;
/** /**
* Texture manager * Texture manager
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class TextureManager { public class TextureManager {
+2 -2
View File
@@ -17,7 +17,7 @@ import net.spritegen.Constants;
/** /**
* Sector static logger class. * Sector static logger class.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
*/ */
public class Log { public class Log {
@@ -254,7 +254,7 @@ public class Log {
/** /**
* PowerCraft Log file formatter. * PowerCraft Log file formatter.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
* @copy (c) 2012 * @copy (c) 2012
*/ */
private static class LogFormatter extends Formatter { private static class LogFormatter extends Formatter {
+1 -1
View File
@@ -10,7 +10,7 @@ import com.porcupine.math.Range;
* Utility for converting Object to data types; Can also convert strings to data * Utility for converting Object to data types; Can also convert strings to data
* types. * types.
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class ObjParser { public class ObjParser {
+1 -1
View File
@@ -14,7 +14,7 @@ import com.porcupine.coord.Rect;
/** /**
* Render utilities * Render utilities
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class RenderUtils { public class RenderUtils {
+1 -1
View File
@@ -15,7 +15,7 @@ import com.porcupine.util.FileUtils;
/** /**
* Sector's utils class * Sector's utils class
* *
* @author MightyPork * @author Ondřej Hruška (MightyPork)
*/ */
public class Utils { public class Utils {