3987 Commits

Author SHA1 Message Date
Craig Robbins
0c75879547 Fix bug in debug build
-O1 results in executables that are completely useless for actuall debugging
2015-01-19 00:26:59 +10:00
Kahrl
ce55e98f3f Fix use of uninit data in Sky and (potentially) GUIChatConsole constructors
Clean up nearby code a bit

As a small side effect, it is now possible to add a background texture
to the chat console by simply providing background_chat.jpg, it is no
longer necessary to also add "console_color =" to minetest.conf.
2015-01-18 13:16:01 +01:00
Craig Robbins
4afc9e90e2 Fix particles causing unitialised data being used due to use of incorrect union member 2015-01-18 20:30:57 +10:00
gregorycu
70fec45750 Water fixes
Change must_reflow to a deque
Add overload for MapBlock::raiseModified that takes a const char*. This is a speed improvement.
Comment out unused variable
Optimisations to block offset calculations
2015-01-18 20:30:33 +10:00
Craig Robbins
1c460c3bc3 Create empty default constructor for MapNode 2015-01-18 13:39:50 +10:00
paramat
07a670b33a Mgv7: Replace small pseudorandom caves with 3D noise tunnels. Fewer large caves 2015-01-17 21:57:48 -05:00
sapier
db0626dc84 Fix NodeMetadataList loosing memory on deserialize due to invalid clear map call instead of clear 2015-01-17 19:14:36 +01:00
gregorycu
a2375f5c0a Fix entitiy WieldMeshSceneNode not freed due to additional grab 2015-01-17 19:13:08 +01:00
Craig Robbins
f0e232c944 Make minor style change(unescape_string()) 2015-01-16 21:05:44 +10:00
Loic Blot
2b7ee43678 Fix missing return in Database_Dummy::deleteBlock 2015-01-16 21:00:11 +10:00
Craig Robbins
bc9fad4544 Fix potential out-of-bounds array index 2015-01-16 14:35:57 +10:00
kwolekr
66b0d25786 Add ability to delete MapBlocks from map
Also add a Lua API and chatcommand for this
2015-01-15 16:48:56 -05:00
kwolekr
7f06800dc2 Initialize noise ptr on creation (fixes crash if OreVein deleted before use) 2015-01-15 16:23:04 -05:00
ShadowNinja
768d74a44e Fix unescape_string removing all backslashes 2015-01-15 16:16:41 -05:00
unknown
199a04626d Change UniqueQueue to use a queue and a set. 2015-01-15 21:08:35 +10:00
TriBlade9
79775af10d Added configurable ambient_occlusion_gamma. Default is 2.2 (same as previous hardcoded values). 2015-01-14 23:35:50 +10:00
Craig Robbins
ff71d69f3d Fix use of uninitialized data 2015-01-14 15:43:33 +10:00
onkrot
c91dbf8ad2 Performance fixes. 2015-01-13 23:48:56 +10:00
unknown
71f22b4c5e Add VoxelArea::hasEmptyExtent 2015-01-13 23:24:32 +10:00
kwolekr
ec709f5727 Attempt to fix occasional issue of uninitialized MapBlock data 2015-01-12 22:31:08 -05:00
kwolekr
fac3366ce7 Prevent transform of noise3d result in getBlockSeed2 2015-01-12 15:46:04 -05:00
paramat
119b219889 Mapgen V5: Move cave generation from base terrain loop to optional function
This fixes biome surface in tunnels
2015-01-11 22:35:36 -05:00
sapier
eddf3c1658 Disable sound and key binding settings in "pause" menu on android 2015-01-11 13:58:49 +01:00
sapier
9f6ed5d3b1 Fix invalid stepheight increase calculation on android 2015-01-11 13:57:26 +01:00
sapier
0b900ec79d Increase stepheight on android by 0.5 to smoothen movement 2015-01-11 04:33:42 +01:00
Kahrl
48276275ee Fix clipping rectangle of GUITable row highlight 2015-01-10 19:56:14 +01:00
sfan5
19bd3910f0 Change default font sizes to 14(freetype) and 10(non-freetype) 2015-01-10 18:59:43 +01:00
sfan5
dc629f27d2 Set default value for ENABLE_REDIS to 0 2015-01-10 15:28:25 +01:00
sapier
20472859cd Revert "Switch default scaling factor to 0.75 as most ppl seem to have 96dpi screens instead of previous assumed 72"
which ain't required any longer as fonts are no longer autoadjusted
This reverts commit 7ad17a25f4dfc81427df54d5c855b40b4472d517.
2015-01-09 19:07:55 +01:00
sapier
0e9c28d32b Remove automatic consistent formspec size <-> font size (now has to be done manually)
Set builtin formspecs to autoscale in order to get consistent formspec look and feel
Uncouple label positioning from font size (May break some formspecs but is required to allow manual font adjustment)
2015-01-09 18:46:24 +01:00
Craig Robbins
63c19610dc Removed superfluous facedir check in mapblock_mesh.cpp 2015-01-10 02:06:33 +10:00
Kahrl
cb626ae5b5 Fix logic of checkbox formspec element validity checking 2015-01-09 16:57:54 +01:00
sapier
3bba80cbc2 Fix memory leaks due to messed up memory handling for particles as well as their spawners 2015-01-09 15:23:49 +01:00
sapier
5d689693ae Split gui_scaling to gui_scaling + hud_scaling as those elements need different handling on some devices 2015-01-09 14:31:33 +01:00
Craig Robbins
01d53b1b6c Fix facedir > 23 causes segfault in client
See issue #2017
Applied kahrl's gist
2015-01-09 15:42:03 +10:00
sapier
3a684fb836 Switch default scaling factor to 0.75 as most ppl seem to have 96dpi screens instead of previous assumed 72 2015-01-09 00:37:02 +01:00
ShadowNinja
37371ed843 Remove included SQLite3 2015-01-08 16:34:42 -05:00
sfan5
0511bd48a0 Add SQLite3 libraries to buildbot 2015-01-08 16:34:42 -05:00
paramat
3453394f89 Return step smoothing value to 23 2015-01-08 15:06:28 +10:00
kwolekr
883c98f953 Mapgen V6: Re-enable liquid flowing 2015-01-07 19:27:09 -05:00
rubenwardy
056427477e Fix direction property of HUD 2015-01-07 20:51:47 +01:00
sapier
fbca8ce3fd Fix emerge thread not cleaning up emerge queue on shutdown 2015-01-07 12:19:48 +01:00
sapier
066159c108 Fix andorid build error 2015-01-07 00:10:21 +01:00
sapier
4a991f98c6 Implement X11 dpi autodetection 2015-01-06 22:41:07 +01:00
sapier
0bf6a77c3b Fixes for android
Copy only minetest_game to apk by default
Don't copy .git and .svn folders to apk
Fix bouncing asset copy scrollbar due to long filepaths
Reenable font scaling to fix broken menu on high dpi screens
Implement minetest loglevel to android loglevel mapping
Disable touch digging while moving around
2015-01-06 16:13:39 +01:00
Craig Robbins
fa3053f3de Prevent client crashing if an NDT_AIRLIKE node is dropped
The player dropping the node can either be themselves or another player (i.e. without this fix you can crash other people's clients)
Thanks CWz for reporting the issue
2015-01-05 22:55:02 +10:00
kwolekr
02e06b423e Shorten ManualMapVoxelManipulator to MMVManip 2015-01-05 02:42:27 -05:00
kwolekr
97c7e9a5f6 Optionally specify propagateSunlight area in calcLighting
This fixes the Mapgen V5 calcLighting segfault
2015-01-05 01:20:36 -05:00
kwolekr
c659967d1c Exclude vertical mapblock borders when setting light 2015-01-04 23:14:16 -05:00
kwolekr
07dc5f4f34 NodeDef: Clear NodeResolver related entries too in clear() 2015-01-04 22:39:57 -05:00