Commit Graph

106 Commits

Author SHA1 Message Date
James Seibel fc48e2fbb5 Improve getChunk method 2020-10-25 20:38:44 -05:00
James Seibel dc52b86fcd Remove completed TODOs 2020-10-25 20:28:40 -05:00
James Seibel 84be9ec684 Add the LoadedRegions object 2020-10-25 20:13:30 -05:00
James Seibel bfa4062928 Use the refactored variable names 2020-10-25 20:03:23 -05:00
James Seibel 3bc0c3368c Improve variable names 2020-10-25 19:57:45 -05:00
James Seibel a1abccadd9 Refactor several variables into constants 2020-10-22 12:06:22 -05:00
James Seibel e38b1788a0 Send a single region from the clientProxy to the LodRenderer 2020-10-22 11:53:47 -05:00
James Seibel 9b454748aa Remove unneeded code and improve a few TODOs 2020-10-22 11:27:30 -05:00
James Seibel 5766ca5a9f Improve formating for LodChunk, rename ColorPosition to ColorDirection, and LodPosition to LodLocation 2020-10-17 18:22:30 -05:00
James Seibel 005535fef1 Improve comments 2020-10-17 18:08:39 -05:00
James Seibel f06620b986 Finish generateLodColorSection 2020-10-17 18:06:36 -05:00
James Seibel 48730f9306 Improve comments and update version number 2020-10-17 18:06:04 -05:00
James Seibel 4071862bae Add generateLodChunk to onChunkPopulate 2020-10-17 18:01:12 -05:00
James Seibel c3c2b3233f Improve comments 2020-10-15 11:42:02 -05:00
James Seibel bcf6a9cb7b Finish generateLodColorVertical 2020-10-10 20:34:14 -05:00
James Seibel 1e28b7d544 Merge branch 'master' of gitlab.com:jeseibel/minecraft-lod-mod into master 2020-10-06 13:49:26 -05:00
James Seibel 60cef16a61 improve comment 2020-10-06 13:49:23 -05:00
James Seibel 13e0be73e5 Add generateLodColorVertical (only top works) and testing code 2020-10-06 13:20:16 -05:00
James Seibel 553abf1c75 Improve formating and extract a constant 2020-10-06 11:02:31 -05:00
James Seibel 66febf3e61 Finish the generatreLodColorTop method 2020-10-06 10:52:13 -05:00
James Seibel 1fd8537952 Improve error handling 2020-10-06 10:50:10 -05:00
James Seibel 047a7f941c Add the first step to getting chunk colors 2020-09-29 21:54:30 -05:00
James Seibel b93effaa57 Improve comments and add TODO comments 2020-09-28 22:21:50 -05:00
James Seibel 25f942b4c7 prevent saving null data and add todo code for later 2020-09-28 22:11:29 -05:00
James Seibel be92f7063a Set up Lods to be saved to disk 2020-09-28 22:10:56 -05:00
James Seibel ccb5ab9458 Improve toString 2020-09-28 20:33:08 -05:00
James Seibel 73a038d1b5 remove unneeded float division and fix 2 variables being set incorrectly 2020-09-28 20:20:42 -05:00
James Seibel 5fd6d9fcec change x and z to be public final instead of private with getters 2020-09-28 20:17:39 -05:00
James Seibel 6f1bbe52b1 Prevent null pointer errors when using toString on an new lodChunk 2020-09-28 13:44:10 -05:00
James Seibel a86c48d06d set up file writer 2020-09-28 13:42:57 -05:00
James Seibel e4bb777b1f add debug code 2020-09-28 13:41:16 -05:00
James Seibel cd8a6cf127 update version number 2020-09-28 13:05:35 -05:00
James Seibel f12a7c5ce0 Improve toData 2020-09-28 13:05:13 -05:00
James Seibel 69ab05f01f Update version 2020-09-28 13:04:33 -05:00
James Seibel 1a13534142 Set up the file reader 2020-09-28 13:04:06 -05:00
James Seibel 5f3d9b808a Add a constructor for LodChunk that takes in a data String, improve the toData method 2020-09-28 12:23:03 -05:00
James Seibel 7816a2d7b5 Begin file handling 2020-09-28 10:56:51 -05:00
James Seibel 7d50360147 Minor debug change 2020-09-27 22:19:02 -05:00
James Seibel f556987cbd Add X and Z variables, improve toString and toData methods 2020-09-27 22:18:41 -05:00
James Seibel c5ad8b70e3 Create the start of the RegionFileHandler 2020-09-27 10:16:01 -05:00
James Seibel c7b35c825d Slightly change debug code 2020-09-27 10:15:42 -05:00
James Seibel 5d2e426089 Move a variable decleration 2020-09-27 10:15:09 -05:00
James Seibel 7f049e8bf2 Update version date 2020-09-27 09:35:13 -05:00
James Seibel 6dfd8eff32 Remove unneeded constant 2020-09-27 09:34:13 -05:00
James Seibel b59b606ab3 Fix index out of bound exception, improve comments, fix a few block count constants, add debug code 2020-09-27 09:27:51 -05:00
James Seibel 36a72bb65a Add lod chunk generation and remove Vec3 from LodChunk
Vec3 was removed since LodChunks now only remember the height of the top and bottom instead of the x and z location of each point.
2020-09-26 21:22:01 -05:00
James Seibel c9bc3f78f4 Add reference comments 2020-09-25 10:05:25 -05:00
James Seibel dfe55f197c Separate the color and positional enums 2020-09-25 10:00:52 -05:00
James Seibel c24aa354b2 Add a default constructor 2020-09-25 09:41:10 -05:00
James Seibel 3cd9a4f0b7 Add missing x and z coordinates to lodChunk 2020-09-25 09:17:47 -05:00