aboutsummaryrefslogtreecommitdiff
path: root/src/client/tile.cpp
AgeCommit message (Collapse)Author
2017-01-23Add hardware node coloring. Includes:Dániel Juhász
- Increase ContentFeatures serialization version - Color property and palettes for nodes - paramtype2 = "color", "colored facedir" or "colored wallmounted"
2017-01-02Added "[sheet" to the texture special commands.Luke Puchner-Hardman
"[sheet:WxH:X,Y" assumes the base image is a tilesheet with W*H tiles on it and crops to the tile at position X,Y. Basically it works like "[verticalframe" but in 2D. For testing, I combined the four default_chest images into one.
2016-12-26Irrlicht 1.9 supportsfan5
2016-09-15Add an [invert:<mode> texture modifierThomas--S
Inverts the given channels of the base image. Mode may contain the characters "r", "g", "b", "a". Only the channels that are mentioned in the mode string will be inverted.
2016-09-14Allow escaping of texture names when passed as an argument to a modifiersfan5
2016-08-12Add an [opacity:<r> texture modifier. Makes the base image transparent ↵Thomas--S
according to the given ratio. r must be between 0 and 255. 0 means totally transparent. 255 means totally opaque. Useful for texture overlaying.
2016-05-09Add [resize texture modifier Resizes the texture to the given dimensions.SmallJoker
2016-04-25tile.cpp: Automatically upscale lower resolution textureSmallJoker
2016-04-07Re-add and disable blit_with_interpolate_overlaykwolekr
2016-04-06Fix compiler warnings from "Add an option to colorize to respect the ↵Samuel Sieb
destination alpha" Fix warnings added by commit 01ae43c48009f816f4649fae2f7f6997452aa6cf Fixes #3952
2016-04-03Add an option to colorize to respect the destination alphaSamuel Sieb
Also, rework the colorizing code to be more efficient.
2016-03-19Clean up StrfndShadowNinja
Changes: * Fix indentation. * Pass strings by const reference. * Merge Strfnd and WStrfnd into one class instead of copying them. * Remove trailing spaces. * Fix variable names. * Move to util. * Other miscellaneous style fixes.
2015-10-16Refactor thread utility interfacekwolekr
- Add "thr_" prefix to thread utility functions - Compare threadid_ts in a portable manner, where possible
2015-08-25Change i++ to ++iDavid Jones
2015-08-23Clean up threadingShadowNinja
* Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test.
2015-08-20Remove use of engine sent texture tiling flags - theyre no longer neededRealBadAngel
2015-08-02src/client/tile.cpp: Fix reference countingBřetislav Štec
2015-07-21Add wielded (and CAOs) shaderRealBadAngel
2015-07-16Fix relief mapping issuesRealBadAngel
2015-06-27Add minimap featureRealBadAngel
2015-04-26Fix fast leaves with texture_clean_transparent enabled.Aaron Suen
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2015-04-01Clean scaling pre-filter for formspec/HUD.Aaron Suen
2015-03-31Move texture_min_size even further down the pipe. Now, textures are ↵Aaron Suen
JIT-upscaled using an image transformation, right at the time they're added to a mesh or particle; images used in 2D elements are left unscaled. This should fix any remaining issues with HUD elements.
2015-03-23Fix for sun/moon tonemaps: don't upscale 1px images.Aaron Suen
2015-03-22Fix composite textures with texture_min_size. Moved upscaling of textures to ↵Aaron Suen
later in the process, when images are converted to textures, instead of right after image load, so the original image is unmodified for generateImagePart.
2015-03-20Configurable automatic texture scaling and filtering at load time.Aaron Suen
Signed off by: Zeno, kwolekr
2015-03-07For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins
NDEBUG is defined), replace those usages with persistent alternatives
2015-03-05Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵Loic Blot
tile.hpp to src/client/