deprecation annihilation
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
package mindustry.ui;
|
||||
|
||||
/** Use content icon fields directly instead. This will be removed. */
|
||||
@Deprecated
|
||||
public enum Cicon{
|
||||
tiny, small, medium, large, xlarge, full;
|
||||
@Deprecated
|
||||
public final int size = 32;
|
||||
|
||||
public static final Cicon[] all = values();
|
||||
public static final Cicon[] scaled = values();
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package mindustry.ui;
|
||||
|
||||
/** @deprecated completely pointless */
|
||||
@Deprecated
|
||||
public enum IconSize{
|
||||
def(48),
|
||||
small(32),
|
||||
smaller(30),
|
||||
tiny(16);
|
||||
|
||||
public final int size;
|
||||
|
||||
IconSize(int size){
|
||||
this.size = size;
|
||||
}
|
||||
}
|
||||
@@ -41,10 +41,4 @@ public class ItemImage extends Stack{
|
||||
public ItemImage(BlockStack stack){
|
||||
this(stack.block.uiIcon, stack.amount);
|
||||
}
|
||||
|
||||
/** @deprecated what the heck is this */
|
||||
@Deprecated
|
||||
public ItemImage(TextureRegion region){
|
||||
add(new Image(region));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -262,12 +262,6 @@ public class ChatFragment extends Table{
|
||||
return shown;
|
||||
}
|
||||
|
||||
/** @deprecated prefixes are ignored now, just add raw messages */
|
||||
@Deprecated
|
||||
public void addMessage(String pointless, String message){
|
||||
addMessage(message);
|
||||
}
|
||||
|
||||
public void addMessage(String message){
|
||||
if(message == null) return;
|
||||
messages.insert(0, message);
|
||||
|
||||
Reference in New Issue
Block a user