99 Commits

Author SHA1 Message Date
Craig Robbins
27791ee1aa For usages of assert() that are meant to persist in Release builds (when NDEBUG is defined), replace those usages with persistent alternatives 2015-03-07 22:41:47 +10:00
BlockMen
08d843e1c2 Improve group-based connection between raillike nodes 2015-03-05 23:24:32 +01:00
Loic Blot
188c15c3d8 Replace std::list to std::vector into tile.cpp (m_texture_trash) and move tile.hpp to src/client/ 2015-03-05 11:59:40 +01:00
BlockMen
6901d26cf8 Fix some rendering glitches
- Fixes particle draworder
- Fixes nodehighlighting
2015-03-05 10:51:18 +01:00
Kahrl
5a6cc7ded0 Fix NDT_GLASSLIKE normals
Remove inventorycube() workaround for default:glass in minimal game
2015-01-31 03:06:34 +10:00
Vanessa Ezekowitz
e221b9da2e Fix visual_scale for plantlike nodes (again)
fixes #1989

move the plant to the bottom of its node properly, without affecting its scale.  See isue #1989
2014-12-19 12:25:32 +10:00
Craig Robbins
08d1ef1d13 Fix visual_scale for NDT_PLANTLIKE being set too small 2014-12-18 20:28:14 +10:00
Kodexky
979a12e8c0 Fix raillike bug (currently manifests itself on Android), and minor improvement to readability.
NB: Minor edits to patch made by Zeno- (int to short and minor formatting)
2014-11-20 15:41:59 +10:00
ShadowNinja
7474ee6393 Fix wallmounted mesh rotations 2014-11-19 16:17:54 -05:00
RealBadAngel
b015b62dad Add option to enable mesh caching, add wallmounted for meshes. 2014-10-29 08:37:33 +01:00
RealBadAngel
73bad35cbc Fix broken plantlike drawtype. 2014-10-22 21:15:31 +02:00
RealBadAngel
8ddf8a4022 Recalculate normals for cached meshes.
Check if mesh is here before adding to meshcollector.

Fix deleting the meshes.
2014-10-21 18:43:29 +02:00
Craig Robbins
df5491d040 Various uninitialised variable fixes
sky.cpp: m_bgcolor.getAlpha() was being used before initialised

