summaryrefslogtreecommitdiffstats
path: root/Tools/QtBiomeVisualiser (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul endian handling in ByteBuffer and FastNBT (#5543)Ash2024-11-031-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)KingCol132020-09-251-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 Wang2020-05-161-5/+0
| | | * Make our CMake slightly less insane
* Cleanup unneeded globals (#4736)peterbell102020-05-101-85/+0
|
* Remove old Android leftovers (#4722)Mat2020-05-071-6/+0
|
* Fix style of ToolsAlexander Lyons Harkness2017-12-242-30/+27
|
* Removed offending tr1 references.Alexander Harkness2015-12-221-18/+2
|
* Changing the shared_ptr/unique_ptr constructors to the make_shared/make_unique functionsbibo382015-07-121-4/+4
|
* QtBiomeVisualiser: Fixed compilation and INI loading.Mattes D2015-03-283-6/+13
|
* Fixed QtBiomeVisualiser compilation.Mattes D2014-11-291-2/+17
|
* QtBiomeVisualiser: Fixed default zoom selection.Mattes D2014-10-311-5/+1
|
* QtBiomeVisualiser: Set start zoom to 25%, just like AMIDST.Mattes D2014-10-301-1/+3
|
* QtBiomeVisualiser: Added a prototyping int generator flavor.Mattes D2014-10-302-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 GrownBiomesMattes D2014-10-302-9/+72
|\
| * QtBiomeVisualiser: Generator uses all machine threads.Mattes D2014-10-292-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 D2014-10-2817-437/+598
|\|
| * QtBiomeVisualiser: Added quick shutdown to region loaders.Mattes D2014-10-283-1/+18
| | | | | | | | Now the app shuts down immediately even if regions are queued for loading.
| * QtBiomeVisualiser: Fixed mouse zoom vs menu zoom.Mattes D2014-10-281-1/+2
| |
| * QtBiomeVisualiser: Reduced memory usage.Mattes D2014-10-284-182/+156
| |
| * QtBiomeVisualiser: Fixed random regions not rendered.Mattes D2014-10-282-0/+4
| |
| * Merged remote-tracking branch 'origin/master'.Mattes D2014-10-281-1/+1
| |\
| | * QtBiomeVisualiser: Fixed compilation on Linux.Mattes D2014-10-284-5/+14
| | |
| * | QtBiomeVisualiser: Attempt at fixing Linux compilation.Mattes D2014-10-281-1/+1
| | |
| * | QtBiomeVisualiser: Switched caching to entire regions.Mattes D2014-10-2715-249/+409
| |/ | | | | | | This speeds up the rendering preparation for small zooms.
* / Added new biomegen: GrownMattes D2014-10-262-67/+69
|/
* QtBiomeVisualiser: Moved the IniFile lib.Mattes D2014-10-234-5/+5
|
* Generator: Rewritten to use SharedPtrs.Mattes D2014-10-193-4/+4
|
* QtBiomeVisualiser: Added mouse hover info.Mattes D2014-10-037-147/+228
|
* QtBiomeVisualiser: Zoom is now limited and aligned to steps.madmaxoft2014-10-034-59/+169
|
* QtBiomeVisualiser: Seed is read properly.madmaxoft2014-09-292-9/+8
|
* QtBiomeVisualiser: fixed compilation.madmaxoft2014-09-271-1/+10
|
* QtBiomeVisualiser: Fixed MSVC path-crossing.madmaxoft2014-09-247-10/+15
| | | | MSVC would occasionally compile the wrong CPP file - the same name, but wrong path.
* QtBiomeVisualiser: Fixed confusion about Globals.h.madmaxoft2014-09-235-21/+21
|
* QtBiomeVisualiser: Implemented live-update for the generator setup.madmaxoft2014-09-225-17/+49
|
* QtBiomeVisualiser: generator source is read from generator setup ini.madmaxoft2014-09-223-16/+13
|
* QtBiomeVisualiser: Moved the generator setup into a side-pane.madmaxoft2014-09-225-39/+96
|
* QtBiomeVisualiser: Added the base for INI editting.madmaxoft2014-09-215-20/+266
|
* QtBiomeVisualiser: Added list of vanilla worlds.madmaxoft2014-09-202-7/+145
|
* QtBiomeVisualiser: Added support for loading Anvil worlds.madmaxoft2014-09-204-5/+320
|
* QtBiomeVisualiser: More gcc fixes.madmaxoft2014-09-181-2/+2
|
* QtBiomeVisualiser: Fixed linux compilation.madmaxoft2014-09-185-0/+6
|
* QtBiomeVisualiser: Fixed colors and read failures.madmaxoft2014-09-151-6/+5
|
* QtBiomeVisualiser: Added reloading.Mattes D2014-09-156-4/+49
|
* QtBiomeVisualiser: removed multithreading.Mattes D2014-09-152-65/+10
| | | | It was slowing things down, the granularity is too fine.
* QtBiomeVisualiser: Added multithreading.Mattes D2014-09-153-23/+102
| | | | For some reason this makes the UI less responsive.
* QtBiomeVisualiser: Extended zoom down below 100%.Mattes D2014-09-142-16/+80
|
* QtBiomeVisualiser: Added mouse and keyboard view control.Mattes D2014-09-142-4/+137
| | | | Mouse dragging or WASD pans view, mouse wheel or QE zooms.
* QtBiomeVisualiser: Removed build-specific variables.Mattes D2014-09-141-3/+0
| | | | These should be set in the project configuration instead, passed directly to qmake.
* Added new Qt-based biome visualiser.Mattes D2014-09-1416-0/+1481
Compile with Qt 5.1+