Commit Graph

161 Commits (a9dfdf184d92ef7ac2193344eba791b6e0faaa58)

Author SHA1 Message Date
Stefan Dollase aa714b58c0 removed implementations of the class StructureProducer, since they where only constructors 2016-01-06 20:11:55 +01:00
Stefan Dollase 5c1425da49 replaced the interface WorldIconConsumer by the generic interface Consumer<WorldIcon> 2016-01-06 19:56:41 +01:00
Stefan Dollase 13c0a1ac3e moved classes and created packages 2016-01-06 19:52:23 +01:00
Stefan Dollase f921640a4e switched the NetherFortressProducer to use the resolution NETHER_CHUNK 2016-01-06 19:44:19 +01:00
Stefan Dollase c047b0537f cleaned up the constructor parameter-lists of the world icon producers 2016-01-06 19:28:19 +01:00
Stefan Dollase 55eac566c6 simplified the StructureProducer implementations
They are only constructors.
2016-01-06 19:23:50 +01:00
Stefan Dollase 74d32ff838 added the class WorldIconTypeProvider 2016-01-06 19:12:21 +01:00
Stefan Dollase 68d4c2f760 replaced another usage of the class Point by CoordinatesInWorld 2016-01-06 18:53:38 +01:00
Stefan Dollase edd943aa59 extracted the location checking logic to a set of new classes 2016-01-06 18:45:56 +01:00
Stefan Dollase 64eda36f05 added the interface LocationChecker 2016-01-06 17:57:17 +01:00
Stefan Dollase 4ec42589e7 moved more logic from the class StructureProducer to the class BiomeDataOracle 2016-01-06 17:51:19 +01:00
Stefan Dollase ba315cd464 extracted the new class NetherFortressAlgorithm from the class NetherFortressProducer 2016-01-06 17:16:53 +01:00
Stefan Dollase 52b9754cc6 removed the instance of StructureAlgorithm from the StructureProducer 2016-01-06 16:24:15 +01:00
Stefan Dollase 88c5a0c104 extracted the new class StructureAlgorithm from the class StructureProducer 2016-01-06 16:06:47 +01:00
Stefan Dollase e4b1283253 added NETHER and NETHER_CHUNK as resolution 2016-01-06 15:05:32 +01:00
Stefan Dollase 7b5b50cd6e added nether coordinates for nether fortresses
* the coordinates are still incorrect
* displayed overworld is actually nether
* displayed nether is just wrong
2016-01-06 14:51:45 +01:00
Stefan Dollase 1e457880a3 updated version to v4.0-beta2 2016-01-05 23:04:41 +01:00
Stefan Dollase f98bd57e31 added more logging for parameters 2016-01-05 22:34:47 +01:00
Stefan Dollase 4c61d2e990 enhanced cli
* added -version and -help parameters
* fixed -mcjson parameter to be only used for the first loaded version directory
* fixed -mcjar and -mcjson, so only both can be used, or none of them
* in the case of a parameter parsing exception, the usage informations are now displayed
* made the usage information more readable
* sorted the parameters for the usage printing
* added logging for the used parameters
2016-01-05 22:21:02 +01:00
Stefan Dollase c28b62513a added command-line parameter for the biome color profiles directory
* changed default biome color profile directory to "biome-color-profiles"
2016-01-05 17:57:00 +01:00
Stefan Dollase ac4eb98a59 made the message in the crash window uneditable
This is to prevent accidental changes while copying the crash report.
2016-01-05 17:08:21 +01:00
Stefan Dollase 4a9343c980 renamed WorldSurroundings to ViewerFacade
WorldSurroundings was always a placeholder, because I was not able to come up with something better. I think ViewerFacade is a better name.
2016-01-05 17:00:25 +01:00
Stefan Dollase c6a84d5840 fixed a NullPointerException on startup
When Amidst is started without settings file, it creates a settings file with default values. One of the default values was null, which is not allowed as a value in a preference store. I changed it to use the empty String instead. I also added some checks to ensure this does not happen again.
2016-01-05 16:29:46 +01:00
Stefan Dollase 779bfcfc78 updated gui texts
* updated the How can I move a player dialog to match the description in the wiki
* updated text in about window
2016-01-05 13:08:50 +01:00
Stefan Dollase 12bcff927b decreased the startup time ...
* by lazy initialization of the version list
* this puts the long running io operation in the background thread
* the gui is shown immediately
2016-01-05 12:35:05 +01:00
Stefan Dollase dd06f9e4f8 adjusted when Amidst checks for updates
* previously, the check was executed every time the main window was initialized and when the user asked for it
* now, the check is executed once, when the application is started and when the user asked for it
2016-01-05 00:41:59 +01:00
Stefan Dollase 4332bd57cf adjusted update mechanism
* switched to the github pages url
* switched to the json format
* added an optional message to the update information document
* removed the main window title from the metadata.properties, it is now created from the version parts
* added a developer tool to generate the update information json
2016-01-04 23:50:50 +01:00
Stefan Dollase 3196a317bd added the new class AmidstVersion 2016-01-04 21:54:05 +01:00
Stefan Dollase ca2184c9ea updated version to v4.0-beta1 2016-01-04 15:59:24 +01:00
Stefan Dollase 65a78593eb removed another outdated todo 2016-01-04 13:36:45 +01:00
Stefan Dollase cca131775b replaced occurrences of "AMIDST" by "Amidst", when used as a title, or "amidst", when used as an identifier 2015-12-30 19:52:04 +01:00
Stefan Dollase 93f3a24383 revisited the closing of resources
* made sure the resources are closed properly in all cases
* used the try-with-resources statement, that was introduced in java 7
2015-12-30 18:35:11 +01:00
Stefan Dollase eb076e26a4 made drawing code more robust against unknown biome indices 2015-12-30 17:58:42 +01:00
Stefan Dollase 4d58a110d2 added catch clause for malformed uris 2015-12-26 20:39:38 +01:00
Stefan Dollase 792cff040a removed missed tab 2015-12-25 17:24:49 +01:00
Stefan Dollase 6300675d69 added nbt suffix to classes representing nbt data, similar to the json and directory suffix 2015-12-25 16:55:22 +01:00
Stefan Dollase 6f7b5ac68d added the @NotNull annotation for parameters 2015-12-25 16:49:38 +01:00
Stefan Dollase 4ff4613634 the biome color profile save mechanism now serializes the colorMap sorted by biome index 2015-12-25 16:46:16 +01:00
Stefan Dollase 2416ea365e renamed the biome type constants to upper case 2015-12-25 16:09:45 +01:00
Stefan Dollase 9ea4c923d1 more formatting for the classes Biome and BiomeType 2015-12-25 16:01:58 +01:00
Stefan Dollase 5e1b317107 replaced tabs with spaces in the class Biome 2015-12-25 15:56:45 +01:00
Stefan Dollase 643828c22a moved the world type setting constants to the class WorldType 2015-12-25 15:36:08 +01:00
Stefan Dollase 51bb8eb740 removed the tracking message from the world seed, since the google tracker is already removed 2015-12-24 14:49:37 +01:00
Stefan Dollase 5593b22f9d updated version info to v4.0-alpha3 2015-12-24 04:17:04 +01:00
Stefan Dollase 9f1c93209e extracted building of windows and mac wrappers to extra pom.xml files
* to prevent issues like the one that was fixed in commit 476f5a
* mac wrapper is still broken and thus disabled
2015-12-24 02:43:32 +01:00
Stefan Dollase e0609cccdd removed the google tracker 2015-12-23 23:58:10 +01:00
Stefan Dollase 5e2aa636ff fixed the rule parsing for the loading of libraries 2015-12-23 23:47:18 +01:00
Stefan Dollase 5abcd10dba updated amidst version to v4.0-alpha1 2015-12-23 20:45:15 +01:00
Stefan Dollase 3b5ed70158 added option in metadata resource file to disable google analytics tracking 2015-12-23 20:39:30 +01:00
Stefan Dollase f85086ec29 improved message when player is asked for the world player type 2015-12-23 20:32:31 +01:00
Stefan Dollase 577d541e34 version list cannot be null 2015-12-23 20:24:31 +01:00
Stefan Dollase ef90841480 removed most of the general catch clauses 2015-12-23 20:16:06 +01:00
Stefan Dollase ef4ae187e9 made the mojang api more robust against exceptions caused by parsing and io exception 2015-12-23 19:50:39 +01:00
Stefan Dollase fbfde3a338 removed the method ResourceLoader.getResourceAsPath, since it did not work when executed from the amidst jar file 2015-12-22 03:50:50 +01:00
Stefan Dollase f7f4cd41ed fixed an issue that caused amidst to crash when the launcher_profiles.json contains a profile without a separate profile directory 2015-12-22 01:07:45 +01:00
Stefan Dollase 8ff3ff67a7 removed unused code 2015-12-22 00:39:19 +01:00
Stefan Dollase dab0570b34 made amidst use the resource file metadata.properties
* to store the version ids
* to store the main window title
* to store the google analytics data
2015-12-20 04:48:47 +01:00
Stefan Dollase d13b08df4f adjusted the pom.xml
* removed timestamp from filename ... it is still in the manifest file
* filename is now read from resource file metadata.properties
2015-12-20 03:45:25 +01:00
Stefan Dollase 00eb5f0e6a added junit4 as testing dependency, converted coordinate conversion test to junit test 2015-12-20 00:35:23 +01:00
Stefan Dollase 679424bd3f removed the license for kryonet, because the library was already removed 2015-12-19 21:51:57 +01:00
Stefan Dollase 91e3365b42 switched to the default maven project layout 2015-12-19 21:42:56 +01:00