Commit Graph

37 Commits

Author SHA1 Message Date
437a3acdcc Added a more scattered test.
This may be a more realistic representation.
2020-04-28 23:22:43 -05:00
8595ab0c4e Biome generator change in way of caching island info.
Biome cache now stores a 4 biome values: current, main, shore, and shallow.
2020-04-28 23:15:29 -05:00
7a2a2d4ca6 Renamed some tests and changed amount tested. 2020-04-28 17:18:36 -05:00
b49f50f728 Increased chunk count to 6000. 2020-04-28 17:13:11 -05:00
61a6bbaa4f Cleaned up cache tests. 2020-04-28 17:12:36 -05:00
ca1e1c0975 Changed import to latest JUnit import. 2020-04-28 16:57:09 -05:00
b30d689183 Reworked thread safe cache solution.
Also performed refactoring.

And added some threaded tests.
2020-04-28 16:53:23 -05:00
7c073cdc6e Preventing flooder from checking same node.
Added another flooder test.
2020-04-27 23:17:54 -05:00
85ec44a4d7 Flood algorithm added and (basic) tests performed. 2020-04-27 21:10:55 -05:00
49f26f7901 Fixed conversion from world to chunk coords.
Added test that catches this case.
2020-04-27 15:14:33 -05:00
26ebf7af33 Fixed test case. 2020-04-27 14:25:10 -05:00
1e8dc8019a Current iteration of work.
Attempted at fixing the coordinate converter again.

Added more applicable tests for them.

Changing to a more stateless design for biome generator.

Refactored correcting package name to fit conventions.
2020-04-27 14:23:57 -05:00
ec27a9bc10 Fixed perfect chunk coordinates in utilities.
Added respective tests to ensure this doesn't break.
2020-04-27 13:44:49 -05:00
39381f07f9 Fixed incorrect method call.
Added tests to make sure that this doesn't happen.
2020-04-27 13:21:04 -05:00
4f411c42fb Added conversion from world coordinates to utilities.
Respective tests also added.
2020-04-26 20:56:10 -05:00
f20515fd45 Reworked cache, this time with less hashmap accesses. 2020-04-25 22:32:25 -05:00
1e0d63e562 Added a magnitiude addition helper function. 2020-04-25 17:54:40 -05:00
629660c8fc Revamped caching again, this time, without sorting.
Implemented cache changes.
2020-04-25 17:54:25 -05:00
91644f9ba0 New cache system.
Caching itself is tested.

Implemented into classes (untested).
2020-04-25 12:06:41 -05:00
ffc01f0ddf Minor doc and method name changes.
Respective tests updated.
2020-04-24 15:15:24 -05:00
be19db1f9b Separated node class from DFS class. 2020-04-23 23:07:49 -05:00
e50a983b25 Added simple caching system. 2020-04-23 20:15:45 -05:00
4ed9d4d272 Tested DFS direction assisted search. 2020-04-22 19:41:25 -05:00
ed48e164b6 Cleaned up DFS testing.
Changed all maps to files.
2020-04-22 18:49:06 -05:00
c3998150f9 Added more tests.
Added a very large map for tests.
Added testing for DFS limiter.
2020-04-22 18:41:33 -05:00
39b5d0e778 Added map file reading to the DFS test. 2020-04-22 17:51:11 -05:00
c3d5ba1683 Added large test map to DFS find end tests. 2020-04-21 23:41:50 -05:00
6d552820ee DFS instantiation in biome generator is now correct.
Performed refactoring

Began work on world height shader (untested).
2020-04-21 20:59:03 -05:00
533a758799 Finished untested biome generator.
Also:
Changed plugin structure to adapt better to server API
Refactored by reorganizing packages.
2020-04-21 16:40:29 -05:00
67a93fff5b Reworked biome generation and used DFS for continuity.
Also made changes to structure to better support Bukkit's structure.
2020-04-21 02:59:19 -05:00
f5e3435d8b Added a target coordinate finder.
Implemented DFS name changes.
2020-04-20 23:26:44 -05:00
c860ba1a15 Tested biome selector.
Also deleted launch.json.
2020-04-20 19:13:01 -05:00
c6001bdfea Refactored and updated to JUnit 5. Fixed biome selector. 2020-04-20 18:57:37 -05:00
78cd32106f Added another invalid map test case to DFS tests. 2020-04-20 17:37:14 -05:00
81fb18ab3d Tested DFS search algorithm. 2020-04-20 17:34:24 -05:00
23f761c36f Added utilities and a hashmap inverter. 2020-04-19 18:17:17 -05:00
86d63bfee5 Created template bukkit plugin.
Generated using maven.
2020-04-18 00:08:05 -05:00