This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
namespace ServerCommon | |
{ | |
public class FixedPhysicsTimeStep : AbsLooper | |
{ | |
/** | |
* This may range between 15-200 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using SquidLib.SquidMath; | |
namespace Maps | |
{ | |
/** | |
* An experimental way of speeding up {@link FastNoise} by using a large buffer of random bytes, and choosing a byte | |
* from the buffer purely by the current seed and position (a simpler calculation than a hash). This currently gives a | |
* modest speed boost to {@link #SIMPLEX}, {@link #PERLIN}, {@link #CUBIC}, and {@link #HONEY}, a smaller speed boost to | |
* {@link #FOAM}, and no change for {@link #VALUE} or {@link #WHITE_NOISE}. This class only uses the least-significant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.virtualhex.gdx.engine.data; | |
import com.badlogic.gdx.utils.Array; | |
import org.bson.BsonReader; | |
import org.bson.BsonType; | |
import org.bson.BsonValue; | |
import org.bson.BsonWriter; | |
import org.bson.codecs.BsonValueCodecProvider; | |
import org.bson.codecs.Codec; | |
import org.bson.codecs.DecoderContext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.virtualhex.gdx.engine.server; | |
import com.mongodb.MongoTimeoutException; | |
import org.bson.Document; | |
import org.reactivestreams.Subscriber; | |
import org.reactivestreams.Subscription; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.concurrent.CountDownLatch; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.virtualhex.math; | |
import java.nio.ByteBuffer; | |
import java.nio.charset.Charset; | |
import java.nio.charset.StandardCharsets; | |
import java.util.ArrayList; | |
import java.util.List; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.virtualhex.gdx.engine.maps; | |
import app.virtualhex.math.VLQUtilsNative; | |
import app.virtualhex.types.Decoder; | |
import app.virtualhex.types.Encoder; | |
import java.nio.ByteBuffer; | |
/** | |
* Used to describe the parameters of a playable section of the game |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.virtualhex.gdx.free_universe; | |
import app.virtualhex.app.App; | |
import app.virtualhex.app.AppLauncher; | |
import app.virtualhex.gdx.engine.graphics.g2d.ExtendedDynamicAtlasWrapper; | |
import app.virtualhex.gdx.engine.state.StateRefBooleanWrapper; | |
import app.virtualhex.gdx.engine.state.StateRefStringWrapper; | |
import app.virtualhex.gdx.engine.state.StateReference; | |
import app.virtualhex.network.CachedEventLoopGroup; | |
import app.virtualhex.network.ClientPorts; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.virtualhex.gdx.util; | |
/** | |
* Copyright (c) 2004-2011 QOS.ch | |
* All rights reserved. | |
* <p> | |
* Permission is hereby granted, free of charge, to any person obtaining | |
* a copy of this software and associated documentation files (the | |
* "Software"), to deal in the Software without restriction, including | |
* without limitation the rights to use, copy, modify, merge, publish, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package app.virtualhex.gdx.free_universe.network; | |
import app.virtualhex.gdx.engine.scene2d.TextFieldChangeListener; | |
import app.virtualhex.gdx.engine.scene2d.TextFieldChangedNotify; | |
import app.virtualhex.gdx.engine.scene2d.filters.*; | |
import app.virtualhex.gdx.free_universe.FuReferences; | |
import app.virtualhex.network.PacketSpeedLimiter; | |
import app.virtualhex.network.clients.AccountClient; | |
import app.virtualhex.network.clients.AccountPacket; | |
import app.virtualhex.utils.StringFormatter; |
NewerOlder