master
Ondřej Hruška 10 yıl önce
ebeveyn 45a9a2eac2
işleme 2fed3a9c81
  1. 2
      src/com/porcupine/color/HSV.java
  2. 2
      src/com/porcupine/color/RGB.java
  3. 2
      src/com/porcupine/coord/Coord.java
  4. 2
      src/com/porcupine/coord/CoordI.java
  5. 2
      src/com/porcupine/coord/Rect.java
  6. 2
      src/com/porcupine/coord/Vec.java
  7. 2
      src/com/porcupine/ion/AbstractIonList.java
  8. 2
      src/com/porcupine/ion/AbstractIonMap.java
  9. 2
      src/com/porcupine/ion/Ion.java
  10. 2
      src/com/porcupine/ion/IonList.java
  11. 2
      src/com/porcupine/ion/IonMap.java
  12. 2
      src/com/porcupine/ion/IonMarks.java
  13. 2
      src/com/porcupine/ion/Ionizable.java
  14. 2
      src/com/porcupine/ion/IonizableOptional.java
  15. 2
      src/com/porcupine/ion/StreamUtils.java
  16. 8
      src/com/porcupine/math/Calc.java
  17. 2
      src/com/porcupine/math/Polar.java
  18. 2
      src/com/porcupine/math/PolarDeg.java
  19. 2
      src/com/porcupine/math/Range.java
  20. 2
      src/com/porcupine/mutable/AbstractMutable.java
  21. 2
      src/com/porcupine/mutable/MBoolean.java
  22. 2
      src/com/porcupine/mutable/MDouble.java
  23. 2
      src/com/porcupine/mutable/MFloat.java
  24. 2
      src/com/porcupine/mutable/MInt.java
  25. 2
      src/com/porcupine/mutable/MString.java
  26. 2
      src/com/porcupine/struct/Struct2.java
  27. 2
      src/com/porcupine/struct/Struct3.java
  28. 2
      src/com/porcupine/struct/Struct4.java
  29. 2
      src/com/porcupine/struct/Struct5.java
  30. 2
      src/com/porcupine/struct/Struct6.java
  31. 2
      src/com/porcupine/struct/Struct7.java
  32. 2
      src/com/porcupine/struct/Struct8.java
  33. 2
      src/com/porcupine/time/FpsMeter.java
  34. 2
      src/com/porcupine/util/FileSuffixFilter.java
  35. 2
      src/com/porcupine/util/FileUtils.java
  36. 8
      src/com/porcupine/util/PropertyManager.java
  37. 2
      src/com/porcupine/util/StringUtils.java
  38. 2
      src/com/porcupine/util/VarargsParser.java
  39. 2
      src/net/sector/App.java
  40. 2
      src/net/sector/Constants.java
  41. 2
      src/net/sector/CustomIonMarks.java
  42. 2
      src/net/sector/GameConfig.java
  43. 2
      src/net/sector/LoadingManager.java
  44. 2
      src/net/sector/StaticInitializer.java
  45. 2
      src/net/sector/annotations/Internal.java
  46. 2
      src/net/sector/annotations/Unused.java
  47. 2
      src/net/sector/collision/Collider.java
  48. 2
      src/net/sector/collision/ColliderPlayerShip.java
  49. 2
      src/net/sector/collision/ColliderSphere.java
  50. 2
      src/net/sector/collision/ColliderSphereFake.java
  51. 4
      src/net/sector/collision/Scene.java
  52. 2
      src/net/sector/effects/EParticle.java
  53. 2
      src/net/sector/effects/Effects.java
  54. 2
      src/net/sector/effects/ParticleManager.java
  55. 2
      src/net/sector/effects/particles/Particle.java
  56. 2
      src/net/sector/effects/particles/ParticleBinary.java
  57. 2
      src/net/sector/effects/particles/ParticleEMP.java
  58. 2
      src/net/sector/effects/particles/ParticleFire.java
  59. 2
      src/net/sector/effects/particles/ParticleOrb.java
  60. 2
      src/net/sector/effects/particles/ParticleShard.java
  61. 2
      src/net/sector/effects/particles/ParticleSmoke.java
  62. 2
      src/net/sector/effects/particles/ParticleStar.java
  63. 2
      src/net/sector/effects/renderers/ParticleBinaryRenderer.java
  64. 2
      src/net/sector/effects/renderers/ParticleEMPRenderer.java
  65. 2
      src/net/sector/effects/renderers/ParticleFireRenderer.java
  66. 2
      src/net/sector/effects/renderers/ParticleOrbRenderer.java
  67. 2
      src/net/sector/effects/renderers/ParticleRenderer.java
  68. 2
      src/net/sector/effects/renderers/ParticleRendererBlend.java
  69. 2
      src/net/sector/effects/renderers/ParticleRendererPlain.java
  70. 2
      src/net/sector/effects/renderers/ParticleShardRenderer.java
  71. 2
      src/net/sector/effects/renderers/ParticleSmokeRenderer.java
  72. 2
      src/net/sector/effects/renderers/ParticleStarRenderer.java
  73. 2
      src/net/sector/entities/EEntity.java
  74. 2
      src/net/sector/entities/Entity.java
  75. 2
      src/net/sector/entities/EntityNavigable.java
  76. 2
      src/net/sector/entities/IPhysEntity.java
  77. 2
      src/net/sector/entities/IScoreCounter.java
  78. 2
      src/net/sector/entities/enemies/EntityMine.java
  79. 2
      src/net/sector/entities/enemies/EntityShipBird.java
  80. 2
      src/net/sector/entities/enemies/EntityShipBurger.java
  81. 2
      src/net/sector/entities/enemies/EntityShipBurgerKing.java
  82. 2
      src/net/sector/entities/enemies/EntityShipCube.java
  83. 2
      src/net/sector/entities/enemies/EntityShipFalcon.java
  84. 2
      src/net/sector/entities/enemies/EntityShipFighter.java
  85. 2
      src/net/sector/entities/enemies/EntityShipShark.java
  86. 2
      src/net/sector/entities/natural/EntityAsteroid.java
  87. 2
      src/net/sector/entities/player/EntityPlayerShip.java
  88. 2
      src/net/sector/entities/shots/EntityShotBase.java
  89. 10
      src/net/sector/fonts/FontManager.java
  90. 2
      src/net/sector/gui/panels/HsColors.java
  91. 2
      src/net/sector/gui/panels/Panel.java
  92. 2
      src/net/sector/gui/panels/PanelConfig.java
  93. 2
      src/net/sector/gui/panels/PanelEmpty.java
  94. 2
      src/net/sector/gui/panels/PanelMenu.java
  95. 2
      src/net/sector/gui/panels/PanelSplash.java
  96. 2
      src/net/sector/gui/panels/designer/PanelDesigner.java
  97. 4
      src/net/sector/gui/panels/dialogs/PanelDialogCaptureInput.java
  98. 4
      src/net/sector/gui/panels/dialogs/PanelDialogModal.java
  99. 2
      src/net/sector/gui/panels/game/PanelGame.java
  100. 2
      src/net/sector/gui/panels/game/PanelGameOverShared_User.java
  101. Some files were not shown because too many files have changed in this diff Show More

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

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

