Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Overhaul endian handling in ByteBuffer and FastNBT (#5543) | Ash | 2024-11-03 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | * Overhaul endian handling in ByteBuffer and FastNBT Rather than juggling "swapped" and "unswapped" versions of integers, different library functions, #defines, etc., simply always read everything byte-by-byte. This works regardless of host CPU endian, got optimised down to either a normal load or a byteswap on every compiler I tested - only 1 instruction on most CPU architectures. This commit introduces a "Bytes" array type to keep endian-sensitive data seperate from host data, alongside the needed C++ template machinery for it to work seamlessly. This approach is a little bit safer as well since you get length- and type-checking for most callsites. * Remove remaining references to old-style endianness conversion, remove functions themselves. --------- Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) | KingCol13 | 2020-09-25 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h. | ||||
* | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2020-05-16 | 1 | -5/+0 |
| | | | * Make our CMake slightly less insane | ||||
* | Cleanup unneeded globals (#4736) | peterbell10 | 2020-05-10 | 1 | -85/+0 |
| | |||||
* | Remove old Android leftovers (#4722) | Mat | 2020-05-07 | 1 | -6/+0 |
| | |||||
* | Fix style of Tools | Alexander Lyons Harkness | 2017-12-24 | 2 | -30/+27 |
| | |||||
* | Removed offending tr1 references. | Alexander Harkness | 2015-12-22 | 1 | -18/+2 |
| | |||||
* | Changing the shared_ptr/unique_ptr constructors to the make_shared/make_unique functions | bibo38 | 2015-07-12 | 1 | -4/+4 |
| | |||||
* | QtBiomeVisualiser: Fixed compilation and INI loading. | Mattes D | 2015-03-28 | 3 | -6/+13 |
| | |||||
* | Fixed QtBiomeVisualiser compilation. | Mattes D | 2014-11-29 | 1 | -2/+17 |
| | |||||
* | QtBiomeVisualiser: Fixed default zoom selection. | Mattes D | 2014-10-31 | 1 | -5/+1 |
| | |||||
* | QtBiomeVisualiser: Set start zoom to 25%, just like AMIDST. | Mattes D | 2014-10-30 | 1 | -1/+3 |
| | |||||
* | QtBiomeVisualiser: Added a prototyping int generator flavor. | Mattes D | 2014-10-30 | 2 | -0/+3 |
| | | | | This generator is easier to manipulate, since it doesn't require rewriting the sizes in the template parameters. On the other hand, it doesn't optimize so well, so it's a bit slower. | ||||
* | Merge remote-tracking branch 'origin/master' into GrownBiomes | Mattes D | 2014-10-30 | 2 | -9/+72 |
|\ | |||||
| * | QtBiomeVisualiser: Generator uses all machine threads. | Mattes D | 2014-10-29 | 2 | -9/+72 |
| | | | | | | | | The previous limit of 1 thread was lifted, now the generator source runs on all CPU threads available. | ||||
* | | Merged branch 'master' into GrownBiomes. | Mattes D | 2014-10-28 | 17 | -437/+598 |
|\| | |||||
| * | QtBiomeVisualiser: Added quick shutdown to region loaders. | Mattes D | 2014-10-28 | 3 | -1/+18 |
| | | | | | | | | Now the app shuts down immediately even if regions are queued for loading. | ||||
| * | QtBiomeVisualiser: Fixed mouse zoom vs menu zoom. | Mattes D | 2014-10-28 | 1 | -1/+2 |
| | | |||||
| * | QtBiomeVisualiser: Reduced memory usage. | Mattes D | 2014-10-28 | 4 | -182/+156 |
| | | |||||
| * | QtBiomeVisualiser: Fixed random regions not rendered. | Mattes D | 2014-10-28 | 2 | -0/+4 |
| | | |||||
| * | Merged remote-tracking branch 'origin/master'. | Mattes D | 2014-10-28 | 1 | -1/+1 |
| |\ | |||||
| | * | QtBiomeVisualiser: Fixed compilation on Linux. | Mattes D | 2014-10-28 | 4 | -5/+14 |
| | | | |||||
| * | | QtBiomeVisualiser: Attempt at fixing Linux compilation. | Mattes D | 2014-10-28 | 1 | -1/+1 |
| | | | |||||
| * | | QtBiomeVisualiser: Switched caching to entire regions. | Mattes D | 2014-10-27 | 15 | -249/+409 |
| |/ | | | | | | | This speeds up the rendering preparation for small zooms. | ||||
* / | Added new biomegen: Grown | Mattes D | 2014-10-26 | 2 | -67/+69 |
|/ | |||||
* | QtBiomeVisualiser: Moved the IniFile lib. | Mattes D | 2014-10-23 | 4 | -5/+5 |
| | |||||
* | Generator: Rewritten to use SharedPtrs. | Mattes D | 2014-10-19 | 3 | -4/+4 |
| | |||||
* | QtBiomeVisualiser: Added mouse hover info. | Mattes D | 2014-10-03 | 7 | -147/+228 |
| | |||||
* | QtBiomeVisualiser: Zoom is now limited and aligned to steps. | madmaxoft | 2014-10-03 | 4 | -59/+169 |
| | |||||
* | QtBiomeVisualiser: Seed is read properly. | madmaxoft | 2014-09-29 | 2 | -9/+8 |
| | |||||
* | QtBiomeVisualiser: fixed compilation. | madmaxoft | 2014-09-27 | 1 | -1/+10 |
| | |||||
* | QtBiomeVisualiser: Fixed MSVC path-crossing. | madmaxoft | 2014-09-24 | 7 | -10/+15 |
| | | | | MSVC would occasionally compile the wrong CPP file - the same name, but wrong path. | ||||
* | QtBiomeVisualiser: Fixed confusion about Globals.h. | madmaxoft | 2014-09-23 | 5 | -21/+21 |
| | |||||
* | QtBiomeVisualiser: Implemented live-update for the generator setup. | madmaxoft | 2014-09-22 | 5 | -17/+49 |
| | |||||
* | QtBiomeVisualiser: generator source is read from generator setup ini. | madmaxoft | 2014-09-22 | 3 | -16/+13 |
| | |||||
* | QtBiomeVisualiser: Moved the generator setup into a side-pane. | madmaxoft | 2014-09-22 | 5 | -39/+96 |
| | |||||
* | QtBiomeVisualiser: Added the base for INI editting. | madmaxoft | 2014-09-21 | 5 | -20/+266 |
| | |||||
* | QtBiomeVisualiser: Added list of vanilla worlds. | madmaxoft | 2014-09-20 | 2 | -7/+145 |
| | |||||
* | QtBiomeVisualiser: Added support for loading Anvil worlds. | madmaxoft | 2014-09-20 | 4 | -5/+320 |
| | |||||
* | QtBiomeVisualiser: More gcc fixes. | madmaxoft | 2014-09-18 | 1 | -2/+2 |
| | |||||
* | QtBiomeVisualiser: Fixed linux compilation. | madmaxoft | 2014-09-18 | 5 | -0/+6 |
| | |||||
* | QtBiomeVisualiser: Fixed colors and read failures. | madmaxoft | 2014-09-15 | 1 | -6/+5 |
| | |||||
* | QtBiomeVisualiser: Added reloading. | Mattes D | 2014-09-15 | 6 | -4/+49 |
| | |||||
* | QtBiomeVisualiser: removed multithreading. | Mattes D | 2014-09-15 | 2 | -65/+10 |
| | | | | It was slowing things down, the granularity is too fine. | ||||
* | QtBiomeVisualiser: Added multithreading. | Mattes D | 2014-09-15 | 3 | -23/+102 |
| | | | | For some reason this makes the UI less responsive. | ||||
* | QtBiomeVisualiser: Extended zoom down below 100%. | Mattes D | 2014-09-14 | 2 | -16/+80 |
| | |||||
* | QtBiomeVisualiser: Added mouse and keyboard view control. | Mattes D | 2014-09-14 | 2 | -4/+137 |
| | | | | Mouse dragging or WASD pans view, mouse wheel or QE zooms. | ||||
* | QtBiomeVisualiser: Removed build-specific variables. | Mattes D | 2014-09-14 | 1 | -3/+0 |
| | | | | These should be set in the project configuration instead, passed directly to qmake. | ||||
* | Added new Qt-based biome visualiser. | Mattes D | 2014-09-14 | 16 | -0/+1481 |
Compile with Qt 5.1+ |