Ciaran Gultnieks
879bf6a6be
Don't corrupt stepheight when setting other properties
2014-11-26 20:02:48 +01:00
Kahrl
ee0a70ff80
Wield: always obey anisotropic_filter setting, not just for hi res textures
2014-11-26 19:54:04 +01:00
Kahrl
41ae053ce8
EMF_USE_MIP_MAPS was introduced in Irrlicht 1.8, don't use in 1.7.3 or below
...
This is not optimal as it will cause minor graphical glitches for
Irrlicht 1.7 users, but at least it fixes the build.
2014-11-26 19:17:50 +01:00
Sokomine
34daa9f25e
added enable_build_where_you_stand option
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-27 01:07:11 +10:00
Kahrl
e0516491ee
Wieldmesh: don't force anisotropic filtering on, instead disable mipmaps
...
This should fix #1844 . Thanks to oleastre for making the first version
of this commit (#1848 ).
2014-11-26 15:17:17 +01:00
Craig Davison
f7c264cec7
Fix some undeclared global variables
2014-11-26 22:50:08 +10:00
rubenwardy
4d24b3d54d
Only set the camera update keymap when using a debug build
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26 21:53:01 +10:00
Kodexky
1cfa499e89
Fix Android main menu crash, and user data directory check.
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26 18:11:08 +10:00
Calinou
34eca4c0bb
Increase step smoothing to fit 1:1 stairs (works well on slabs too)
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26 17:28:02 +10:00
Craig Robbins
cc53cc316c
Fix client "double saving" simple singleplayer local maps
2014-11-26 00:49:54 +10:00
KodexKy
a176874dd9
Fixes for Android build errors. Enable sensor landscape rotation.
...
Fix typo in Android Makefile ndk path.
Fix touchscreen parts of game.cpp to work after Zeno's refactor.
Fix isdigit and isspace overload conflict with Android Irrlicht in string.h
Enable sensor landscape rotation in Android Manifiest.
Add mapgen v5 to Android build.
Fix Makefile not checking leveldb.
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-25 13:28:51 +10:00
dvere
4e0dc35971
Adjust the values of dirs1 and dirs2 so that rotate_and_place orients textures correctly
...
According to doc/lua_api.txt if paramtype2 == "facedir" the two least significant bits of parm2 orient the texture around the axis. For dirs1 (looking at a wall) these would be 0, 1, 2, 3 and for dirs2 (looking at the ceiling) 2, 1, 0, 3
2014-11-25 12:44:47 +10:00
ShadowNinja
cc2855e59b
Make duplicate warning checks file and line specific
2014-11-23 16:34:49 -05:00
sapier
6a043635dc
Fix console spaming by debug function on mod checking for global variable to exist.
2014-11-23 15:24:37 +01:00
RealBadAngel
a1b22f2377
Port createForsythOptimizedMesh from Irrlicht 1.8
...
Mesh rotation helpers.
2014-11-23 00:51:08 +01:00
Craig Robbins
56bb048150
Fix regression with USE_REDIS (refactor_main)
2014-11-23 01:12:25 +10:00
Craig Robbins
3471011165
refactor main.cpp
2014-11-23 00:27:02 +10:00
Craig Robbins
26b19607d9
Fix smooth lighting (ambient occlusion)
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-22 21:58:00 +10:00
Pavel Puchkin
2cb61120aa
Fix compiling if no endian.h found
...
f7d6509 introduces error when no endian.h found in the system.
Since "CHECK_INCLUDE_FILE" returns empty string instead of "0", when
"cmake_config.h" is generated it has "#define CMAKE_HAVE_ENDIAN_H " line.
Later we have "#define HAVE_ENDIAN_H CMAKE_HAVE_ENDIAN_H" in the
"config.h", an thus "HAVE_ENDIAN_H" is also empty sting. Because of
this, "#if HAVE_ENDIAN_H" is incorrect preprocessor directive.
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-22 21:56:38 +10:00
ShadowNinja
27a7170c55
Update credits menu
2014-11-21 11:35:29 -05:00
Rafael Reilova
55e0686e6d
serialize.h: use machine native byte swapping if available, fall-back to previous generic method if not (supported for GCC using endian.h, detection done in cmake) write/readARGB8() - just write 32-bit color in one op, instead of 4 1-byte ops cleanup: removed unneeded buffer init for some serialize-out functions use a #define for the fixed point factor in read/writeF1000()
...
nodemetadata.cpp, nodetimer.cpp
optimzation: simpler deserialize node position method
staticobject.cpp:
cleanup: use util/serialize.h inlines instead of its own de/serialization
serialize.cpp:
minor optimization/cleanup: avoid generation of unneeded string temporary
CMakeLists.txt, cmake_config.h.in: detection of endian.h
config.h: added HAVE_ENDIAN_H
Commits due to feedback squashed
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-21 22:33:48 +10:00
Craig Robbins
47d1207aa8
Optimise functions from CNodeDefManager and VoxelManipulator
...
CNodeDefManager::get()
VoxelManipulator::addArea()
2014-11-21 14:56:45 +10:00
Craig Robbins
680a729b90
Optimise getTileInfo()
...
getTileInfo() ~1.5x faster
getSmoothLight ~2.0x faster
2014-11-21 14:56:45 +10:00
paramat
56e9c09049
Mgv5 1 up 1 down overgeneration for biome surface continuity
2014-11-20 23:13:09 -05:00
paramat
d2891780ad
Mgv5 get ground level at point function. Fast spawn player version
2014-11-20 21:07:20 -05:00
ShadowNinja
05ef9bdc68
Simplify loading of Android version of menu
2014-11-20 15:37:20 -05:00
ShadowNinja
e8e55d629b
Fix leaking global in texture pack menu
2014-11-20 15:37:20 -05: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
416c5c8339
Clean up rollback
2014-11-19 16:21:59 -05:00
ShadowNinja
7474ee6393
Fix wallmounted mesh rotations
2014-11-19 16:17:54 -05:00
ShadowNinja
4b3c14a9d2
Add strict module
...
Also fix leaking globals found by it.
2014-11-19 12:40:54 -05:00
ShadowNinja
6ffe52db17
Tweak core.serialize
...
This adds proper support for nested tables and improves performance a bit.
2014-11-19 12:40:54 -05:00
sfan5
120a177e08
Add (optional) client-side saving of server map to disk
2014-11-19 15:11:23 +01:00
ShadowNinja
eb35b078e9
Fix Belarusian translation header
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-19 22:31:57 +10:00
ShadowNinja
86e111183a
Add gettext to Travis build
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-19 22:31:57 +10:00
Kahrl
704fb76af5
Remove unused rangelim function (the macro still exists)
2014-11-19 10:19:52 +01:00
SmallJoker
cffe30ca7d
Fix indonesian language errors
...
Errors found by @Sokomine .
2014-11-18 15:17:46 -05:00
srifqi
df4bf8e7f7
Update Indonesian Language
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-18 20:39:48 +10:00
Craig Robbins
9815c28e83
Fix double free bug when server is shut down
...
Thanks @oleastre
2014-11-15 22:33:52 +10:00
kwolekr
3951a0dae3
Fix NoisePerlin3DEased return value
2014-11-14 21:19:46 -05:00
kwolekr
2d1dd941b7
Fix warnings and other misc. minor changes
2014-11-14 03:07:12 -05:00
Craig Robbins
aacc3cba46
Remove most exceptions from getNode() (and variants)
2014-11-14 18:05:34 +10:00
Wouters Dorian
f20441e849
Improved VoxelArea variable locality, thus performance
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-14 00:10:09 +10:00
SmallJoker
d3141906d2
Add option 'eased' to NoiseParams
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-13 23:06:38 +10:00
kwolekr
e3d17f97bf
Fix compilation under some Linux distributions
2014-11-13 00:16:37 -05:00
kwolekr
22e7b35567
Mapgen v7: Fix uninitialized spflags
...
Mapgen v5: Fix minor style issue
2014-11-12 23:58:50 -05:00
kwolekr
95a8b03898
Add eased 3d point-value noise functions
2014-11-12 23:49:45 -05:00
kwolekr
bb5f0e46bd
Add Generator Element Management framework
...
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
2014-11-12 23:02:41 -05:00
RealBadAngel
d8dca384dd
Wielded fixes. Add shaders support.
2014-11-13 03:51:04 +01:00
Craig Robbins
2008caa5c7
Fix profiler values not being updated (F6) and not being logged
2014-11-11 20:58:57 +10:00