@ -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 */

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

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

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

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

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

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

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

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

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

@ -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 {
/**

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

@ -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")

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

@ -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 */

@ -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 */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -13,7 +13,7 @@ import org.lwjgl.input.Keyboard;
* 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 {
/**
@ -22,7 +22,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 {
@ -317,7 +317,7 @@ public class PropertyManager {
/**
* Property entry in Property manager.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
* @copy (c) 2012
*/
private class Property {
@ -537,7 +537,7 @@ public class PropertyManager {
/**
* Property type enum.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
* @copy (c) 2012
*/
private enum PropertyType {

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

@ -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
*/

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

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

@ -12,7 +12,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 {

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

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

@ -18,7 +18,7 @@ import net.sector.util.Log;
* 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 {

@ -6,7 +6,7 @@ package net.sector.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 {

@ -5,7 +5,7 @@ package net.sector.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 {

@ -8,7 +8,7 @@ import com.porcupine.coord.Coord;
* Collider object, used to hold information about object positions, rotations
* and to detect their collisions.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public abstract class Collider {
/** Central point */

@ -14,7 +14,7 @@ import com.porcupine.math.Calc;
/**
* Player ship collider (made up of pieces)
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ColliderPlayerShip extends ColliderSphere {

@ -13,7 +13,7 @@ import com.porcupine.math.Calc;
/**
* Simple spheric collider
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ColliderSphere extends Collider {

@ -7,7 +7,7 @@ import com.porcupine.coord.Coord;
/**
* Sphere collider, never colliding
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ColliderSphereFake extends ColliderSphere {

@ -27,7 +27,7 @@ import com.porcupine.util.StringUtils;
/**
* 2D collider map with Z-axis zones
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class Scene {
@ -73,7 +73,7 @@ public class Scene {
/**
* Zone of entities within this collider.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
private class ColliderZone extends HashSet<Entity> {

@ -4,7 +4,7 @@ package net.sector.effects;
/**
* Enum particle types
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public enum EParticle {
/** fire */

@ -16,7 +16,7 @@ import com.porcupine.math.Calc;
/**
* Effects helper
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class Effects {
/** RNG */

@ -19,7 +19,7 @@ import com.porcupine.coord.Vec;
* Particle manager, container and animator of particles.<br>
* It extends HashSet, so you can simply use add(particle) to add new effect.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleManager extends ArrayList<Particle> {

@ -15,7 +15,7 @@ import com.porcupine.coord.Vec;
/**
* Particle pseudo-entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public abstract class Particle implements Comparable<Particle> {

@ -14,7 +14,7 @@ import com.porcupine.math.Calc;
/**
* "Binary" particle (animated green 0s and 1s in splash screen)
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleBinary extends Particle {

@ -14,7 +14,7 @@ import com.porcupine.math.Calc;
/**
* "EMP" particle
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleEMP extends Particle {

@ -14,7 +14,7 @@ import com.porcupine.math.Calc;
/**
* Fire / explode particle
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleFire extends Particle {

@ -14,7 +14,7 @@ import com.porcupine.math.Calc;
/**
* "EMP" particle
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleOrb extends Particle {

@ -14,7 +14,7 @@ import com.porcupine.math.Calc;
/**
* Shard (explosion) particle
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleShard extends Particle {

@ -14,7 +14,7 @@ import com.porcupine.math.Calc;
/**
* Smoke particle
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleSmoke extends Particle {

@ -15,7 +15,7 @@ import com.porcupine.math.Calc;
/**
* Experimental (= ugly) star particle
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleStar extends Particle {

@ -11,7 +11,7 @@ import com.porcupine.coord.Coord;
/**
* Binary particle renderer
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleBinaryRenderer extends ParticleRendererPlain {
/**

@ -11,7 +11,7 @@ import com.porcupine.coord.Coord;
/**
* Fire particle renderer
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleEMPRenderer extends ParticleRendererBlend {
/**

@ -11,7 +11,7 @@ import com.porcupine.coord.Coord;
/**
* Fire particle renderer
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleFireRenderer extends ParticleRendererBlend {
/**

@ -11,7 +11,7 @@ import com.porcupine.coord.Coord;
/**
* orb particle renderer
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleOrbRenderer extends ParticleRendererBlend {
/**

@ -14,7 +14,7 @@ import com.porcupine.coord.Coord;
* Only one instance of this renderer is made, and is later held in
* ParticleManager.renderers
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public abstract class ParticleRenderer {

@ -11,7 +11,7 @@ import com.porcupine.coord.Coord;
/**
* Particle renderer BLEND (black image with colors).
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public abstract class ParticleRendererBlend extends ParticleRenderer {

@ -11,7 +11,7 @@ import com.porcupine.coord.Coord;
/**
* Particle renderer PLAIN.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public abstract class ParticleRendererPlain extends ParticleRenderer {

@ -11,7 +11,7 @@ import com.porcupine.coord.Coord;
/**
* Shard particle renderer
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleShardRenderer extends ParticleRendererPlain {
/**

@ -11,7 +11,7 @@ import com.porcupine.coord.Coord;
/**
* Smoke particle renderer
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleSmokeRenderer extends ParticleRendererPlain {
/**

@ -9,7 +9,7 @@ import com.porcupine.coord.Coord;
/**
* Star particle renderer
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class ParticleStarRenderer extends ParticleRendererPlain {
/**

@ -4,7 +4,7 @@ package net.sector.entities;
/**
* Entity type
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public enum EEntity {
/** Shot, bullet, rocket etc. by aliens */

@ -24,7 +24,7 @@ import com.porcupine.math.Calc;
* Entity object: something that moves, reacts to collisions and does other cool
* stuff.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public abstract class Entity implements IPhysEntity, Comparable<Entity> {

@ -21,7 +21,7 @@ import com.porcupine.math.PolarDeg;
/**
* Navigable entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public abstract class EntityNavigable extends Entity implements INavigated {

@ -13,7 +13,7 @@ import com.porcupine.coord.Vec;
/**
* Entity interface for physics calculations
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public interface IPhysEntity extends IDamageable {
public Coord getPos();

@ -4,7 +4,7 @@ package net.sector.entities;
/**
* This be an interface for player's ship, which counts score.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public interface IScoreCounter {
/**

@ -22,7 +22,7 @@ import com.porcupine.coord.Vec;
/**
* Mine entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class EntityMine extends EntityNavigable {

@ -20,7 +20,7 @@ import com.porcupine.coord.Vec;
/**
* Enemy ship entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class EntityShipBird extends EntityNavigable {

@ -19,7 +19,7 @@ import com.porcupine.coord.Vec;
/**
* Enemy burger entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class EntityShipBurger extends EntityNavigable {
private static PhysModel burgerModel = Models.enemyBurger;

@ -19,7 +19,7 @@ import com.porcupine.coord.Vec;
/**
* Enemy burger entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class EntityShipBurgerKing extends EntityNavigable {
private static PhysModel burgerModel = Models.enemyBurgerKing;

@ -19,7 +19,7 @@ import com.porcupine.math.Calc;
/**
* Enemy cube entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class EntityShipCube extends EntityNavigable {

@ -20,7 +20,7 @@ import com.porcupine.coord.Vec;
/**
* Enemy ship entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class EntityShipFalcon extends EntityNavigable {

@ -20,7 +20,7 @@ import com.porcupine.coord.Vec;
/**
* Enemy ship entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class EntityShipFighter extends EntityNavigable {

@ -19,7 +19,7 @@ import com.porcupine.coord.Vec;
/**
* Enemy ship entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class EntityShipShark extends EntityNavigable {

@ -19,7 +19,7 @@ import com.porcupine.math.Calc;
/**
* Asteroid entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class EntityAsteroid extends EntityNatural {

@ -27,7 +27,7 @@ import com.porcupine.math.Calc;
/**
* Player ship entity
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class EntityPlayerShip extends Entity implements IScoreCounter, IInputHandler {

@ -17,7 +17,7 @@ import com.porcupine.math.Polar;
/**
* Base for all shots
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public abstract class EntityShotBase extends Entity {

@ -20,7 +20,7 @@ import com.porcupine.coord.Coord;
/**
* Remade universal font manager for Sector.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class FontManager {
@ -29,7 +29,7 @@ public class FontManager {
/**
* Glyph tables.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public static class Glyphs {
//@formatter:off
@ -82,7 +82,7 @@ public class FontManager {
/**
* Font style
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public static enum Style {
/** Normal */
@ -118,7 +118,7 @@ public class FontManager {
/**
* Preloaded font identifier [name, size, style]
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public static class FontId {
/** font size (pt) */
@ -201,7 +201,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> {}

@ -7,7 +7,7 @@ import com.porcupine.color.RGB;
/**
* Colors used in all highscore tables
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class HsColors {
/** Score number */

@ -19,7 +19,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 {

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

@ -8,7 +8,7 @@ import net.sector.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 {

@ -28,7 +28,7 @@ import net.sector.util.Log;
/**
* Main menu panel
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class PanelMenu extends PanelGui {
private static final int EXIT = 0;

@ -18,7 +18,7 @@ import com.porcupine.coord.Coord;
/**
* Splash panel
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class PanelSplash extends Panel {

@ -60,7 +60,7 @@ import com.porcupine.util.StringUtils;
/**
* Main menu panel
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class PanelDesigner extends PanelGui {

@ -25,13 +25,13 @@ import com.porcupine.coord.Coord;
/**
* Capture input dialog - set controls
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class PanelDialogCaptureInput extends PanelGui {
/**
* Dialog click handler
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public interface ICaptureInputDialogListener {
/**

@ -23,14 +23,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 {
/**

@ -37,7 +37,7 @@ import com.porcupine.util.StringUtils;
/**
* panel animating the 3D game
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class PanelGame extends Panel {

@ -39,7 +39,7 @@ import com.porcupine.util.StringUtils;
/**
* Game over screen for Shared levels and registered user.
*
* @author MightyPork
* @author Ondřej Hruška (MightyPork)
*/
public class PanelGameOverShared_User extends PanelGui {

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

Yükleniyor…
İptal
Kaydet