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
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class HSV {
+1 -1
View File
@@ -9,7 +9,7 @@ import com.porcupine.math.Calc;
/**
* RGB color
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
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>
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class Coord {
/** Zero Coord */
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -11,7 +11,7 @@ import com.porcupine.math.Calc;
/**
* Universal data storage system
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class Ion {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ package com.porcupine.ion;
/**
* Optional ionizable
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
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.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
@SuppressWarnings("javadoc")
+4 -4
View File
@@ -15,7 +15,7 @@ import com.porcupine.coord.Vec;
/**
* Math helper
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class Calc {
@@ -117,7 +117,7 @@ public class Calc {
/**
* Calc subclass with buffer utils.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public static class Buffers {
@@ -157,7 +157,7 @@ public class Calc {
/**
* Angle calculations for degrees.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public static class Deg {
/** 180° in degrees */
@@ -294,7 +294,7 @@ public class Calc {
/**
* Angle calculations for radians.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public static class Rad {
/** 180° in radians */
+1 -1
View File
@@ -7,7 +7,7 @@ import com.porcupine.coord.Coord;
/**
* Polar coordinate
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class Polar {
/** angle in radians */
+1 -1
View File
@@ -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 {
/** 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.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class Range {
private double min = 0;
@@ -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> {
+1 -1
View File
@@ -4,7 +4,7 @@ package com.porcupine.mutable;
/**
* Mutable boolean
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class MBoolean extends AbstractMutable<Boolean> {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ package com.porcupine.mutable;
/**
* Mutable double
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class MDouble extends AbstractMutable<Double> {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ package com.porcupine.mutable;
/**
* Mutable float
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class MFloat extends AbstractMutable<Float> {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ package com.porcupine.mutable;
/**
* Mutable integer
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class MInt extends AbstractMutable<Integer> {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ package com.porcupine.mutable;
/**
* Mutable string
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class MString extends AbstractMutable<String> {
/**
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -15,7 +15,7 @@ import net.spritegen.util.Log;
/**
* Utilities for filesystem
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
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
* to getters.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class PropertyManager {
/**
@@ -24,7 +24,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 {
@@ -319,7 +319,7 @@ public class PropertyManager {
/**
* Property entry in Property manager.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
* @copy (c) 2012
*/
private class Property {
@@ -565,7 +565,7 @@ public class PropertyManager {
/**
* Property type enum.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
* @copy (c) 2012
*/
private enum PropertyType {
+1 -1
View File
@@ -4,7 +4,7 @@ package com.porcupine.util;
/**
* General purpose string utilities
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
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);
* </pre>
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
* @param <K> Type for Map keys
* @param <V> Type for Map values
*/
+1 -1
View File
@@ -38,7 +38,7 @@ import com.porcupine.util.FileUtils;
/**
* SECTOR main class
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class App {
+1 -1
View File
@@ -9,7 +9,7 @@ import com.porcupine.coord.Coord;
/**
* Sector constants
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
@SuppressWarnings("javadoc")
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
* before starting main loop.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
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
* inputs and run the game logic.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public abstract class Screen{
+1 -1
View File
@@ -30,7 +30,7 @@ import static org.lwjgl.util.glu.GLU.*;
/**
* Splash screen
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ScreenSprites extends Screen {
@@ -16,7 +16,7 @@ import org.newdawn.slick.util.ResourceLoader;
/**
* Texture manager
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class TextureManager {
+2 -2
View File
@@ -17,7 +17,7 @@ import net.spritegen.Constants;
/**
* Sector static logger class.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
* @copy (c) 2012
*/
public class Log {
@@ -254,7 +254,7 @@ public class Log {
/**
* PowerCraft Log file formatter.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
* @copy (c) 2012
*/
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
* types.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ObjParser {
+1 -1
View File
@@ -14,7 +14,7 @@ import com.porcupine.coord.Rect;
/**
* Render utilities
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class RenderUtils {
+1 -1
View File
@@ -15,7 +15,7 @@ import com.porcupine.util.FileUtils;
/**
* Sector's utils class
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class Utils {