Commit Graph

149 Commits

Author SHA1 Message Date
8d392cd779 Script now deletes all worlds instead of just one. 2020-04-26 15:09:32 -05:00
02f7de56ed Minor changes to alternator. 2020-04-26 15:09:13 -05:00
60217e4672 World height shader should now be less abrupt. 2020-04-26 15:03:34 -05:00
925296f326 Minor improvement to cache by reducing area under lock. 2020-04-26 02:04:29 -05:00
98e4265db7 Attempted at making all things world gen thread proof.
Specifically, caching is tested thread proof.
2020-04-26 01:28:45 -05:00
f20515fd45 Reworked cache, this time with less hashmap accesses. 2020-04-25 22:32:25 -05:00
dcec9fd7e7 Made sure occurrences are properly tracked. 2020-04-25 18:16:18 -05:00
4b6cfacc47 Fixed clear cache method.
Alternator currently uses threads as identifier (TEMPORARY).
2020-04-25 17:59:30 -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
1c5baf8762 Removed unnessecary hashmap retrieval from cache. 2020-04-25 02:23:48 -05:00
a7db7d289a Caching now has a fresh importance factor. 2020-04-25 01:32:01 -05:00
28b9a8005c Gave newly cached items usage greater than the lowest. 2020-04-25 01:15:38 -05:00
a412986044 New iteration of biome generator.
Untested.
2020-04-25 00:18:53 -05:00
e93f61c055 Added convenience constructor. 2020-04-25 00:18:29 -05:00
34ccc1e7de Semi-functioning biome generator.
It's faster now, but sometimes hangs, and is still pretty slow.
2020-04-24 22:11:52 -05:00
d0facd268a Fixed world generator not saving generated values. 2020-04-24 22:10:59 -05:00
c5e3c08546 Refactoring. 2020-04-24 17:50:18 -05:00
c415d15a7b Changed load script to work with any version. 2020-04-24 16:02:03 -05:00
491483fc55 Updated .gitignore and untracked files. 2020-04-24 15:49:25 -05:00
8517a20f9f Reworked biome per island generator. 2020-04-24 15:15:44 -05:00
60ab555c57 Added caching solution to temperature map generator. 2020-04-24 15:15:44 -05:00
6c8389d60e Lowered amount of octaves. 2020-04-24 15:15:44 -05:00
2e67cb90ca Increased max cache size and fixed caching on method. 2020-04-24 15:15:44 -05:00
2d9163f5c2 Added two utility functions. 2020-04-24 15:15:44 -05:00
ffc01f0ddf Minor doc and method name changes.
Respective tests updated.
2020-04-24 15:15:24 -05:00
8acc653b5b Attempted to make cache system thread compatible. 2020-04-24 15:12:32 -05:00
88c645e2a5 Some value changes.
Largely untested.
2020-04-24 00:02:11 -05:00
1b5a03d72a Added value caching to world mapper.
Largely untested.
2020-04-24 00:01:03 -05:00
be19db1f9b Separated node class from DFS class. 2020-04-23 23:07:49 -05:00
de3b3a614a Changed DFS order of operation. 2020-04-23 21:16:43 -05:00
e45d642791 Added and changed server scripts.
tasks.json updated accordingly.

Also added a convenience normal start script.
2020-04-23 21:14:18 -05:00
cbe8c30ece Added local_tools folder to .gitignore. 2020-04-23 20:17:57 -05:00
cd864c4d8b Removed old start script. 2020-04-23 20:16:37 -05:00
e50a983b25 Added simple caching system. 2020-04-23 20:15:45 -05:00
5ffea1aa08 DFS max limit check change. 2020-04-23 11:51:54 -05:00
74f5d25dbc Changed furthest island adaption search to 2048 blocks. 2020-04-23 00:02:14 -05:00
e936dff934 Fixed logical fallacies for world mapper.
Method name changed (refactor) as well.
2020-04-23 00:01:35 -05:00
b1699f8f69 Untracked crash logs. 2020-04-22 22:24:02 -05:00
421af33658 Changed test-server scripts and reconfigured tasks.
VSCode task output and cleanup config changed.

Added some more verbosity to scripts.
2020-04-22 21:16:43 -05:00
7d07332ef5 World mapper and biome generator reworked;
World mapper now produces normalized values.

The world height shader uses the values to decide on heights.

The current biome generator was reworked (untested).

Also renamed (refactoring) the mapper.
2020-04-22 21:15:37 -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
44c6880e07 Added a maximum node count to DFS. 2020-04-22 18:40:17 -05:00
39b5d0e778 Added map file reading to the DFS test. 2020-04-22 17:51:11 -05:00
fd41eff3a0 Minor change in how the commands are executed. 2020-04-22 17:50:36 -05:00
c8715e3dbb DFS target finding will now prioritize user given end node.
Meaning if the general area of the target is known, DFS can use it.
2020-04-22 17:50:19 -05:00
690abbdbe0 Changed script to show running window.
Also added various checks for terminating process.
2020-04-22 03:39:19 -05:00