Commit Graph

79 Commits

Author SHA1 Message Date
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
James Seibel e116047bc8 Add the Lod object and supporting objects 2020-09-25 09:09:43 -05:00
James Seibel 73592971d3 Improve fog distance and have it change between fast and fancy modes 2020-09-21 10:46:36 -05:00
James Seibel 23f0f2662a Move everything relating to optifine's config into OfConfig
Have the fog type change based on what optifine's in game setting is.
Change 2 minor TODOs.
2020-09-21 09:45:35 -05:00
James Seibel c74b9f74d9 Get the player's FOV from the EntityRenderer through reflection, improve a few comments 2020-09-18 22:39:19 -05:00
James Seibel d1300e0509 Comment out broken code 2020-09-18 22:18:47 -05:00
James Seibel 72a912dcb5 Get the current FOV directly from the entityRender through reflection 2020-09-17 22:26:24 -05:00
James Seibel af606c4317 Rename OfConfig to OfConfigReflector 2020-09-17 22:22:48 -05:00
James Seibel e8f2991ba2 Add the ability to access optifine's settings 2020-09-14 08:21:02 -05:00
James Seibel c62f8b18ef Supress some 'unused' warnings 2020-09-12 22:31:20 -05:00
James Seibel 2161b5c9c3 Improve how optifine is linked into eclipse 2020-09-12 22:30:53 -05:00
James Seibel f158c5afcc Update gitignore to add the run mod folder 2020-09-12 16:10:28 -05:00
James Seibel 9c4ec1fe49 Add the required mods to the 'run' folder 2020-09-12 16:06:48 -05:00
James Seibel ff9240145e Add the deobfuscated version of optifine 2020-09-12 15:49:03 -05:00
James Seibel 4328b336c9 Add tools for understanding and using optifine 2020-09-12 15:46:09 -05:00
James Seibel 31381d5b2e Minor comment change 2020-09-12 13:46:50 -05:00
James Seibel 6e0c9e133b Improve rendering
specifically: improve rendering closer to the actual view frustum and don't render overtop of the currently loaded chunks
2020-09-03 22:53:48 -05:00
James Seibel 6e4898e531 Add debugging comments 2020-09-03 22:52:43 -05:00
James Seibel 76093af626 Add a todo comment 2020-09-03 22:51:21 -05:00
James Seibel 4a7453bfc4 Add a comment 2020-09-03 10:51:48 -05:00
James Seibel 4614ff2a4a Improve export 2020-09-03 08:59:55 -05:00
James Seibel 54b330399f Improve install instructions 2020-09-03 08:59:40 -05:00
James Seibel 614369b613 move a profiler to a better place 2020-09-02 22:12:27 -05:00
James Seibel 17e2efc3d1 Improve method order 2020-09-02 22:09:09 -05:00
James Seibel 593a437dd4 Improve lod fog commenting, remove unneeded methods, and disable fog for testing 2020-09-02 22:07:47 -05:00
James Seibel bb97296c5f re-add the default game fog 2020-09-02 16:17:33 -05:00
James Seibel ad1ced351d Add comments for future use 2020-09-02 16:17:17 -05:00
James Seibel 59be4c2654 Add the ability for the LODs to have two different levels of fog 2020-09-02 15:51:17 -05:00