mesh related: m_highlight_mesh_color was being used uninitialised
2014-10-19 15:33:08 +02:00
RealBadAngel
1c09928344 Add meshnode drawtype. 2014-10-18 16:42:23 +02:00
BlockMen
e25777936f Add optional framed glasslike drawtype 2014-10-02 11:35:15 +02:00
TriBlade9
2d6eb3d2f3 Add firelike drawtype 2014-09-21 15:50:27 -04:00
ShadowNinja
dbf9e444b1 Split settings into seperate source and header files
This also cleans up settings a bit
2014-09-21 14:39:35 -04:00
RealBadAngel
69976d8f65 Bugfix: don't highlight air nodes. 2014-09-18 09:56:27 +02:00
RealBadAngel
61b86590fc Node highlighting. 2014-09-17 22:06:13 +02:00
RealBadAngel
2b4ddb217a Pass light sources in blue channel of vertex color instead of decoded light for all special drawtypes.
Plus some style fixes and optimizations.
2014-08-21 23:28:01 +02:00
RealBadAngel
b4a7bd68db Dont display interior of glasslike_framed node when its not defined.
Fixes https://github.com/minetest/minetest/issues/1514
2014-07-24 20:58:08 +02:00
RealBadAngel
d4105c18f4 Allow full circle rotation with 2degs step for plantlike drawtype. 2014-07-24 20:02:20 +02:00
RealBadAngel
4234e15116 Add rotation for plantlike drawtype. 2014-07-22 00:32:03 +02:00
RealBadAngel
453f1bae77 Bugfix in makeCuboid - apply rotations to all faces when 1 tile is given. 2014-07-20 16:22:48 +02:00
RealBadAngel
d03f38ed73 Fix texture glitches for plants with visual scale > 1.0 (jungle grass). 2014-07-17 14:10:23 +02:00
RealBadAngel
f8d077559c Fix texture hack in fences. 2014-07-17 13:37:18 +02:00
sapier
e2bc0d1dd8 Fix flipped textures for drawtype "glasslike" 2014-07-16 16:37:41 +02:00
RealBadAngel
5bcfda0dea Glasslike_framed drawtype rework. 2014-06-29 17:50:37 +02:00
sapier
4b548c6c2c Pass pointer to nodedef directly to avoid recalculation in quite often called function 2014-04-06 10:32:57 +02:00
PilzAdam
fd0b6ac837 Fix liquid_range
* Prevent graphical glitches on old servers
* Fix flowing of liquids with viscosity != 1 and range != 8
* Fix range = 0, no flowing nodes will appear
2013-11-02 15:47:44 +01:00
Sokomine
d7fc2a18b2 Add support for parameter 'visual_scale' for drawtypes 'signlike' and 'torchlike' like used for drawtype 'plantlike' 2013-10-14 21:38:56 +03:00
Kahrl
dd3b264302 Diagonal liquid animation 2013-08-17 01:00:36 +02:00
PilzAdam
6f29410895 Add liquid_range to nodedef 2013-07-20 20:41:17 +02:00
Kahrl
46340cbbe0 Remove texture atlas / AtlasPointer, rename getTextureRaw to getTexture 2013-07-02 03:03:10 +02:00
Jeija
804b298738 Make raillike nodes connect to any other raillike nodes if both are in the group connect_to_raillike 2013-05-22 15:08:24 +02:00
RealBadAngel
1fcf9cc367 Add new drawtype GLASSLIKE_FRAMED 2013-04-24 21:45:18 -04:00
RealBadAngel
4a390e8696 6d facedir 2013-03-23 21:31:05 +01:00
PilzAdam
01173e6de6 Fix new_style_water 2013-03-17 11:28:43 -04:00
proller
1f70fbcdb5 Liquid fine tuning 2013-03-14 17:06:25 -04:00
Ilya Zhuravlev
a12df55f29 Migrate to STL containers/algorithms. 2013-03-11 19:08:39 -04:00
kwolekr
c7f9903b98 Merge pull request #482 from proller/liquid
finite liquid
2013-02-25 20:52:24 -08:00
Sfan5
3fab3825aa Update Copyright Years 2013-02-24 20:15:24 +01:00
PilzAdam
269f01224b Change Minetest-c55 to Minetest 2013-02-24 18:49:03 +01:00
proller
22ec55cd9e new adjustable finite liquid 2013-02-24 18:39:07 +04:00
Jürgen Doser
b8c81cd515 Disable backface culling for drawtype plantlike and only draw 2 faces instead of 4
This way, plants actually show the real backface on their back side,
i.e., the front face mirrored around the vertical axis, instead of
showing the front face on both sides. This looked weird when the
texture was not symmetrical around the vertical axis.
2013-02-10 12:45:25 +01:00
Perttu Ahola
a4ca9f7699 Handle day-night transition in shader and make light sources brighter when shaders are used 2012-12-02 14:24:58 +02:00
Perttu Ahola
eb3ffc8955 Remove unnecessary util/serialize.h from content_mapblock.cpp 2012-11-26 11:56:18 +02:00
Perttu Ahola
bee83c1cd8 Fix flowing liquid animation direction calculation 2012-11-02 18:05:42 +02:00
Perttu Ahola
2ad03149a0 Rotate facedir-rotated top and bottom textures too, and re-implement nodebox side rotation 2012-07-21 20:23:32 +03:00
Perttu Ahola
2e02c44521 Facedir rotation of nodebox textures 2012-07-21 18:59:12 +03:00