mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
about issue #17
This commit is contained in:
BIN
assets/graphics/fonts/Braille.tga
LFS
Normal file
BIN
assets/graphics/fonts/Braille.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/LatinExtA_variable.tga
LFS
Normal file
BIN
assets/graphics/fonts/LatinExtA_variable.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/LatinExtB_variable.tga
LFS
Normal file
BIN
assets/graphics/fonts/LatinExtB_variable.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/OSXBSD8x16.tga
LFS
Normal file
BIN
assets/graphics/fonts/OSXBSD8x16.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/alphanumeric_small.tga
LFS
Normal file
BIN
assets/graphics/fonts/alphanumeric_small.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/ascii_variable.tga
LFS
Normal file
BIN
assets/graphics/fonts/ascii_variable.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/cjkpunct.tga
LFS
Normal file
BIN
assets/graphics/fonts/cjkpunct.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/cyrilic_bulgarian_variable.tga
LFS
Normal file
BIN
assets/graphics/fonts/cyrilic_bulgarian_variable.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/cyrilic_serbian_variable.tga
LFS
Normal file
BIN
assets/graphics/fonts/cyrilic_serbian_variable.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/cyrilic_variable.tga
LFS
Normal file
BIN
assets/graphics/fonts/cyrilic_variable.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/fullwidth_forms.tga
LFS
Normal file
BIN
assets/graphics/fonts/fullwidth_forms.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/futhark.tga
LFS
Normal file
BIN
assets/graphics/fonts/futhark.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/greek_variable.tga
LFS
Normal file
BIN
assets/graphics/fonts/greek_variable.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/hangul_johab.tga
LFS
Normal file
BIN
assets/graphics/fonts/hangul_johab.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/kana.tga
LFS
Normal file
BIN
assets/graphics/fonts/kana.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/milky.tga
LFS
Normal file
BIN
assets/graphics/fonts/milky.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/newrunes.tga
LFS
Normal file
BIN
assets/graphics/fonts/newrunes.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/numeric_small.tga
LFS
Normal file
BIN
assets/graphics/fonts/numeric_small.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/puae000-e0ff.tga
LFS
Normal file
BIN
assets/graphics/fonts/puae000-e0ff.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/thai_wide.tga
LFS
Normal file
BIN
assets/graphics/fonts/thai_wide.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/fonts/unipunct.tga
LFS
Normal file
BIN
assets/graphics/fonts/unipunct.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/StoneGUITex.tga
LFS
Normal file
BIN
assets/graphics/gui/StoneGUITex.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/control_helper_body.tga
LFS
Normal file
BIN
assets/graphics/gui/control_helper_body.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/control_helper_right.tga
LFS
Normal file
BIN
assets/graphics/gui/control_helper_right.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/cursor_black_over.tga
LFS
Normal file
BIN
assets/graphics/gui/cursor_black_over.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/cursor_over.tga
LFS
Normal file
BIN
assets/graphics/gui/cursor_over.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/cursor_pressed.tga
LFS
Normal file
BIN
assets/graphics/gui/cursor_pressed.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/health_distance.tga
LFS
Normal file
BIN
assets/graphics/gui/health_distance.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/health_take_a_break.tga
LFS
Normal file
BIN
assets/graphics/gui/health_take_a_break.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/inventory/category.tga
LFS
Normal file
BIN
assets/graphics/gui/inventory/category.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/message_black_body.tga
LFS
Normal file
BIN
assets/graphics/gui/message_black_body.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/message_black_left.tga
LFS
Normal file
BIN
assets/graphics/gui/message_black_left.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/message_black_right.tga
LFS
Normal file
BIN
assets/graphics/gui/message_black_right.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/message_twoline_black_body.tga
LFS
Normal file
BIN
assets/graphics/gui/message_twoline_black_body.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/message_twoline_black_left.tga
LFS
Normal file
BIN
assets/graphics/gui/message_twoline_black_left.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/message_twoline_black_right.tga
LFS
Normal file
BIN
assets/graphics/gui/message_twoline_black_right.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/monitor_bad.tga
LFS
Normal file
BIN
assets/graphics/gui/monitor_bad.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/monitor_good.tga
LFS
Normal file
BIN
assets/graphics/gui/monitor_good.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/monitor_good_alt_maru.tga
LFS
Normal file
BIN
assets/graphics/gui/monitor_good_alt_maru.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/progress_round_sheet.tga
LFS
Normal file
BIN
assets/graphics/gui/progress_round_sheet.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/quickbar/hotbar.tga
LFS
Normal file
BIN
assets/graphics/gui/quickbar/hotbar.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/quickbar/hotbarIndicator.tga
LFS
Normal file
BIN
assets/graphics/gui/quickbar/hotbarIndicator.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/quickbar/item_slot.tga
LFS
Normal file
BIN
assets/graphics/gui/quickbar/item_slot.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/quickbar/item_slot_large.tga
LFS
Normal file
BIN
assets/graphics/gui/quickbar/item_slot_large.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/quickbar/slot_separator.tga
LFS
Normal file
BIN
assets/graphics/gui/quickbar/slot_separator.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/quickbar/topbar_creative.tga
LFS
Normal file
BIN
assets/graphics/gui/quickbar/topbar_creative.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/tooltip_black_body.tga
LFS
Normal file
BIN
assets/graphics/gui/tooltip_black_body.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/tooltip_black_left.tga
LFS
Normal file
BIN
assets/graphics/gui/tooltip_black_left.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/tooltip_black_right.tga
LFS
Normal file
BIN
assets/graphics/gui/tooltip_black_right.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/ui_background.tga
LFS
Normal file
BIN
assets/graphics/gui/ui_background.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/ui_corners.tga
LFS
Normal file
BIN
assets/graphics/gui/ui_corners.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/ui_separator.tga
LFS
Normal file
BIN
assets/graphics/gui/ui_separator.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/ui_sides.tga
LFS
Normal file
BIN
assets/graphics/gui/ui_sides.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/gui/zoom_menu.tga
LFS
Normal file
BIN
assets/graphics/gui/zoom_menu.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/logo_placeholder.tga
LFS
Normal file
BIN
assets/graphics/logo_placeholder.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/logo_placeholder_noreflection.tga
LFS
Normal file
BIN
assets/graphics/logo_placeholder_noreflection.tga
LFS
Normal file
Binary file not shown.
BIN
assets/graphics/placeholder.tga
LFS
Normal file
BIN
assets/graphics/placeholder.tga
LFS
Normal file
Binary file not shown.
BIN
assets/item_kari_24.tga
LFS
Normal file
BIN
assets/item_kari_24.tga
LFS
Normal file
Binary file not shown.
BIN
assets/item_kari_48.tga
LFS
Normal file
BIN
assets/item_kari_48.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/colourmap/black_body_col_1000_40000_K.tga
LFS
Normal file
BIN
assets/modules/basegame/colourmap/black_body_col_1000_40000_K.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/colourmap/col12spectrum.tga
LFS
Normal file
BIN
assets/modules/basegame/colourmap/col12spectrum.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/colourmap/col216spectrum.tga
LFS
Normal file
BIN
assets/modules/basegame/colourmap/col216spectrum.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/colourmap/colourkey12.tga
LFS
Normal file
BIN
assets/modules/basegame/colourmap/colourkey12.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/colourmap/colourkey216.tga
LFS
Normal file
BIN
assets/modules/basegame/colourmap/colourkey216.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/colourmap/health_bar_colouring_4096.tga
LFS
Normal file
BIN
assets/modules/basegame/colourmap/health_bar_colouring_4096.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/colourmap/pal16.tga
LFS
Normal file
BIN
assets/modules/basegame/colourmap/pal16.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/colourmap/pal64.tga
LFS
Normal file
BIN
assets/modules/basegame/colourmap/pal64.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/colourmap/pal64_ryb_based.tga
LFS
Normal file
BIN
assets/modules/basegame/colourmap/pal64_ryb_based.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/items/items.tga
LFS
Normal file
BIN
assets/modules/basegame/items/items.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/items/items24.tga
LFS
Normal file
BIN
assets/modules/basegame/items/items24.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/items/items48.tga
LFS
Normal file
BIN
assets/modules/basegame/items/items48.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/sprites/fixtures/tiki_torch.tga
LFS
Normal file
BIN
assets/modules/basegame/sprites/fixtures/tiki_torch.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/sprites/npc_template_anim_prototype.tga
LFS
Normal file
BIN
assets/modules/basegame/sprites/npc_template_anim_prototype.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/sprites/slime.tga
LFS
Normal file
BIN
assets/modules/basegame/sprites/slime.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/sprites/slime_1.tga
LFS
Normal file
BIN
assets/modules/basegame/sprites/slime_1.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/sprites/sprite_placeholder_24_48.tga
LFS
Normal file
BIN
assets/modules/basegame/sprites/sprite_placeholder_24_48.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/sprites/test_player.tga
LFS
Normal file
BIN
assets/modules/basegame/sprites/test_player.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/sprites/test_player_2.tga
LFS
Normal file
BIN
assets/modules/basegame/sprites/test_player_2.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/sprites/test_player_2_testa.tga
LFS
Normal file
BIN
assets/modules/basegame/sprites/test_player_2_testa.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/sprites/test_player_glow.tga
LFS
Normal file
BIN
assets/modules/basegame/sprites/test_player_glow.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/tiles/wire.tga.gz
LFS
Normal file
BIN
assets/modules/basegame/tiles/wire.tga.gz
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/weathers/generic_light.tga
LFS
Normal file
BIN
assets/modules/basegame/weathers/generic_light.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/weathers/generic_skybox.tga
LFS
Normal file
BIN
assets/modules/basegame/weathers/generic_skybox.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/basegame/weathers/raindrop.tga
LFS
Normal file
BIN
assets/modules/basegame/weathers/raindrop.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/dwarventech/fonts/24-seg_red.tga
LFS
Normal file
BIN
assets/modules/dwarventech/fonts/24-seg_red.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/dwarventech/fonts/MDA.tga
LFS
Normal file
BIN
assets/modules/dwarventech/fonts/MDA.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/dwarventech/fonts/milkymda.tga
LFS
Normal file
BIN
assets/modules/dwarventech/fonts/milkymda.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/dwarventech/fonts/mt-32.tga
LFS
Normal file
BIN
assets/modules/dwarventech/fonts/mt-32.tga
LFS
Normal file
Binary file not shown.
BIN
assets/modules/dwarventech/fonts/teletype_9x12.tga
LFS
Normal file
BIN
assets/modules/dwarventech/fonts/teletype_9x12.tga
LFS
Normal file
Binary file not shown.
BIN
assets/test_texture.tga
LFS
Normal file
BIN
assets/test_texture.tga
LFS
Normal file
Binary file not shown.
BIN
lib/slick-source/org/newdawn/slick/data/particle.tga
LFS
Normal file
BIN
lib/slick-source/org/newdawn/slick/data/particle.tga
LFS
Normal file
Binary file not shown.
@@ -15,15 +15,9 @@ import net.torvald.terrarum.mapdrawer.MapCamera.x
|
|||||||
import net.torvald.terrarum.mapdrawer.MapCamera.y
|
import net.torvald.terrarum.mapdrawer.MapCamera.y
|
||||||
import net.torvald.terrarum.mapdrawer.MapCamera.height
|
import net.torvald.terrarum.mapdrawer.MapCamera.height
|
||||||
import net.torvald.terrarum.mapdrawer.MapCamera.width
|
import net.torvald.terrarum.mapdrawer.MapCamera.width
|
||||||
import net.torvald.terrarum.realestate.LandUtil
|
|
||||||
import org.lwjgl.opengl.GL11
|
import org.lwjgl.opengl.GL11
|
||||||
import org.newdawn.slick.*
|
import org.newdawn.slick.*
|
||||||
import org.newdawn.slick.opengl.*
|
|
||||||
import java.io.FileInputStream
|
|
||||||
import java.nio.ByteBuffer
|
|
||||||
import java.util.*
|
|
||||||
import java.util.zip.GZIPInputStream
|
|
||||||
import java.util.zip.InflaterInputStream
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by minjaesong on 16-01-19.
|
* Created by minjaesong on 16-01-19.
|
||||||
@@ -35,7 +29,9 @@ object TilesDrawer {
|
|||||||
|
|
||||||
val tilesTerrain = SpriteSheet(ModMgr.getPath("basegame", "tiles/terrain.tga.gz"), TILE_SIZE, TILE_SIZE)
|
val tilesTerrain = SpriteSheet(ModMgr.getPath("basegame", "tiles/terrain.tga.gz"), TILE_SIZE, TILE_SIZE)
|
||||||
// Slick has some weird quirks with PNG's transparency. I'm using 32-bit targa here.
|
// Slick has some weird quirks with PNG's transparency. I'm using 32-bit targa here.
|
||||||
val tilesWire = SpriteSheet(ModMgr.getPath("basegame", "tiles/wire.tga"), TILE_SIZE, TILE_SIZE)
|
// -> PNG transparency issue seems to be fixed (look at my customised ImageDataFactory), but
|
||||||
|
// tga.gz is smaller than png, so I'd rather keep it
|
||||||
|
val tilesWire = SpriteSheet(ModMgr.getPath("basegame", "tiles/wire.tga.gz"), TILE_SIZE, TILE_SIZE)
|
||||||
|
|
||||||
|
|
||||||
val breakAnimSteps = 10
|
val breakAnimSteps = 10
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ public class ImageDataFactory {
|
|||||||
/** True if we're going to use the native PNG loader - cached so it doesn't have
|
/** True if we're going to use the native PNG loader - cached so it doesn't have
|
||||||
* the security check repeatedly
|
* the security check repeatedly
|
||||||
*/
|
*/
|
||||||
private static boolean usePngLoader = true;
|
private static final boolean usePngLoader = false;
|
||||||
/** True if the PNG loader property has been checked */
|
/** True if the PNG loader property has been checked */
|
||||||
private static boolean pngLoaderPropertyChecked = false;
|
private static boolean pngLoaderPropertyChecked = false;
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ public class ImageDataFactory {
|
|||||||
public Object run() {
|
public Object run() {
|
||||||
String val = System.getProperty(PNG_LOADER);
|
String val = System.getProperty(PNG_LOADER);
|
||||||
if ("false".equalsIgnoreCase(val)) {
|
if ("false".equalsIgnoreCase(val)) {
|
||||||
usePngLoader = false;
|
//usePngLoader = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.info("Use Java PNG Loader = " + usePngLoader);
|
Log.info("Use Java PNG Loader = " + usePngLoader);
|
||||||
|
|||||||
BIN
work_files/Skintone_samples_process/samples.psd
LFS
Normal file
BIN
work_files/Skintone_samples_process/samples.psd
LFS
Normal file
Binary file not shown.
BIN
work_files/Sky colour sample.psd
LFS
Executable file
BIN
work_files/Sky colour sample.psd
LFS
Executable file
Binary file not shown.
BIN
work_files/UI/graphics_vt_shell.psd
LFS
Normal file
BIN
work_files/UI/graphics_vt_shell.psd
LFS
Normal file
Binary file not shown.
BIN
work_files/UI/inventory_nouveau.psd
LFS
Normal file
BIN
work_files/UI/inventory_nouveau.psd
LFS
Normal file
Binary file not shown.
BIN
work_files/UI/vital_metres.psd
LFS
Normal file
BIN
work_files/UI/vital_metres.psd
LFS
Normal file
Binary file not shown.
BIN
work_files/UI/vital_metres_2.psd
LFS
Normal file
BIN
work_files/UI/vital_metres_2.psd
LFS
Normal file
Binary file not shown.
BIN
work_files/graphics/ArtBase2_2.psd
LFS
Normal file
BIN
work_files/graphics/ArtBase2_2.psd
LFS
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user